Re: How to create a non-web EOF application
Re: How to create a non-web EOF application
- Subject: Re: How to create a non-web EOF application
- From: John Huss <email@hidden>
- Date: Fri, 25 Apr 2014 09:56:29 -0500
In your main method do this:
ERXExtensions.initApp(Application.class, new String[0]);
OR this
ERXExtensions.initEOF(new String[0]);
Having an Application class is weird since you don't need it, but there are a few places where things can break if WOApplication.application() returns null. I'd start with the initEOF call and switch to initApp if it blows up.
_______________________________________________
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