Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
target overriding in ant 1.5.4

target overriding in ant 1.5.4

2004-02-12       - By Mariano Benitez

Hi!

   I have the following structure: I have a main build.xml that calls
modules builds with <ant antfile="......" target="..."> inside each  
build I have a <target name="copy-files">....</target>, and some other
targets that use <antcall target="copy-files"/>.


   What I have discovered is that every time y use <antcall> in the
nested builds the target executed is not the one in the same buildfile,
but the first one defined.

   Is that the desired behaviour? how can I invoque the target in the
same buildfile?

MAriano


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.