ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Fink" <>
Subject Re: [ANT]/exec/arg/line
Date Thu, 01 Jan 1970 00:00:00 GMT
>  <target name="build-fulcrum">
>         <exec executable="ant" dir="${fulcrum.dir}">
>             <arg line="clean"/>
>         </exec>
>         <exec executable="ant" dir="${fulcrum.dir}">
>             <arg 
>         </exec>
>     </target>

I think you want to use the <ant> target:
<ant antfile="build.xml" target="clean">

The docs say that properties in your build.xml will propagate through to 
other build.xml's.

The problem with the way you're doing it (besides that there's a specific 
feature to do this exact thing) is maybe that it can't find the classpath.  
I dunno, that's only a guess.


Chat with friends online, try MSN Messenger:

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

View raw message