RE: Specifiying user properties file

2005-11-05 Thread Jeffrey E Care
You can also use the fact that Ant creates implicit properties from the Java system properties and do something like this: This will load the user's specific properties file from their home directory. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build T

Re: Specifiying user properties file

2005-11-05 Thread Ray Tayek
At 04:42 PM 11/5/2005, you wrote: I'm trying to set up a situation where my users can specify a properties file where they can set properties specific to their machines. ... properties are immutable so something like: ... whoever defines a property

RE: Specifiying user properties file

2005-11-05 Thread Bill Rich
Ahh, but is even better to take advantage of the fact that properties are immutable. For example, I have a file called user.properties that contains some default property settings. If the user does not want to use them then she just specifies a user name on the command line and the user.properties

RE: Specifiying user properties file

2005-11-05 Thread Lasher, James L
Mark You could either use the condition something like: Ant's immutability of properties will only set the userpropsdefine property to default.properties if user.properties does not exist. Also, if the userpropsdefine property was set within the condition it would not be re-set fo