ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Fink" <russf...@hotmail.com>
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 
>line="-Dsecurity.database.name=${scarab.database.prop.name} 
>-Dscheduler.database.name=${scarab.database.prop.name}
>install-jar"/>
>         </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.

HTH,
Russ


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
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