Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366770

Summary: projectType name attribute causes configurations to disappear
Product: [Tools] CDT Reporter: Petr Penzin <zeuk>
Component: cdt-build-managedAssignee: Project Inbox <cdt-build-managed-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, zeuk
Version: 8.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
CDT configruation file that causes build configuraitons to disappear none

Description Petr Penzin CLA 2011-12-14 18:24:49 EST
Build Identifier: 20110615-0604

We are working on integrating PGI compilers with Eclipse. When <projectType> element in plugin.xml configuration has name attribute set New Project Wizard fails to pick up build configurations.
Same as in CDT Forum: http://www.eclipse.org/forums/index.php/mv/msg/209139/669993/

Reproducible: Always

Steps to Reproduce:
1. Export and install plugin with name attribute being set in projectType
2. File -> New -> C Project -> Select "Hello World ANSI Project" -> Select your custom toolchain
3. Press Next twice to get to "Select configurations" screen. Configurations list is empty and message "At least one configuration should be available. Project cannot be created." is on the top of the form.
Comment 1 Petr Penzin CLA 2011-12-14 18:28:44 EST
Created attachment 208416 [details]
CDT configruation file that causes build configuraitons to disappear

Removing 'name' attribute in projectType element (lines 1788, 1875, 1961) solves the issue.