ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject should ant 'id' value be a static string
Date Fri, 18 Dec 2009 12:37:27 GMT


I am trying to set the path property id to be dynamic i.e id is
app.${}.sp where value should be taken the the final path
id should be app.tejasoft.sp.

However the echo says that path not found.

Is it expected that path id's or any ids to be always static.. Are I am
doing any thing wrong here..


<property name="" value="tejasoft"/>

<path id="app.${}.sp">
    <pathelement path="${src}"/>
    <pathelement location="c:/temp"/>

<path id="app.nag.sp">
    <pathelement path="${src}"/>
    <pathelement location="c:/temp"/>

<echo message="${toString:app.${}.sp}"/>
<echo message=" defined one : ${toString:app.tejasoft.sp}"/>
<echo message="not referenced one : ${toString:app.nag.sp}"/>


Raja Nagendra Kumar,
View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message