If you 

cd ?../Frameworks then 

find . -name Properties -exec cat {} \; >>SuperProperties

you should have all the framework properties in the SuperProperties file, 
bypassing any Properties issues with jar vs file frameworks.

Also, you may want to use JarResourceRequestHandler to get resources out of 
jars. Google it. https://gist.github.com/hprange/1068523

You must register it in the main App:

if (isDirectConnectEnabled()) {
                           
                              registerRequestHandler(new 
JarResourceRequestHandler(), "wr");
                           
                        }

I think everybody except Wonder can work with and read properties in jars, so 
you don’t need to put them as command line arguments.



G Brown
[email protected]




On Sep 17, 2015, at 7:33 PM, Ramsey Gurley <[email protected]> wrote:

> Strike the second part of that question. deployment would be war, and those 
> are exploded out, so it presumably would work there.
> 
> On Sep 17, 2015, at 3:28 PM, Ramsey Gurley <[email protected]> wrote:
> 
>> So I need to copy all the properties from all the frameworks into my app’s 
>> properties file? And in production, if I compile to a jar, I then need to 
>> list all the properties as command line arguments?
> 


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

This email sent to [email protected]

Reply via email to