ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <>
Subject RE: Property inheritance in a property file
Date Wed, 21 May 2003 12:57:20 GMT
You could build those string, but resolving the equation?...

if you're interested in string building, you can do this in a property file:
x = xxx
y = ${x}-yyy

then in the build.xml file:
<echo message="${y}">

You'd get:


And for math items, you might want to look at the PropertyFile task in the
optional task section....

-----Original Message-----
From: Roman Rytov []
Sent: Wednesday, May 21, 2003 2:45 AM
To: ''
Subject: Property inheritance in a property file

In a property file I define a property X, let's say X=x,. Then I need to
define Y and Z base on the next logic: Y=x/y and Z=x/z, or in other words:
Y=${X}/y and Z=${X}/z. 

I know how to do it in a build descriptor but Is there a way to do it in a
property file? 


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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message