Pure EOF and gwt
Pure EOF and gwt
- Subject: Pure EOF and gwt
- From: Pierre Gilquin <email@hidden>
- Date: Thu, 18 Jul 2013 09:39:04 +0200
Hi all,
I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data.
in the init I did :
String pathToModel = getServletContext().getRealPath("/Resources/MyModel.eomodeld");
EOModelGroup.defaultGroup().addModelWithPath(pathToModel);
ec = ERXEC.newEditingContext();
and it works perfectly in dev mode.
When copy in Tomcat, the initialization of eof is not correct so I had :
ERXExtensions.initEOF(new File("/Resources"),new String[0],false,false,true);
without success.
Is there a way to init EOF outside of a standard wonder wo app ?
May be it's related to properties, how can I force to use my properties file inside the WEB-INF directory ?
Thinks in advance
Pierre
_______________________________________________
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