ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <stre...@healthlanguage.com>
Subject Re: exec task args
Date Tue, 19 Jun 2001 00:23:45 GMT
If you're defining both some.path and some.value using -D flags to ant,
then what you wrote should work fine.  Can you be a little more detailed
on what you want to accomplish?

Ruby John wrote:
> 
> How do I get property or path variables to be expanded  when passing
> arguments to a <exec> task?
> 
> Seems it is being passed as a literal.
> 
> I am giving these as "-D" parameters to ant trying to pass them on to
> another program.
> 
> Thanks for your help.
> 
>     <exec dir="." executable="some.exe">
>       <arg path="${some.path}"/>
>       <arg value="${some.value}"/>
>     </exec>

-- 
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering

Health Language, Inc.  -- "We speak the language of healthcare"

970/626-5028 (office)           mailto:streepy@healthlanguage.com
970/626-4425 (fax)              http://www.healthlanguage.com

Mime
View raw message