ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: how to detect relative or absolute path value
Date Wed, 31 Aug 2005 16:22:39 GMT
Please explain exactly what you are trying to do in
terms of Ant XML; i.e. provide an example.

-Matt

--- sten.rosendahl@sungard.com wrote:

> Well, I've tried location but even if the input
> property is an absolute
> path like /usr/tmp, Ant will append basedir and
> create a property
> /my/basedir/usr/tmp. I'm using Ant 1.6.2 on Linux.
> 
> Sten
> 
> -----Original Message-----
> From: Burgess, Benjamin
> [mailto:BBurgess@tiaa-cref.org] 
> Sent: Wednesday, August 24, 2005 7:12 PM
> To: Ant Users List
> Subject: RE: how to detect relative or absolute path
> value
> 
> Instead of using value, use location for the
> property and it should
> convert it o an absolute path automatically.
> 
> Ben
> 
> -----Original Message-----
> From: sten.rosendahl@sungard.com
> [mailto:sten.rosendahl@sungard.com]
> Sent: Wednesday, August 24, 2005 1:10 PM
> To: user@ant.apache.org
> Subject: how to detect relative or absolute path
> value
> 
> 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
> 
> 
> 
>
**************************************************************
> This message, including any attachments, contains
> confidential
> information intended for a specific individual and
> purpose, and is
> protected by law.  If you are not the intended
> recipient, please contact
> sender immediately by reply e-mail and destroy all
> copies.  You are
> hereby notified that any disclosure, copying, or
> distribution of this
> message, or the taking of any action based on it, is
> strictly
> prohibited.
> TIAA-CREF
>
**************************************************************
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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


Mime
View raw message