Re: WO Maven getting started
Re: WO Maven getting started
- Subject: Re: WO Maven getting started
- From: G Brown <email@hidden>
- Date: Fri, 18 Sep 2015 08:50:55 -0400
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@hidden
On Sep 17, 2015, at 7:33 PM, Ramsey Gurley <email@hidden> 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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden