Hello Dominique, Thanks, that looks like it will work. Where do I find <subant>? I've heard of the <foreach2> task. Is that the same or different?
BTW, thanks so much for the <jaxb> task you wrote. :-) Very nice. Are you making any updates or anything to it? Just wondering in case JAXB changes and requires the task to be modified to fit it or something. Jake Monday, December 02, 2002, 4:13:23 PM, you wrote: DD> Have you tried a recent build from CVS HEAD? Stefan has probably fixed DD> that!?!? As a work around for Ant 1.5.1, I use a property to avoid DD> re-taskdef'ing in the sub-build: DD> --- master.xml --- DD> <target name="init" depends="-buildmagic"> DD> ... DD> </target> DD> <target name="-buildmagic" unless="-buildmagic-defined"> DD> ... DD> <property name="-buildmagic-defined" value="true" /> DD> </target> DD> <target name="clean" depends="buildfiles, buildpath" DD> description="Deletes all the modules' compiled classes"> DD> <subant buildpathref="buildpath"> DD> <property name="-buildmagic-defined" value="true" /> DD> </subant> DD> </target> DD> --- subbuild.xml --- DD> <target name="init" depends="-buildmagic"> DD> ... DD> </target> DD> <target name="-buildmagic" unless="-buildmagic-defined"> DD> ... DD> <property name="-buildmagic-defined" value="true" /> DD> </target> DD> <subant> is nothing more than <foreach> and <ant> joined at the hip. DD> This technique got me rid of the re-reference warnings. --DD DD> -----Original Message----- DD> From: Jacob Kjome [mailto:[EMAIL PROTECTED]] DD> Sent: Monday, December 02, 2002 4:06 PM DD> To: Ant Users List DD> Subject: Re[2]: Best practice for numerous javac calls? DD> [DD] <snip/> DD> Any solutions to that? DD> Jake DD> -- DD> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> DD> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Best regards, Jacob mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>