ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Martin <>
Subject Re: Escaping ant property values
Date Thu, 09 Dec 2004 11:56:21 GMT
Jacob Kjome <> writes:

> Quoting Matt Benson <>:
> This is not mentioned in the FAQ, but this can also be done in a properties file
> as follows...
> Maybe one of the committers can add it to the FAQ?

 So your solution:

<script language="javascript">
    propname = project.getProperty("my.server");
    project.setNewProperty("", propname + ".auto-deploy");

 I have my own Ant task to do the job I'm using everyday long. I called it
 "ExtendedProperty". That task works like AntContrib "var", I mean an existing
 property is replaced, and the value is interpreted with a stack. So it is not
 limited to two level of evaluation.  As it was developped for my job, it
 cannot be published yet.

Yves Martin

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

View raw message