Framework import

Logi Helgu <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <C1501FEB.3AF3%[email protected]>
Added the framework to my project via the "Java Build Path" - "Projects"
since this seems the only way to enable "Open Declaration" on my framework
classes in Eclipse( this might be where I'm getting things wrong since I've
added a Framework here but not another project ).

Trying to lunch this leads to:

...<main> A fatal exception occurred: null
...<main> java.lang.ExceptionInInitializerError
    at

com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProper
ties.java:187)
    at

com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5081)
    at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:551)
    at Application.<init>(Application.java:25)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
    at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.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:323)
    at Application.main(Application.java:22)
Caused by: java.lang.IllegalStateException:
<com.webobjects.foundation.NSBundle> warning: There is already a unique
instance for Bundle named 'MyFramework'.  Use
NSBundle.bundleForName(MyFramework) to access it...

Any ideas on this or the right way to enable "Open Declaration" into
framework classes?

    With well-being and veneration,
    Logi Helgu




Fyrirvari á tölvupósti / e-mail disclaimer
<a href="http://www.us.is/page/fyrirvari">http://www.us.is/page/fyrirvari</a>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.