I download the latest version Wonder, extract got Wonder(source),
Wonder-latest-Frameworks-54 and Wonder-latest-Applications-54.
I read the wiki page, but it's for old wonder not for this latest
version, like not common dir, all frameworks is in separate folder.
 
I copy/past all frameworks under Wonder-latest-Frameworks-54 to
/Library/Frameworks, so any project could import/or link these wonder
frameworks.
 
copy all example source past to my workspace, like
Wonder/Example/Ajax/AjaxExample ...
 
import project under my workspace in Eclipse, I got all example project,
and in referenced libraries, I can see the refer lib.
 
So no problem I can see. clean my workspace as well. but still got that
message,
 
any suggestion, where I am wrong?
 
 
thanks
 
Kevin

  _____  

From: Kieran Kelleher [mailto:[email protected]] 
Sent: Tuesday, 16 December 2008 3:03 p.m.
To: Ren, Kevin
Cc: [email protected]
Subject: Re: How to run WONDER example source in Eclipse+WOLips


You seem to be using old version of Wonder. If you are working with
Wonder in your Workspace, why not download the latest source. Use the
procedure outlined here: 

http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder+So
urce%2C+Build+and+Install

and

http://wiki.objectstyle.org/confluence/display/WONDER/Working+with+Wonde
r+source+in+Eclipse

On Dec 15, 2008, at 7:51 PM, Ren, Kevin wrote:


        Hi, 

        Eclipse3.4+Wolips3.4.5588 nightlybuild 

        I installed WONDER framework to /Library/Frameworks, then I can
create new WO app or Wonder App. 

        I copied all examples source from Wonder/Examples to my eclipse
workspace, and then import to Eclipse. 

        All good, not red cross stick in the project. I found all
libraries under "Referenced Libraries", looks all good. 

        But when I try run the application "AjaxExample" , I got
message: 

        [2008-12-16 12:40:57 GMT+12:00] <main> Initialized :
er.extensions.ERXExtensions 
        [2008-12-16 12:41:0 GMT+12:00] <main> A fatal exception
occurred: null 
        [2008-12-16 12:41:0 GMT+12:00] <main>
java.lang.ExceptionInInitializerError 
                at
com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAs
Stream(WOResourceManager.java:116) 
                at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOPr
operties.java:317) 
                at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:574
3) 
                at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779) 
                at
er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplicatio
n.java:22) 
                at
er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:804) 
                at Application.<init>(Application.java:19) 
                at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
                at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39) 
                at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27) 
                at
java.lang.reflect.Constructor.newInstance(Constructor.java:494) 
                at java.lang.Class.newInstance0(Class.java:350) 
                at java.lang.Class.newInstance(Class.java:303) 
                at
com.webobjects.appserver.WOApplication.main(WOApplication.java:547) 
                at
er.extensions.appserver.ERXApplication.main(ERXApplication.java:592) 
                at Application.main(Application.java:15) 
        Caused by: java.lang.IllegalStateException: Main bundle
'Properties' file can't be read.  Did you run as a Java Application
instead of a WOApplication in WOLips?

        Please post your deployment configuration in the Wonder mailing
list. 
                at
er.extensions.appserver.ERXApplication$Loader.bundleDidLoad(ERXApplicati
on.java:505) 
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) 
                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) 
                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) 
                at java.lang.reflect.Method.invoke(Method.java:585) 
                at
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:1
22) 
                at
com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNot
ificationCenter.java:588) 
                at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotifi
cationCenter.java:532) 
                at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotifi
cationCenter.java:562) 
                at
com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:1819) 
                at
com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.jav
a:490) 
                at
com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:2109) 
                ... 16 more 

        Any idea, which lib I need import to the project? The same
message for all other examples source. 

        thanks 


        kevin 

        
        
         

        "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 protected])
        Help/Unsubscribe/Update your Subscription:
        
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac
.com
        
        This email sent to [email protected]



"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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to