ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: fail-safe O/S-dependent operations idiom?
Date Fri, 19 Jul 2002 14:35:30 GMT
She's not being picky, but letting you know it's better to use

<property name="ant_loc" location="..." />

because whatever you put in 'location' is resolved relative to the project's
'basedir' a relative path is specified, or left absolute when it's absolute.

You can then use

<property name="srcdir" location="src" />

to refer to ${basedir}/src. --DD

-----Original Message-----
From: Mike Cepek [] 
Sent: Friday, July 19, 2002 9:30 AM
To: Ant Users List
Subject: RE: fail-safe O/S-dependent operations idiom?

>> <property name="ant_loc" value="${my_dir}"/>
> When setting locations, you should use the 'location'
> attribute.

Ummm, I'm not sure what you're saying.  Use 'location' instead of
'ant_loc'?  Why so picky?

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

View raw message