ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <>
Subject ant-call is evil and should be deprecated in "parallel" ANT.
Date Mon, 19 Mar 2001 05:43:31 GMT

  even if the semantics of <ant-call> is modified to avoid a possibility 
for some targets to be executed twice, it still will prevent ANT from 
executing targets in parallel. In the following example targets "clean" and 
"build" can be executed simultaneously.

<project name="test" default="build2">
<target name="clean"/>
<target name="build"/>
<target name="clean-build">
  <antcall target="clean"/>
  <antcall target="build"/>
<target name="build2" depends="build,clean-build"/>

The real dependencies can be more complex.

  Alexey N. Solofnenko.

View raw message