This is how I understood it from Peter's email a while back: Running default 'test' target (: pre1 innerpre1 (simple up to now ;-) LOGINFO (pre1 skipped, as already executed) pre2 LOGINFO (innerpre1 skipped, as already executed) innerpre2 c test-before LOGINFO (c skipped, as already executed) test-after
Like I said before, Peter said a full static analysis of the dependency graph was performed as usual, and the notation only removed the need for a bunch of intermediate targets. Peter, please correct me if I'm quoting you incorrectly, or saying anything stupid... It wouldn't be the first time ;-) Hope this helps. --DD -----Original Message----- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:24 PM To: Ant Users List Subject: Re: Maintaining dependencies across antcalls Dominique Devienne wrote: > Replicating Peter's proposal? Great!!! > I'm having problems in defining what targets should run. In this case, what is the target run sequence? <?xml version="1.0"?> <project default="test" basedir="." name="test"> <target name="pre1"> <echo message="pre1"/> </target> <target name="pre2"> <echo message="pre2"/> </target> <target name="test" depends="pre1,innerpre1,test2"> </target> <target name="test2" depends="pre1,pre2,c"> <echo message="test-before"/> <depends target="c"/> <echo message="test-after"/> </target> <target name="c" depends="innerpre1,innerpre2"> <echo message="c"/> </target> <target name="innerpre1"> <echo message="innerpre1"/> </target> <target name="innerpre2"> <echo message="innerpre2"/> </target> </project> -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
