|
|
|
|
|
Problems with runtime workbench and jdt [message #87670 is a reply to message #87625] |
Thu, 21 August 2003 11:27 |
Eclipse User |
|
|
|
Originally posted by: prameela.kumar.int-evry.fr
hi ,
I am trying to do add JavaCapabilityConfigurationPage to a wizard.
as following. But without success.
COde:
public void addPages()
{
IProject project = null;
JavaCapabilityConfigurationPage confPage = new
JavaCapabilityConfigurationPage();
confPage.init(JavaCore.create(project),null,null,false);
addPage(confPage);
}
Problem :
1) while trying to launch the wizard it is throwing "NoClassDefFoundErr"
2) Another Unrelated problem is I am unable luanch my plugin as
runtime workbench.
Thanx a lot
Prameela
Jerome Lanneluc wrote:
> 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@mindspring.com> wrote in message
> news:bi03ba$s62$1@eclipse.org...
>
>>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/r unti
>
>>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@fr.ibm.com> wrote in message
>>news:bhvhsb$9qr$1@eclipse.org...
>>
>>>Did you add the required plugins to the classpath? If you did please
>
> enter
>
>>a
>>
>>>bug report agains PDE.
>>>
>>>Jerome
>>>
>>>"Vijay Ganesan" <vijay@mindspring.com> wrote in message
>>>news:bhutck$od2$1@eclipse.org...
>>>
>>>>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
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04172 seconds