I'm not sure how you created your plugin, but you should definitively not
have to edit the .classpath file. Please first read the PDE Guide from the
Help menu to learn how to add a required plugin to the plugin.xml file and
to update the classpath accordingly.
Jerome
"Vijay Ganesan" <vijay@xxxxxxxxxxxxxx> wrote in message
news:bi03ba$s62$1@xxxxxxxxxxxxxx
I added an entry to the .classpath file as follows (manually edited the
file):
<classpathentry kind="var"
path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar"
sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/runti
mesrc.zip"/>
After adding the entry, I restarted the workbench and my code that used
JDT
Core built fine. But the run-time workbench gave me the class not found
error i am reporting.
Does the runtime workbench use the entries in the .classpath file? It
looks
like it does not and I am trying to figure out what classpath it uses. I
will write a bug report if I don't get some other response in the next few
days.
thanks
Vijay
"Jerome Lanneluc" <jerome_lanneluc@xxxxxxxxxx> wrote in message
news:bhvhsb$9qr$1@xxxxxxxxxxxxxx
Did you add the required plugins to the classpath? If you did please
enter
a
bug report agains PDE.
Jerome
"Vijay Ganesan" <vijay@xxxxxxxxxxxxxx> wrote in message
news:bhutck$od2$1@xxxxxxxxxxxxxx
I am building a plugin that uses the JDT Core APIs. I can build fine
( i
have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in
the
classpath).
However when I launch the runtime workbench I get the following error:
java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
How do I find out what classpath is used by the runtime workbench? I
tried
choosing "Choose plugins and fragments to launch from list" and made
sure
the org.eclipse.jdtcore was checked. But I still have this problem.
The second issue is - when I make a code change, I am forced to
shutdown
the
runtime workbench and re-launch it to detect the new code changes. I
thought
I saw a demo by one of the Eclipse team leads recently where he did
not
have
to restart the workbench after some code changes. Is this achieved
through
some setting in the run configuration?
thanks
Vijay