Thanks Christian,

Right before I got your e-mail I found that I really wasn't keeping the wounittest jar in the right place. I had it in /system/library/ java/extensions folder with all the other extensions. I moved it into eclipse/plug-ins and it worked. I have a feeling that I really am not keeping it in the right place there either. Where should I keep it to be "like everyone else?" It works now, but I feel like that's not right since it's really not an eclipse plug-in.

John

On Sep 25, 2006, at 2:04 PM, Christian Pekeler wrote:

Try these:

Add
System.out.println(NSArray.componentsSeparatedByString (System.getProperty("java.class.path"), ":").componentsJoinedByString("\n")); to one of your tests and run it. See if the output includes JavaEOControl.framework.

Double check the Eclipse Properties of your project. See if the Java Build Path/Libraries include JavaEOControl.framework.

Delete the corresponding run-configuration: Select menu Run/Run..., in the tree view expand JUnit and select your test (or simply all tests), and right-click delete it/them.


Christian



On Sep 25, 2006, at 09:43, John Larson wrote:
Um. Undoubtedly something stupid, but I can't get any extension of EOFTest to run. I keep getting NoClassDefFoundError: com/ webobjects/eocontrol/EOEditingContext. I'm pretty sure that I have my classpath set right since the project runs normally when not testing. If I don't extend EOFTest, then tests I write work fine - except there is no eo support - so I think the JUnit part is set up fine. Rather than installing the JAR, I also tried adding the source and compiling it and get the same error.

java.lang.NoClassDefFoundError: com/webobjects/eocontrol/ EOEditingContext


_______________________________________________
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