Search code examples
javaant

How to run `ant clean` from Eclipse


Like I can run an ant build by right-clicking on build.xml, and selecting Run as --> Ant build, how do I do the same thing for ant clean?


Solution

  • Window/Show View/Ant, drag build.xml into that window, and you can double click on any of the tasks defined in your build.xml