Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353774 - GNU managed project types not visible in new project wizard
Summary: GNU managed project types not visible in new project wizard
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 5.0.1   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 10:37 EDT by Greg Watson CLA
Modified: 2012-05-23 16:54 EDT (History)
1 user (show)

See Also:


Attachments
Makes GCC project types visible in the Remote C/C++ project creation dialog (5.21 KB, patch)
2011-08-03 18:17 EDT, Corey Ashford CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-08-03 10:37:53 EDT
There are no managed project types for the GNU toolchain visible in the new project wizard.
Comment 1 Corey Ashford CLA 2011-08-03 18:00:05 EDT
I think I've discovered what the problem is.

The extensions for the the GNU project types had their name fields blank, so I think the CDT managed project system didn't know what to do with them, and just left them out of the list.

I've also found that the names from from the plugin.properties file that were intended to go in those fields had the shared and static library names switched.

I think I can develop a patch to fix both of these errors.  Stay tuned.  I want to make sure that the projects look legit after all of this.
Comment 2 Corey Ashford CLA 2011-08-03 18:17:18 EDT
Created attachment 200863 [details]
Makes GCC project types visible in the Remote C/C++ project creation dialog

This patch:

* Adds the name field to the GCC project types, which is necessary for
the project types to show up in the project type selection dialog when creating
a Remote C/C++ project.

* Adds a new project type name for GCC executables, and fixes the labels for the shared and static library project types (they were reversed).

* Makes it so that the project types are applicable all host OSes and architectures, so that any host type (Windows, Linux, etc.) can create GCC
projects on remote machines (typically Linux or Unix).
Comment 3 Greg Watson CLA 2011-08-04 16:43:52 EDT
This patch works for me. Applied to ptp_5_0 and HEAD.

Do remote projects using these toolchains work correctly?
Comment 4 Corey Ashford CLA 2011-08-04 16:55:37 EDT
(In reply to comment #3)
> This patch works for me. Applied to ptp_5_0 and HEAD.

Thanks!

> 
> Do remote projects using these toolchains work correctly?

Yes, I tried it on a POWER machine with gcc, and it worked without any noticeable (by me) problems.

- Corey
Comment 5 Greg Watson CLA 2011-08-04 17:03:49 EDT
Closing as fixed.