-----Original Message-----
Behalf Of Qi Yang
Sent: Wednesday, 28 May 2008 7:51 a.m.
Subject: Install WO 5.3/WOLips on Ubuntu
Hi all,
I'm trying to set up a WO build environment on Ubuntu 8.04 with
WO5.3. I
tried following guides from http://wiki.objectstyle.org/confluence/
and mostly:
http://wiki.objectstyle.org/confluence/display/WOL/Usage+for+Other
+*NIX
however, after I installed eclipse + WOLips, copied the frameworks in
place and fixed wobuild.properties, I can't correctly build even a
default sample project from WOLips. First the build path is
incomplete,
WOLips only sees a subset of all the frameworks in
.../System/Library/Frameworks. There are more than 20, but WOLips only
sees about 8.
So to resolve the reference problems I added the other jars I can
see in
System/Library/Frameworks and Library/WebObjects/Lib manually through
adding external JAR. Then I no longer have build path problem or
reference error, but when I try to build the project in Eclipse I
always
get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
com.webobjects.foundation.NSTimeZone
at java.lang.Class.initializeClass(libgcj.so.81)
at com.webobjects.foundation.NSLog
$PrintStreamLogger.<clinit>(NSLog.java:1643)
[...]
at
com.webobjects.foundation._NSUtilities.<clinit>(_NSUtilities.java:154)
[...]
at
com.webobjects.appserver.WOApplication.<clinit>(WOApplication.java:
165)
[...]
From some googling this seem occured before on other people's ubuntu
setup, but I have yet to find any solution for this. What am I doing
wrong here? or has any one else got WO5.3 + WOLips working on ubuntu
8.04?
I'll really appreciate any input, thank you for your time,
Qi