Hello Peter, this is an example: <project name="test"> <target name="clean"/> <target name="build"/> <target name="clean-build"> <antcall target="clean"/> <antcall target="build"/> </target> <target name="test" depends="clean,build,clean-build"/> </project>
execute "ANT test" output: ======================== Searching for build.xml ... Buildfile: D:\TEMP\build.xml clean: build: clean-build: clean: build: test: BUILD SUCCESSFUL Total time: 3 seconds ==================== "clean" and "build" tasks were called twice! Sincerely, Alexey Solofnenko. ----- Original Message ----- From: "Peter Donald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 8:03 PM Subject: Re: [ANN] Collecting requirements for Ant2 ... > > I am not sure I get you but is > > <target name="clean-build" depends="clean;build"/> > > is identical in functionality to > > <target name="clean-build"> > <antcall target="clean"/> > <antcall target="build"/> > </target> > > and if so would the bottom suffice (or should I add your request to > features request list???). > > Cheers, > > Pete > > *-----------------------------------------------------* > | "Faced with the choice between changing one's mind, | > | and proving that there is no need to do so - almost | > | everyone gets busy on the proof." | > | - John Kenneth Galbraith | > *-----------------------------------------------------* >
