Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managed Build System ToolChain Extension

Make sure the package that the class resides in (as well as those of its dependencies) are properly exported in the manifest.mf file as well. Otherwise OSGI won't be able to access the class in your plugin.

===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto

Inactive hide details for James Blackburn ---02/22/2011 06:19:37 AM---On 21 February 2011 22:09, wwarren <wwarren@xxxxxxxxxxx> James Blackburn ---02/22/2011 06:19:37 AM---On 21 February 2011 22:09, wwarren <wwarren@xxxxxxxxxxx> wrote: > org.eclipse.cdt.managedbuilder.cor


From:

James Blackburn <jamesblackburn@xxxxxxxxx>

To:

"CDT General developers list." <cdt-dev@xxxxxxxxxxx>

Date:

02/22/2011 06:19 AM

Subject:

Re: [cdt-dev] Managed Build System ToolChain Extension

Sent by:

cdt-dev-bounces@xxxxxxxxxxx




On 21 February 2011 22:09, wwarren <wwarren@xxxxxxxxxxx> wrote:
> org.eclipse.cdt.managedbuilder.core.BuildException: Plug-in
> "com.emacinc.sdk.v2" was unable to instantiate class
> "com.emacinc.sdk.v2.EMACTextParser".

This is a generic Runtime error when for some reason the class can't
be loaded.  What's different between your page class vs. your
operations class? Perhaps there are some additional dependencies that
aren't part of your plugin but not marked as required in the manifest?
A google turns up examples like:
 
http://dev.eclipse.org/newslists/news.eclipse.platform/msg03788.html
Check your dependencies are setup correctly, and failing that set a
breakpoint in the code and try to trace down why the class can't be
loaded.

Cheers,
James
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


GIF image

GIF image


Back to the top