Page 1 of 1

Oxygen failing under Apple Java 1.4.1

Posted: Fri Mar 14, 2003 9:30 am
by Dan
There are some problems running the Oxygen version 1.2.4 on the Apple's Java 1.4.1. We are trying to fix all problems in the next version.

One of our users, Joe McMahon has made a patch for forcing the Oxygen application use the Java 1.3.1 instead of 1.4.1

Here it is:

Joe McMahon wrote:
Here's a patch to force Oxygen to use Java 1.3.1 *only*. Thanks for the pointer to the Tech Note. A little bit of editing with Apple's Property List Editor and all is serene. Patch is both inline below and attached. I'd appreciate credit if you make it available to others.

--- Joe M.

--- Info.plist.old Thu Mar 13 10:17:58 2003
+++ Info.plist Thu Mar 13 10:39:09 2003
@@ -20,5 +20,14 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1.2.2d1</string>
+ <key>Java</key>
+ <dict>
+ <key>ClassPath</key>
+ <string>.:lib/oxygen.jar:classes:oxygen.app/Contents/Resources/Java/ oxygen.jar</string>
+ <key>JVMVersion</key>
+ <string>1.3.1</string>
+ <key>MainClass</key>
+ <string>ro.sync.exml.Oxygen</string>
+ </dict>
</dict>
</plist>

What are the failures in Apple 1.4.1

Posted: Fri Mar 14, 2003 8:34 pm
by sujal
What failures are there? I would like to consider whether I want to apply the patch, since I like the improved look and feel under 1.4.1 (menus behave like a native mac application, growbox doesn't intrude, etc. Those properties IIRC are not used in the 1.3.1 implementation of the VM.

Also, I noticed another problem that I'm trying to verify. If documents don't have a DOCTYPE and only use schemas, the "Validate" button fails on the top level element, whcih seems wrong to me.

Try any WSDL document, such as the GoogleSearch.wsdl or the amazon one (the URL for the amazon one is: http://soap.amazon.com/schemas2/AmazonWebServices.wsdl )

Otherwise, Oxygen looks great. I'm thinking about purchasing a license, if these issues get resolved.

Thanks,

Sujal

ignore my validation problem

Posted: Fri Mar 14, 2003 8:39 pm
by sujal
I didn't understand the interaction (or lack thereof) between namespace declarations and schemas... I was thinking they worked the same as DTDs.

Sorry. :oops:

Sujal

Posted: Mon Mar 17, 2003 1:13 pm
by Dan
More about the patch for Info.plist:

The lines beginning with '+' must be added to the file. Do not add the '+' character. The Info.plist file is located into the oxygen.app/Contents directory. (From the Finder ctrl-click on the Oxygen application and choose "Show package contents").