Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Providing new project types for CDT 3.1

> With CDT 3.0 I was able to define project types in addition to the
> standard ones by providing an XML extension in a separate plug-in:
> 
> > <plugin class="org.eclipse.cdt.managedbuilder.gnu.ui.GnuUIPlugin" ... >
> > <extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions" ... >
> > <projectType name="My Project Type" ... >
> > ...
> 
> I am attempting to do something similar with CDT 3.1 RC3 but my
> additional project type definitions are not being presented in the user
> interface. Have I missed something?

If the -clean doesn't work you might try setting a breakpoint in the
following method:

org.eclipse.cdt.managedbuilder.ui/CProjectPlatformPage.populateTypes()

It first gets all defined project types (which should include yours),
then filters out the ones not matching architecture/os, perhaps yours
is filtered out in that stage.

Regards,
  Wieant


Back to the top