Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Referenced class not on plugin classpath
Referenced class not on plugin classpath [message #486896] Sun, 20 September 2009 19:47 Go to next message
Ric Wright is currently offline Ric WrightFriend
Messages: 70
Registered: July 2009
Member
I have a plugin that implements an extension point. The plugin.xml is this

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="com.geofx.gms.module">
<module
class="com.geofx.science.tempwave.Tempwave"
id="com.geofx.science.tempwave.Tempwave"
name="Tempwave" />
</extension>
</plugin>

But I get a warning for the class attribute that the class is not on the
plugin's classpath. But it is in the bin folder, which is referenced
(correctly AFAIK) in the plugin's .classpath.

And sure enough if I try to execute
IconfigurationELement.createExecutableExtension method, it throws and
exception that the plugin (com.geofx.science.tempwave) can't load the class.

The other odd symptom is that when I edit plugin.xml or MANIFEST.INF or
build.properties, the PDE doesn't come up properly. The .project file looks
OK, etc.

Any thoughts?

TIA, Ric
Re: Referenced class not on plugin classpath [message #486902 is a reply to message #486896] Sun, 20 September 2009 20:26 Go to previous message
Ric Wright is currently offline Ric WrightFriend
Messages: 70
Registered: July 2009
Member
This apparently turned out to be a corrupted plugin or plugin info ...
Somewhere. I completely deleted the plugin and re-created it and it all
worked fine. Rather odd though about the behaviour of the PDE.

Ric



On 9/20/09 12:47 PM, in article C6DBD4FE.38BE4%riwright@adobe.com, "Ric
Wright" <riwright@adobe.com> wrote:

> I have a plugin that implements an extension point. The plugin.xml is this
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.4"?>
> <plugin>
> <extension
> point="com.geofx.gms.module">
> <module
> class="com.geofx.science.tempwave.Tempwave"
> id="com.geofx.science.tempwave.Tempwave"
> name="Tempwave" />
> </extension>
> </plugin>
>
> But I get a warning for the class attribute that the class is not on the
> plugin's classpath. But it is in the bin folder, which is referenced
> (correctly AFAIK) in the plugin's .classpath.
>
> And sure enough if I try to execute
> IconfigurationELement.createExecutableExtension method, it throws and
> exception that the plugin (com.geofx.science.tempwave) can't load the class.
>
> The other odd symptom is that when I edit plugin.xml or MANIFEST.INF or
> build.properties, the PDE doesn't come up properly. The .project file looks
> OK, etc.
>
> Any thoughts?
>
> TIA, Ric
>
Previous Topic:usage of dropAssistant for org.eclipse.ui.navigator.navigatorContent
Next Topic:Missing "Other projects" working set when in "Java EE" perspective
Goto Forum:
  


Current Time: Tue Mar 19 08:57:04 GMT 2024

Powered by FUDForum. Page generated in 0.03001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top