Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the difference between AntCall and Ant tasks?

Tags:

People also ask

What is an Ant task?

Ant tasks are the units of your Ant build script that actually execute the build operations for your project. Ant tasks are usually embedded inside Ant targets. Thus, when you tell Ant to run a specific target it runs all Ant tasks nested inside that target.

What is Antcall target?

When a target is invoked by antcall , all of its dependent targets will also be called within the context of any new parameters. For example. if the target doSomethingElse ; depended on the target init , then the antcall of doSomethingElse will call init during the call.

What is the difference between target and task?

Online documentation and books say that target is a stage of the entire build process, while task is the smallest unti of work.

What is Ant call?

Description. Call another target within the same build-file optionally specifying some properties (param's in this context) By default, all of the properties of the current project will be available in the new project.


Is there any substantial difference between the AntCall task (described here) and the Ant task (described here), except for the fact that Ant task runs on a different build file?