The actual problem lies
while accessing the static variables kept in the myPlugin.jar. Even if
myPlugin.jar is in the classpath of the eclipse project(on which the plugin is
running) the classes are loaded by another class loader L
From:
pde-dev-bounces@xxxxxxxxxxx [mailto:pde-dev-bounces@xxxxxxxxxxx] On Behalf Of Brian Bauman
Sent: Thursday, November 29, 2007
9:17 PM
To: Eclipse PDE general developers
list.
Cc: pde-dev@xxxxxxxxxxx;
pde-dev-bounces@xxxxxxxxxxx
Subject: Re: [pde-dev] Class Loading
Are you getting the noClassDef when running the
plug-in in the workspace or after export?
If problems come from workspace: Make sure plugin.jar
is on the Bundle-Classpath of your manifest.
If problem is after exporting: Make sure plugin.jar is
included in your bin.includes tag in the project's build.properties.
Brian Bauman
IBM Software Group - Austin,
TX
Eclipse Committer
baumanbr@xxxxxxxxxx
(512) 838 -2938 (T/L 678-2938)
From:
|
"Radhika Khattar,
Noida" <radhikak@xxxxxx>
|
To:
|
<pde-dev@xxxxxxxxxxx>
|
Date:
|
11/29/2007 05:57 AM
|
Subject:
|
[pde-dev] Class Loading
|
Hi,
How to pass the Plugin
ClassLoader to the Launching Framework
DebugUITools.launch(launchConfiguration,
ILaunchManager.RUN_MODE)
I need to launch Junit
through the launching framework but I get the NoDefFound error for the class in
the plugin.jar
Regards,
Radhika
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
|
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev