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

Thanks much for the help!

As it turns out, I did not need the operations class but after spending
some time learning how to debug Java and figuring some other things out,
I have been able to fix a similar class loading error since. I must
constantly remind myself that computers only do what we tell them to do.

Wayne


On Tue, 2011-02-22 at 09:50 -0500, Chris Recoskie wrote:
> 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
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top