NoClassDefFoundError when running tests [message #111030] |
Fri, 31 August 2007 14:05  |
Eclipse User |
|
|
|
Originally posted by: dkador.salesforce.com
Hi All,
I've been trying to get a headless build of my plug-in tests running
and I've hit a snag. I believe I have most things set up correctly,
but when I attempt to start up the run, I eventually see that Eclipse
is launched and immediately closes. I'm getting a
NoClassDefFoundError on a class inside my plug-in (I have two plug-ins
- one is the main one andthe other is a test one). This doesn't make
sense to me, because if
I launch the eclipse instance that the build creates, I can see that
themain plug-in is installed and in fact works correctly.
Does anybody have any suggestions on what I need to do to get Eclipse
torealize that those classes are actually available to the tests?
Thanks,
Dan
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
|
|
|
Re: NoClassDefFoundError when running tests [message #112618 is a reply to message #111030] |
Wed, 19 September 2007 07:52  |
Eclipse User |
|
|
|
Hi Daniel,
Are you running TPTP JUnit Plug-in tests? Also, are you using the
Automateable Services Framework (ASF) to run your tests?
For more information on test deployments, see:
http://help.eclipse.org/help33/topic/org.eclipse.hyades.test .doc.user/ref/rdeploymentGroundRules.htm
Paul
"Daniel Kador" <dkador@salesforce.com> wrote in message
news:nemoFri083107110118@news.eclipse.org...
> Hi All,
>
> I've been trying to get a headless build of my plug-in tests running
> and I've hit a snag. I believe I have most things set up correctly,
> but when I attempt to start up the run, I eventually see that Eclipse
> is launched and immediately closes. I'm getting a
> NoClassDefFoundError on a class inside my plug-in (I have two plug-ins
> - one is the main one andthe other is a test one). This doesn't make
> sense to me, because if
> I launch the eclipse instance that the build creates, I can see that
> themain plug-in is installed and in fact works correctly.
>
> Does anybody have any suggestions on what I need to do to get Eclipse
> torealize that those classes are actually available to the tests?
>
> Thanks,
> Dan
>
> --
> I'm trying a new usenet client for Mac, Nemo OS X.
> You can download it at http://www.malcom-mac.com/nemo
>
|
|
|
Powered by
FUDForum. Page generated in 0.02960 seconds