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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com

This email sent to [email protected]

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

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to