ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: how to detect relative or absolute path value
Date Wed, 24 Aug 2005 17:13:33 GMT
Have you tried <property name="path" 
location="${another.path.property}"/>? In that case "path" property will 
have an absolute path of another.path.property.

- Alexey.

sten.rosendahl@sungard.com wrote:
> My Ant script needs to know if a property value is a relative or
> absolute path in order to decide if to prepend a root path or not. Can
> Ant do this without custom tasks?
>
> Sten Rosendahl
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>   

-- 
------------------------------------------------------------------------
/ Alexey N. Solofnenko
MDL Information Systems, Inc.
work: 510-357-2222x1726
home: http://trelony.cjb.net/
/

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


Mime
View raw message