• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO Maven getting started
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >WO Maven getting started (From: Ramsey Gurley <email@hidden>)
 >Re: WO Maven getting started (From: Henrique Prange <email@hidden>)
 >Re: WO Maven getting started (From: Ramsey Gurley <email@hidden>)
 >Re: WO Maven getting started (From: G Brown <email@hidden>)
 >Re: WO Maven getting started (From: Ramsey Gurley <email@hidden>)
 >Re: WO Maven getting started (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: WO Maven getting started
  • Next by Date: Re: WO Maven getting started
  • Previous by thread: Re: WO Maven getting started
  • Next by thread: Re: WO Maven getting started
  • Index(es):
    • Date
    • Thread