ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
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  name="pre2">
        <echo message="pre2"/>

     <target  name="test" depends="pre1,innerpre1,test2">

     <target  name="test2" depends="pre1,pre2,c">
        <echo message="test-before"/>
        <depends target="c"/>
        <echo message="test-after"/>

     <target  name="c" depends="innerpre1,innerpre2">
        <echo message="c"/>

     <target  name="innerpre1">
        <echo message="innerpre1"/>

     <target  name="innerpre2">
        <echo message="innerpre2"/>


Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message