• 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: plain jar utility app, with wonder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plain jar utility app, with wonder?


  • Subject: Re: plain jar utility app, with wonder?
  • From: William Hatch <email@hidden>
  • Date: Fri, 06 Feb 2009 10:20:45 -0500

Quick follow up:

This didn't work; properties not getting picked up still, but the app does run

-Der.extensions.ERXProperties.OptionalConfigurationFiles=/some/path/ some.properties

Bummer, I thought this would have definitely worked. So, back to the previous question: what's the path inside the jar that the properties files should be located?

On Feb 6, 2009, at 1:43 AM, William Hatch wrote:

Yeah, that was the first thing I did, and the jar task is pretty barebones. I mean it works fine, but the wonder init stuff did not pick up the properties files with the out of the box configuration. I had to customize it to get it to include all the referenced jars, set the classpath entry in the manifest and so on. I was just wondering where the properties are expected to be in this situation, or, if there's a way I can pass their location. I'm about to try passing the er.extensions.ERXProperties.OptionalConfigurationFiles as an argument and then just keep them all externally, which would be fine. Thanks Richard.

Bill



On Feb 5, 2009, at 11:38 PM, Richard Stephens wrote:

Have you tried starting from the "Jar Project" template in WOLips?

--
Regards,
Richard Stephens
Ph: 07 3136 3426
Mob: 0410 111 570
Email: email@hidden

On 06/02/2009, at 12:38 PM, William Hatch wrote:

Got the basics compiling using first method. Any advice on how this needs to get packaged into the jar? Is there someway I can specify the paths to the properties file, or do I need to create the .woa/Contents/Resources and stash them in there? So far, I used the fat jar plug in, which handles the boot loader class so the app runs, but that's about as far as I've gotten so just thought I'd ask before going too far down the wrong road. Thanks.
On Feb 5, 2009, at 10:39 AM, John Huss wrote:


You can also use ERXExtensions.initApp or ERXExtensions.initEOF

John

On Thu, Feb 5, 2009 at 12:30 AM, Anjo Krank <email@hidden> wrote:
The easiest thing is to use ERXMainRunner.

Cheers, Anjo

Am 04.02.2009 um 23:05 schrieb William Hatch:

I'd like to create a really simple app that has no UI requirements, just something that processes data basically. I'd like to use EO and Wonder. I'm thinking somebody's already done this, so was hoping for some gotcha's, pointers, info and the like. In particular, I'm wondering (pardon the pun) how I'd ensure that any required set up by erextensions happens during my main method or wherever, whether you bundle everything in using jars or frameworks, and then if there's anything special you have to look at being that we don't have the R-R loop going on. Thanks.

Bill



_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: plain jar utility app, with wonder?
      • From: Mike Schrag <email@hidden>
References: 
 >plain jar utility app, with wonder? (From: William Hatch <email@hidden>)
 >Re: plain jar utility app, with wonder? (From: Anjo Krank <email@hidden>)
 >Re: plain jar utility app, with wonder? (From: John Huss <email@hidden>)
 >Re: plain jar utility app, with wonder? (From: William Hatch <email@hidden>)
 >Re: plain jar utility app, with wonder? (From: Richard Stephens <email@hidden>)
 >Re: plain jar utility app, with wonder? (From: William Hatch <email@hidden>)

  • Prev by Date: Re: Custom attribute class conversion in entity modeler
  • Next by Date: Re: WO 5.4 - can I multi-thread a WO app that uses EOF
  • Previous by thread: Re: plain jar utility app, with wonder?
  • Next by thread: Re: plain jar utility app, with wonder?
  • Index(es):
    • Date
    • Thread