ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Li" <vincent...@starcite.com>
Subject Hi, Ant dev, I have questiones on multiple run Target
Date Tue, 25 Dec 2007 08:48:50 GMT
Hi Ant dev,

 

I found Ant can't run a target multiple times, a small example is
followed, could you please hint me how to make it work??

 

Source Code:

<project name="11" default="all" basedir=".">

      <target name="all" depends="aaaa, bbbb, aaaa, bbbb" />

      

      <target name="aaaa">

            <echo message="aaaaa" />

      </target>

      

      <target name="bbbb">

            <echo message="bbbbb" />

      </target>

</project>

 

Output:

      Buildfile: D:\test.xml

aaaa:

     [echo] aaaaa

bbbb:

     [echo] bbbbb

all:

BUILD SUCCESSFUL

Total time: 234 milliseconds

 

What I am expecting is that both "aaaaa" and "bbbbb" should shown twice,
how can I achieve this?

Looking forward for your reply,

 

 

 

Thanks

Vincent

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message