Re: plain jar utility app, with wonder?
Re: plain jar utility app, with wonder?
- Subject: Re: plain jar utility app, with wonder?
- From: William Hatch <email@hidden>
- Date: Sat, 07 Feb 2009 12:58:46 -0500
On Feb 6, 2009, at 3:42 PM, Kieran Kelleher wrote:
For me, I have an optional file named "deploy-properties" that is
generated at runtime containing svn version, etc. The file is in my
apps Resources and this is how the property is configured and "it
works" without treating it as an NSArray property
## Optional properties to load
er
.extensions.ERXProperties.OptionalConfigurationFiles=deploy.properties
I normally use this without treating the value as an array, but it's
also normally specified in one of the properties files that are
packaged in the app; not as a command line argument when launching by
hand. Actually, I'm pretty sure I found out about this on your site;-)
I tried it as Mike suggested, but still nothing. Kieran, just so I'm
clear, you're saying your generated file deploy.properties is included
in your Resources directory (normal, non web app jar like we're
talking about?) and you specify this as a command line argument using
the ....OptionalConfigurationFiles=...? If so, is your Resources
directory at the top level of your jar? Thanks for the responses, and
any clarification you can provide; very much appreciated.
On Feb 6, 2009, at 1:44 PM, Mike Schrag wrote:
This didn't work; properties not getting picked up still, but the
app does run
-Der.extensions.ERXProperties.OptionalConfigurationFiles=/some/
path/some.properties
I think this property expects an NSArray rather than a string ...
try ("/some..")
ms
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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