• 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: EOModel problem with a maven packaged application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModel problem with a maven packaged application


  • Subject: Re: EOModel problem with a maven packaged application
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 6 Apr 2010 12:11:42 +1000

You could also try using Wonder and if the same problem persists create a patch for ERXEntity / ERXModel / ERXModelGroup.

On 31/03/2010, at 5:48 AM, Frédéric JECKER wrote:

> So, in case of someone is running into the same problem.
> Here is the quick and dirty fix I used :
> - Subclass EOModel
> - Override the entityNamed method (with the help of any decompiler tool) and add a String.replace ("\\", "/");
> - Register a handler for the EOModelGroup.modelAddedNotification in which you replace the EOModels added to the group by your EOModel subclass.
>
> Fred
>
> Le 30 mars 2010 à 15:49, Frédéric JECKER a écrit :
>
>> Hi,
>>
>> I'm facing the following problem while deploying a 5.3.3 maven packaged application on a windows server :
>>
>> [2010-03-30 14:40:04 CEST] <main> com.webobjects.foundation.NSForwardException for java.io.FileNotFoundException:
>> JAR entry Resources/PmsiAmb.eomodeld\Lieu.plist not found in C:\Apple\Local\Library\WebObjects\Applications\ApplicationCariatides.woa\Contents\Resources\Java\com\symaris\cariatides\frameworks\ObjetsMetierCariatides\6.1.0-SNAPSHOT\ObjetsMetierCariatides-6.1.0-SNAPSHOT.jar
>>        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
>>        at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
>>        at java.net.URL.openStream(URL.java:1010)
>>
>> The problem is linked to the search path of the plist file, which is mixing slashes and backslashes.
>> I found the following mail archive from the wodev mailinglist where Don Lindsay had the same problem.
>> http://www.mail-archive.com/email@hidden/msg19327.html
>>
>> The bug was visibly fixed in 5.4, has someone a workaround for it for WO 5.3 ?

with regards,
--

Lachlan Deck

 _______________________________________________
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

  • Prev by Date: Re: Strange problems with an D2W app
  • Next by Date: [OT] help moving server to new IP
  • Previous by thread: Re: Strange problems with an D2W app
  • Next by thread: [OT] help moving server to new IP
  • Index(es):
    • Date
    • Thread