Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 244829 - Conversion wizard to convert CDT projects to RDT projects
Summary: Conversion wizard to convert CDT projects to RDT projects
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 2.1M2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1   Edit
Assignee: Chris Recoskie CLA
QA Contact: Greg Watson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 11:12 EDT by Vivian Kong CLA
Modified: 2009-01-20 15:38 EST (History)
1 user (show)

See Also:


Attachments
proposed patch (29.40 KB, patch)
2008-08-21 11:22 EDT, Vivian Kong CLA
no flags Details | Diff
wizard icon (618 bytes, image/gif)
2008-08-21 11:24 EDT, Vivian Kong CLA
recoskie: iplog+
Details
updated patch (30.47 KB, patch)
2008-08-21 16:07 EDT, Vivian Kong CLA
no flags Details | Diff
updated patch (31.54 KB, patch)
2008-09-03 16:16 EDT, Vivian Kong CLA
recoskie: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vivian Kong CLA 2008-08-21 11:12:06 EDT
This will introduce a conversion wizard that converts existing CDT projects into RDT projects.  The wizard adds a remote nature to the project and allows the service model to be configured.
Comment 1 Vivian Kong CLA 2008-08-21 11:22:49 EDT
Created attachment 110575 [details]
proposed patch

The icon for the wizard cannot be added to the patch so I'll attach it to this bug instead.
Comment 2 Vivian Kong CLA 2008-08-21 11:24:08 EDT
Created attachment 110576 [details]
wizard icon

wizard icon to be placed in /org.eclipse.ptp.rdt.ui/icons/obj16/
Comment 3 Vivian Kong CLA 2008-08-21 16:07:12 EDT
Created attachment 110617 [details]
updated patch

Updated patch makes wizard more generic (listing non-CDT projects as candidates for conversion as well)
Comment 4 Chris Recoskie CLA 2008-09-03 15:41:17 EDT
One problem I see is that the wizard will try to set the indexer for projects that are not CDT projects.
Comment 5 Vivian Kong CLA 2008-09-03 16:16:32 EDT
Created attachment 111623 [details]
updated patch

This patch allows the table entries to be generated based on a project's natures and therefore we won't add the indexer to non-CDT projects.  When the project nature is not known (e.g. new project creation wizard) it defaults to C & C++ nature (which is the behaviour right now).
Comment 6 Chris Recoskie CLA 2008-09-03 17:04:27 EDT
Applied to HEAD.  Thanks.
Comment 7 Mike Kucera CLA 2008-09-04 10:34:37 EDT
Couple comments:

- This is not a new project wizard so perhaps it shouldn't be listed with the rest of the new project wizards. 
- When I right click on a CDT project one of the menu items is "Convert to...", and when I select that I get an error dialog that says "no available converters".
- The hidden RSE project RemoteSystemsTempFiles shows up in the list.
Comment 8 Chris Recoskie CLA 2008-09-04 10:37:05 EDT
(In reply to comment #7)
> Couple comments:
> - This is not a new project wizard so perhaps it shouldn't be listed with the
> rest of the new project wizards. 
> - When I right click on a CDT project one of the menu items is "Convert to...",
> and when I select that I get an error dialog that says "no available
> converters".
> - The hidden RSE project RemoteSystemsTempFiles shows up in the list.

Can you please open separate bugs for these?