Re: Properties file vs Additional Arguments
Re: Properties file vs Additional Arguments
- Subject: Re: Properties file vs Additional Arguments
- From: Pascal Robert <email@hidden>
- Date: Wed, 02 May 2012 09:25:14 -0400
Le 2012-05-02 à 09:15, James Cicenia a écrit :
> Hello -
>
> My client has a new server over at rackspace and I have it ready to fire up.
> However, my additional arguments for pointing at the database are not
> overriding the Properties file.
>
> I thought they were supposed to, are they not?
>
> Otherwise, is there a way to tie a Properties file to the server in deployment?
> Something like Properties.user which I use in development.
.user is an convention. For example, for wocommunity, I use Properties.prod and in the arguments for the apps, I use -Duser.name prod
You can also use the properties in /etc/WebObjects, so if your app is called MyApp, the properties will need to be in /etc/WebObjects/MyApp/Properties
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden