Saturday, 5 November 2016

What is the difference between target and task in ant?

Q. 76. What is the difference between target and task in ant?

Targets contain one or more tasks.

Another fundamental difference is that when you run ant you indicate a target (not atask) to be executed. So, when you call ant via command line, you specify ant[options] [target] . If you don't specify the target, the one indicated as default in your build file (build.xml) is executed.

No comments:

Post a Comment

Tricks and Tips