• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: How to run WONDER example source in Eclipse+WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to run WONDER example source in Eclipse+WOLips


  • Subject: RE: How to run WONDER example source in Eclipse+WOLips
  • From: "Ren, Kevin" <email@hidden>
  • Date: Tue, 16 Dec 2008 16:07:46 +1300
  • Thread-topic: How to run WONDER example source in Eclipse+WOLips

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@hidden]
Sent: Tuesday, 16 December 2008 3:03 p.m.
To: Ren, Kevin
Cc: email@hidden
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+Source,+Build+and+Install

and

http://wiki.objectstyle.org/confluence/display/WONDER/Working+with+Wonder+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.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
        at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
        at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
        at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
        at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.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(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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(ERXApplication.java:505)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
        at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNotificationCenter.java:588)
        at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
        at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:562)
        at com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:1819)
        at com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java: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@hidden)
Help/Unsubscribe/Update your Subscription:

 

"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

  • Prev by Date: Re: How to run WONDER example source in Eclipse+WOLips
  • Next by Date: Weird sql generation problem running migration from WO5.4 (Oracle)
  • Previous by thread: Re: How to run WONDER example source in Eclipse+WOLips
  • Next by thread: Problem File Upload WO 5.4 WONDER 5.0.0.8764
  • Index(es):
    • Date
    • Thread