rickygrimes
rickygrimes

Reputation: 2716

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?

Upvotes: 0

Views: 1961

Answers (2)

Karpinski
Karpinski

Reputation: 157

Right click on the build.xml > Run As > Ant Build...

On Targets tab, check clean option.

Upvotes: 0

Alcanzar
Alcanzar

Reputation: 17155

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

Upvotes: 2

Related Questions