[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Exporting a plug-in: delployment phase SOLUTION

WRoss wrote:

# 1 Dec 2005 15:13:07
----------
1. ERROR in C:\java\pde\com.example.nonlib\src\com\example\nonlib\NonlibPlugin.java
(at line 3)
import org.eclipse.ui.plugin.*;
^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.ui.plugin cannot be resolved



It's saying that your plugin dependancies are incorrect. i.e. your plugin doesn't depend on the correct org.eclipse.ui plugin. Open the plugin.xml in its editor, and make sure the plugins are all listed in the Dependancies tab.


If you really did just import the com.example.nonlib project from the bug-attachment-zip file and it still can't export, you have some problem with your system.

Restart eclipse with -clean ... create a new workspace ... create a new plugin project, pick the hello world template. Then try and export that project using the Export>Deployable plug-ins and fragments.

If you still get errors, then there's something wrong with your system ... do you have the eclipse-SDK installed?

Later,
PW