Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] help getting started with CDT development

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Nathan Ridge
> Sent: Thursday, May 24, 2012 11:29 PM
> To: CDT Mailing List
> Subject: Re: [cdt-dev] help getting started with CDT development
> 
> 
> > > >> I am having trouble exporting a plugin with changes that I've
> > > >> made to an eclipse installation.
> > > >>
> > > >> Here's what I did, mostly just following the instructions at
> > > >> http://wiki.eclipse.org/Getting_started_with_CDT_development:
> > > >>
> > > >> - Installed Eclipse SDK, EGit, and PDE
> > > >> - Went into Git perspective, cloned the master branch 
> of the CDT repo
> > > >> - Made a small change to code in org.eclipse.cdt.ui
> > > >> - Went into PDF perspective, right-clicked on 
> org.eclipse.cdt.ui
> > > >> project, did Run As -> Eclipse Application
> > > >> - This works fine, and my change has taken effect
> > > >> - Did File -> Export -> Plug-in Development -> 
> Deployable plug-ins or
> > > >> fragments
> > > >
> > > > It's easier to use File -> Export -> Plug-in Development
> > > > -> Deployable features. In the Export dialog I 
> recommend selecting
> > > > Archive file.
> > >
> > > Which features should I select to export? If I select all of them,
> > > I get the following error:
> > >
> > > 'Export Features' has encountered a problem.
> > >
> > > Processing inclusion from feature 
> org.eclipse.cdt.autotools.source:
> > > Unable to find plug-in: 
> org.eclipse.cdt.autotools.core.source_0.0.0.
> > > Please check the error log for more details.
> > >
> > > You need to have all plugins included in the feature 
> imported into your
> > > workspace. Do you have autotools?
> >
> > I have the following projects related to autotools in my workspace:
> >
> > org.eclipse.cdt.autotools-feature
> > org.eclipse.cdt.autotools.core
> > org.eclipse.cdt.autotools.docs
> > org.eclipse.cdt.autotools.source-feature
> > org.eclipse.cdt.autotools.tests
> > org.eclipse.cdt.autotools.ui
> > org.eclipse.cdt.autotools.ui.tests
> > org.eclipse.linuxtools.cdt.autotools.core
> >
> > Should I have something else as well?
> 
> I got it to work by only exporting the org.eclipse.cdt feature,
> nothing else.
> 
> Where can I see which projects belong to which feature? (Along
> similar lines, how is it determined which package belongs to which
> project?)

If you look at the feature.xml file of different features, you can
figure out what contains what.  A feature can contain plugins, or
other features.  The org.eclipse.cdt-feature is the default set
of features delivered with CDT.  If you want to include optional
features, you have to select them manually.  For example, 

org.eclipse.cdt.launch.remote-feature for remote launches using RSE
org.eclipse.cdt.gnu.multicorevisualizer-feature for the Mutlicore Visualizer
org.eclipse.cdt.debug.ui.memory-feature for the Memory Browswer, and the
traditional memory rendering.

> 
> Thanks,
> Nate
>  		 	   		  
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top