ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Small <>
Subject How can I have Ant replace unset properties as just empty string
Date Thu, 28 Mar 2002 18:35:33 GMT
Is there any special syntax for having ant replace an empty string when a
property referred in a build file has not been set? Currently if you put
${prop} into a build file (in a target param suppose) and it has not been
set it actually passes '${prop}' as the attribute value. I need it to just
put ''.

In velocity for example there is a syntax $!prop that will do this, is there
any similar thing in Ant.

Thanks in advance.


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

View raw message