ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCallum" <gho...@xtra.co.nz>
Subject RE: Feature Request: Ant batching support
Date Thu, 08 Mar 2001 19:35:49 GMT
> On 8 Mar 2001, at 9:25, Stephane Bailliez wrote:
>
> > -----Original Message-----
> > From: Michael McCallum [mailto:michael@spinsoftware.com]
> 
> > Why not put all the third party paths into some a propeties 
file...
>
> > thirdparty.lib.xalan=/path/to.jar
> 
>>  And then include this file in all the module build files 
> > using <property 
> > file="/path/to/lib.properties"/>
> It does not work since all your properties are absolute. How do     
> you manage to do that under Windows AND Unix at the same   
> time ? We are using Clearcase and any view can be mounted to 
> any drive.
> We can have (and we have) several views mounted at the same  
> time.
> And as I said some projects have different deepness level.

Easy as pie the property file gets loaded from the users home 
directory. They define the libraries in a platform specific manner.

Although you could specify a platform only in the users file and 
load the the appropriate shared file.

eg 
--begin user file--
user.os=unix
src.dir=/path/to/src/dir
--end user file--

-- begin shared file --
<property name="settings.file" 
value="${src.dir}/path/to/${user.os}/thirdparty.properties/>
<property file="${settings.file}"/>
-- end shared file--

Michael

P.S. Please send plain text email.
@see http://jakarta.apache.org/site/mail.html
@also http://jakarta.apache.org/site/micromail.html



--- BEGIN GEEK CODE BLOCK ---
Version 3.12
GCS d+(-) s:- a-- C++(+++)$ UL++++(H)(S)$ P+++$ L+++$>++++
E--- W++ N++ o++ K? !w() O? !M V? PS+ PE+++ Y+ t+ 5++ X++ 
R(+) !tv b++(++++) D++ G>++ e++> h--()(*) r+ y+()
--- END GEEK CODE BLOCK ---

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


Mime
View raw message