ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EXT / FOCAL MALAPRADE Roland <ext.focal.malapr...@sncf.fr>
Subject RE: Composite Properties
Date Mon, 18 Nov 2002 09:15:39 GMT
Have a look at the <propertycopy> task of ant-contrib at :
http://ant-contrib.sourceforge.net/ant-contrib/manual/tasks/index.html

Roland.

> 
> Not easily.  The way I've done it in the past is:
> 
> 1) echo "$name.jar.path" to a temp file.
> 2) use loadfile with an ExpandProperties filter on it to load 
> the contents 
> of the file into a variable. This variable will contain the 
> value of the 
> expression you want
> 3) delete the temp file.
> 4) use the variable you have loaded...
> 
> Hope this helps,
> -Ben
> 
> At 04:28 PM 11/15/02 -0800, Nau, Michael wrote:
> >Is there anyway to specify a composite property? For example:
> >
> ><property name="name" value="exception"/>
> ><property name="exception.jar.path" value="D:/lib/exception.jar"/>
> >
> >"${ ${name} .jar.path}"
> >
> >
> >
> >
> >
> >
> >
> >--
> >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>
> 

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