A property is just a string. It may or may not be a file name. You can try the <makeurl> task to see if that will put the full path to a file.

This type of task isn't all that simple and requires some assumptions about the OS. I always prepend file and directory names in my ant script with ${dirname}.

--
David Weintraub
da...@weintraub.name
Sent from my iPhone while riding in my Ferrari. (Jealous?)

On Oct 1, 2009, at 2:18 PM, Raja Nagendra Kumar <nagendra.r...@tejasoft.com > wrote:


How to echo the absolution location of a property..

say        <echo message="Digitally Sign the Midlet using keyStore
'${keyStore}'"/>

should print the abosolute path of the key store file even if the value
stored is ./build/tejasoft/keystore.ks etc.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
View this message in context: 
http://www.nabble.com/properties-echo-with-absolute-values-tp25704095p25704095.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to