Re: Install WO 5.3/WOLips on Ubuntu
Re: Install WO 5.3/WOLips on Ubuntu
- Subject: Re: Install WO 5.3/WOLips on Ubuntu
- From: Qi Yang <email@hidden>
- Date: Tue, 27 May 2008 18:32:40 -0400
Hi Kevin,
Thanks for the reply, I came across your mails in the mailing list
before, I do have java 1.5, and my wobuild.properties is setup right
as far as I can tell... is it suppose to be named build.properties
instead? Oh and I didn't really bother to put link to API reference
docs in proper place, thinking it won't matter...
Do you have other resources/links to troubleshoot this? if you don't
remember what exactly you did to fix it?
I'll try to verify everything and get back...
Thanks again,
Qi
On 27-May-08, at 4:45 PM, Ren, Kevin wrote:
Hi,
I got this before,but couldn't remember how to fix it.
1. check your java version, should be sun-java 1.5, not java coming
with
ubuntu.
2. build.properties
wo.wosystemroot=/home/xiaowen/Apple/System
wo.wolocalroot=/home/xiaowen/Apple
wo.woroot=/home/xiaowen/Apple
wo.dir.reference.api=/home/xiaowen/Apple/Developer/Documentation/
DocSets
/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/
Res
ources/Documents/reference/
Give a try, good luck
kevin
-----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
This email sent to email@hidden
"This communication is confidential and may contain privileged and/
or copyright material. If you are not the intended recipient you
must not use, disclose, copy or retain it. If you have received it
in error please immediately notify me by return email, delete the
emails and destroy any hard copies. ANZ National Bank Limited does
not guarantee the integrity of this communication, or that it is
free from errors, viruses or interference."
_______________________________________________
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