-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 8:36 AM
To: user@ant.apache.org
Subject: AW: setting properties

/*
> I created an ant wrapper that calls the build.xml. The issue I have is
> that the build.xml call a user.properties and overrides the 
> values I set for the environment.

Properties are immutable so once set further overridings are ignored.
Properties which are passed from the command line with -D are set first.

> Each developer has everything mapped to a d: drive, i.e. ant,
weblogic,
> etc.  I want it to use my values for my build server. 
*/

i guess he asks for user specific propertyfiles.

maybe like that =

use the ant builtin properties ${user.home} or ${user.name}

${user.home}, put the user.properties in home directory
<property file="${user.home}/user.properties"/>

${user.name}, create a propertyfile for every user
<property file="${user.name}.properties"/>

this will load the user specific propertyfiles

Regards, Gilbert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to