Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Create CDT project without build features

Hi james,
That helped. But now I cannot see the "Paths and Symbols" property page anymore which I need to use.
Is this the expected behaviour?

Greets Marko

Mit freundlichen Grüßen / Best regards

Marko Tomljenovic

Robert Bosch GmbH
Cross Divisional Group - Software, Methods and Tools, CDG-SMT/EMT1 (CR/PJ-TOP66)
Postfach 30 02 40
70442 Stuttgart
GERMANY
www.bosch.com

Tel. 0711-811-54830
Marko.Tomljenovic@xxxxxxxxxxxx

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
Bernd Bohr, Rudolf Colm, Volkmar Denner, Wolfgang Malchow, Peter Marks,
Peter Tyroller; Stefan Asenkerschbaumer, Uwe Raschke, Wolf-Henning Scheider


-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von James Blackburn
Gesendet: Freitag, 19. November 2010 14:27
An: CDT General developers list.
Betreff: Re: [cdt-dev] Create CDT project without build features

On 19 November 2010 13:11, Tomljenovic Marko (CDG-SMT/EMT1
CR/PJ-TOP66) <Marko.Tomljenovic@xxxxxxxxxxxx> wrote:
> Hi James,
> Thank you for the quick answer.
>
> What about the scanner config nature?

If you don't need it then remove that too...

> Is there a way to create a non built cdt project from a general project in one step?
>
> Currently I am using the following code to programmatically create a cdt project from a general project:
>
> CCorePlugin.getDefault().createCDTProject(project.getDescription(), project,
>          ManagedBuildManager.CFG_DATA_PROVIDER_ID, new SubProgressMonitor(monitor, 1));

Try instead of ManagedBuildManager.CFG_DATA_PROVIDER_ID:
   CCorePlugin.DEFAULT_PROVIDER_ID
This should cause the settings to be persisted by cdt core

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


Back to the top