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 protected]/msg19327.html
>
> The bug was visibly fixed in 5.4, has someone a workaround for it for WO 5.3
> ?
>
> Thanks
>
> Regards
>
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/f.jecker%40symaris.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]