I was thinking about a command line argument when you launch the application.

Does -propertyfile work for launching an web app and having it load that Properties file.

Thanks Mike
Ricardo



On Jul 22, 2009, at 12:28 PM, Mike Schrag wrote:

yeah definitely --

ant -propertyfile some/other/wolips.properties

this is the only way i build

ms

On Jul 22, 2009, at 12:23 PM, Ricardo J. Parada wrote:


Can you specify a Properties file from the command line, i.e. - argument /a/path/to/my/Properties ?


On Jun 25, 2009, at 10:36 AM, Mike Schrag wrote:

As you saw u can use Properties.<username> for specific user configurations. This same feature can be used for configurations too, for example have a deployment config file named Properties.deploy and then in the WOMonitor args, simply put
-Duser.name=deploy
you can also do Properties.dev, which will get loaded for everyone in development mode (so you can make properties for all developers)

and there is /etc/WebObjects/YourAppName/Properties that is actually the preferred way (IMO) of doing deployment properties ... user.name is convenient, but it always felt a little dirty.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com

This email sent to rpar...@mac.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to