ant-dev mailing list archives

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

  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>
<target name="build2" depends="build,clean-build"/>
</project>

The real dependencies can be more complex.

Sincerely,
  Alexey N. Solofnenko.


Mime
View raw message