ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <trela...@pacbell.net>
Subject Re: [ANN] Collecting requirements for Ant2
Date Fri, 16 Mar 2001 06:04:11 GMT
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" <donaldp@apache.org>
To: <ant-dev@jakarta.apache.org>
Cc: <ant-dev@jakarta.apache.org>
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               |
> *-----------------------------------------------------*
> 


Mime
View raw message