Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ant and ant clean all?

Tags:

ant

Difference between ant and ant clean all ?

please can any one expain clearly when to use ant and ant clean all.

C:>ant

c:>ant clean all

like image 599
user3427658 Avatar asked Sep 19 '14 04:09

user3427658


1 Answers

"ant" runs the default target of the project.

"ant clean all" runs the clean target with parameter all.

The exact function depends on your definition of those targets. Generally speaking people use clean to clean up and have a fresh start, and default to rebuild the project, but again all depend on the way those targets are defined in the build file.

like image 200
Peter Pei Guo Avatar answered Sep 19 '22 05:09

Peter Pei Guo