ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: Maintaining dependencies across antcalls
Date Tue, 03 Sep 2002 22:23:44 GMT

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                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message