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

Bug 242152

Summary: CVS project wizard doesn't finish after 'internal' C++ project wizard
Product: [Tools] CDT Reporter: Daniel van der Velde <contact>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Daniel van der Velde CLA 2008-07-26 14:04:50 EDT
Creating a new project using the 'Project from CVS' option allows to run a C or C++ wizard to be run as part of the complete project creation.
When the C project wizard is used everything runs fine: the project is created and the files are retrieved from the repository.
However, when the C++ wizard is used, just the project is created, but the 'Project from CVS' wizard does not detect that the C++ project wizard is finished. The 'Project from CVS' dialog stays on screen and clicking on 'Finish' (again) just restarts the C++ wizard again.
Comment 1 Andrew Gvozdev CLA 2008-07-26 16:36:52 EDT
Sounds similar to bug 107343. Can you reproduce this bug reliable? Can you provide exact sequence of your actions?

Also I've seen some anomalies described in bug 240374. Can you check
.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs, if there is entry wizard.preferred.toolchains=NULL?
Comment 2 Daniel van der Velde CLA 2008-07-27 11:37:40 EDT
In fact, it's the exact same problem as bug 107343 making this bug a duplicate. However, the steps I did were the following:
- New project: 'Projects from CVS'
- Use existing repository location, select it and 'next'
- Use an existing module, select it and 'next'
- Checkout as project configured using the New Project Wizard, 'next'
- By default, 'HEAD' tag is selected, so just 'Finish'
- Select 'C++ Project' and 'next'
- Type project name, select 'static library'/MinGW and 'next'
- By default, the Debug and Release configurations are selected, so just 'Finish'

At this point I see the project being created in the Project Explorer, but the 'CVS select tag' window remains on screen and no files are being checked out.

I noticed that when you select 'Advanced settings...' from the last dialog (Select Configurations) and Cancel it immediately and then 'Finish', it works correctly (project created and files checked out).

For completeness, the entry 'wizard.preferred.toolchains=NULL' is NOT present in the file you describe.

Also, note that the workspace I use with Ganymede CDT now, was originally created by the Europa winter edition.

Lastly, originally I described that C projects work and C++ projects don't. I now found them to react identically. I've tested a lot longer now.

Comment 3 Andrew Gvozdev CLA 2010-08-18 13:00:03 EDT
Marking as duplicate

*** This bug has been marked as a duplicate of bug 107343 ***