ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebastian ssmoller <sebastian.ssmol...@gmx.net>
Subject <ant/> properties
Date Wed, 11 Aug 2004 11:41:50 GMT
hi,
another short question concerning <ant/> and properties .... :)

passing properties to the new project using this code snippet 

<ant ...>
	<property file="local.properties"/>
</ant>

all these properties in the "local.properties" are evaluated in the
context of the new project right?  

so a property like "deploy=${basedir}/deploy" in the
local.properties will be set relative to the basedir to the new project
rather than to the old one  - correct ?

and if i want to behave <ant/> the other way round (deploy relative to
the basedir of the calling project) i have to add all these properties
manually like this: 

<ant>
	<property name="deploy" value="${basedir}/deploy"/>
</ant>

is this the only way ? did i miss something ?


thx 
regards,
seb

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


Mime
View raw message