ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Han" <rich...@bitonic.com>
Subject Re: [ANT]/exec/arg/line
Date Wed, 12 Dec 2001 16:54:49 GMT
Thank you Russ! It does help.

richard

----- Original Message ----- 
From: "Russ Fink" <russfink@hotmail.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, December 12, 2001 4:47 PM
Subject: Re: [ANT]/exec/arg/line


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


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