I saw this tutorial on the WOLips site about debugging code in a framework:

http://wiki.objectstyle.org/confluence/display/WOL/Debug+Code+in+a+Framework

But when I place both the project and the built-framework on the build
path I get an error when I run about there being two instances of the
same framework:

java.lang.IllegalStateException: <com.webobjects.foundation.NSBundle>
warning: There is already a unique instance for Bundle named
'ICSShared'.  Use NSBundle.bundleForName(ICSShared) to access it:
<com.webobjects.foundation.NSBundle name:'ICSShared'
bundlePath:'/workspace/ICSShared/build/ICSShared.framework'
packages:'("com.ics", "test.com.ics")' 13 classes >
        at 
com.webobjects.foundation.NSBundle.CreateBundleWithPath(NSBundle.java:825)
        at 
com.webobjects.foundation.NSBundle._bundleWithPathShouldCreateIsJar(NSBundle.java:487)
        at 
com.webobjects.foundation.NSBundle.LoadBundlesFromClassPath(NSBundle.java:742)
        at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:365)
        ... 14 more

Any suggestions?
_______________________________________________
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