For those people who have had problem working with WOLipse on Windows, here is a helpful guide that my friend Aaron Rosenzweig complied that helped to solve my problems with NSSet error.
1) wobuild.properties file - Search and delete any wobuild.properties file in you C:\Documents and Settings folder. Open a brand new workspace for Eclipse. In that new workspace the WOLips perspective should not be automatically displayed. Go and open a new WOLips perspective. Now, click on the new WebObjects Application icon to create a simple WebObjects app. This will recreate the wobuild.properties file just like it needs to be. Now, go ahead and open Main.wo in WOBuilder and say "hello world" in the <body> tag and save it. Refresh your project in Eclipse (it doesn't know WOBuilder modified the .wo file). Run your project. Click on the Application.java (right click) and then debug and then WO app. This will generate a new wobuild.properties file with the correct settings generated automatically. 2) QuickTime - install the full version of QuickTime and don't muck with the places it puts files like QTJava.zip. 3) PracticalUtilities.framework - This doesn't work on the PC. It is a directory so open it up and look inside. You should see Versions/A/ directory path inside here. Take everything out of the "A" directory and put it all at the top level... then delete Versions/A/. On a Mac, there are some symlinks that point deep into the Versions directory to make things work correctly... but Windows can't use those symlinks and they don't even show up in Windows Explorer. You should have three files/folders at the top level when you are done: "PracticalUtilities", "Resources", "WebServerResources" 4) MySQL JDBC jar file - This needs to be put in both the JDK and JRE paths. Specifically jdk1.5.0_06/jre/lib/ext ... and then ... jre1.5.0_06/lib/ext. Just doing these two steps will allow WebObjects to launch within Eclipse with no worries. Hope this helps. thanks Anupam ----- Original Message ----- From: "Chuck Hill" <[EMAIL PROTECTED]> To: "Anupam Gupta" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Thursday, February 16, 2006 9:50 PM Subject: Re: NSSet error > I would guess that you have a bad install of WebObjects. Drop down > to a DOS window and type set. In addition to everything else, you > should also have values for these: > > NEXT_ROOT=U:/Apple > NEXT_SYSTEM_ROOT=U:/Apple > WEBOBJECTS_JAVA_EXTENSIONS=U:\Sun\j2sdk1.4.2_05/JRE/lib/ext > WEBOBJECTS_JAVA_HOME=U:\Sun\j2sdk1.4.2_05 > > On Feb 16, 2006, at 11:41 PM, Anupam Gupta wrote: > > > Hi, > > > > I am a newbie to WebObjects on Eclipse 3.1.1 / 5.2.4 on Windows > > platform. > > > > When I am developing my project, it compiles completely, but when I > > run it, it gives with the following error. Seems like a runtime > > error. I am using practical utilities class. Can someone help me. > > thanks > > > > > > [2006-02-16 23:37:21 PST] <main> A fatal exception occurred: com/ > > webobjects/foundation/NSSet > > > > [2006-02-16 23:37:21 PST] <main> java.lang.NoClassDefFoundError: > > com/webobjects/foundation/NSSet > > > > > That means that at runtime the c:\Apple\Library\Frameworks > \JavaFoundation\Resources\Java\javafoundation.jar file is on the > generated classpath. > > Chuck > > > > at com.apress.practicalwo.practicalutilities.EOFValidation.<clinit> > > (EOFValidation.java:219) > > > > at Application.<init>(Application.java:32) > > > > 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:274) > > > > at java.lang.Class.newInstance0(Class.java:308) > > > > at java.lang.Class.newInstance(Class.java:261) > > > > at com.webobjects.appserver.WOApplication.main(WOApplication.java:323) > > > > at Application.main(Application.java:11) > > > > _______________________________________________ > > 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/chill% > > 40global-village.net > > > > This email sent to [EMAIL PROTECTED] > > -- > Coming in 2006 - an introduction to web applications using WebObjects > and Xcode http://www.global-village.net/wointro > > Practical WebObjects - for developers who want to increase their > overall knowledge of WebObjects or who are trying to solve specific > problems. http://www.global-village.net/products/practical_webobjects > > > > > _______________________________________________ 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]
