Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.