I finally found some time to
look into this issue. It looks like WO5.4.3 has a wrong entry in Info.plist in JavaWOExtensions.framework.
This patch fixes it for me:
---
Library/Frameworks/JavaWOExtensions.framework/Resources/Info.plist 2012-09-18
17:34:44 -0400
+++
Library/Frameworks/JavaWOExtensions.framework/Resources/Info.plist.new
2012-09-18 17:35:24 -0400
@@ -32,7 +32,7 @@
<true/>
<key>NSJavaPath</key>
<array>
-
<string>JavaWOExtensions.jar</string>
+ <string>javawoextensions.jar</string>
</array>
<key>NSJavaPathClient</key>
<string>JavaWOExtensions.jar</string>
--
i5mast
From:
webobjects-dev-bounces+mstrumyla=email@hidden
[mailto:webobjects-dev-bounces+mstrumyla=email@hidden] On
Behalf Of Strumyla, Marius
Sent: Friday, July 27, 2012 11:07 AM
To: email@hidden
Subject: Issue with UNIXClassPath and JavaWOExtensions framework
Hello, I’m using Eclipse 3.7 + WOLips 3.7 on Windows. My app
has a reference to JavaWOExtensions framework.
I have noticed that WOLips puts a wrong entry into
UNIXClassPath (or any classpath):
WOROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
While this entry is good for WebObjects 5.2, it’s not valid
for WebObjects 5.4.
For WebObjects 5.4, the correct entry should be:
WOROOT/Library/Frameworks/
JavaWOExtensions.framework/Resources/Java/javawoextensions.jar
WOROOT/Library/Frameworks/
JavaWOExtensions.framework/WebServerResources/Java/JavaWOExtensions.jar
My app references some images from JavaWOExtensions
framework. When I deployed it on Linux with WO54, those images were broken:
/ERROR/NOT_FOUND/framework=JavaWOExtensions/filename=exclamation.gif
I thought I would post in case anybody else runs into this.
Thanks,
--
i5mast