I have a buildfile which takes different arguments for different kinds of resources in my project. For example, if I modified a JS file I must go to the console and type "ant js" to copy my changes to the running tomcat instance. Similarly, if the file type is CSS I must run "ant css".
Is there an easy way to tell eclipse to pass different arguments to ant for different kind of resources being modified? I tried creating a builder in the project properties > builders but it is not clear to me where I can specify which type of resource applies to a specific builder.
BTW, I'm using kepler
Thanks in advance!! (And sorry if this is too dumb of a question)