ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Pearlman Spencer" <Alan.PearlmanSpen...@Mobileaware.com>
Subject RE: generating absolute paths from relative ones...
Date Tue, 27 Nov 2001 13:48:59 GMT
Thanks!
Alan.

-----Original Message-----
From: Peter Donald [mailto:peter@apache.org]
Sent: 27 November 2001 09:32
To: Ant Users List
Subject: Re: generating absolute paths from relative ones...


On Tue, 27 Nov 2001 20:37, Alan Pearlman Spencer wrote:
> Hello,
> I have a general problem where I have 2 build.xml files in different
> directories.
> One passes the other directory names for it to do it's job, but all
the
> paths I have
> are relative and when I pass them from one to the other which have
> different
> basedirs I get a problem.
> Is there a way I can convert a relative path to an absolute one when I
> don't have any absolute
> paths?

look at location attribute of property

> I thought PathConvert might help, but it does not look like it.
> I need to use something apart from string concats as I usually do.
>
> Any ideas would be very welcome...
>
> Thanks,
> Alan.
> 		Alan Pearlman-Spencer
> 		MobileAware Ltd.
> 		3225 Lake Drive,
> 		National Digital Park,
> 		CityWest Business Campus,
> 		Dublin 24.
> 		Ireland.
> 		Phone: +353 (0)1 2410 500
> 		Fax: +353 (0)1 2410 501

-- 
Cheers,

Pete

Duct tape is like the force.  It has a light side, and a dark side, and
it binds the universe together ...
                -- Carl Zwanzig

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

Mime
View raw message