Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336299 - importing mutiple C++ projects
Summary: importing mutiple C++ projects
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 19:02 EST by ememberus CLA
Modified: 2011-02-04 09:08 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ememberus CLA 2011-02-03 19:02:37 EST
Context:
importing mutiple C++ projects from CVS repository

Problem:
impossible to set project type to C++ (nether when importing, nor later)

To reproduce:
1. select multiple CVS projects and import them
2. the resulting projects are searchable only in text mode (as text files), 
not in C++ context mode (as C++ files)

-- Configuration Details --
Product: Eclipse 1.4.0.20100817-1938 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.7.0.v20100923-9fF7MHDqFsAkplGz0n61z-yU57WHoz0JdMfaI
Comment 1 Prakash Rangaraj CLA 2011-02-04 01:46:56 EST
Just to be sure, do you have CDT installed?
Comment 2 James Blackburn CLA 2011-02-04 03:09:10 EST
You need to either check in your .cproject files, or create new CDT type projects over the checked out source.
Comment 3 ememberus CLA 2011-02-04 08:55:55 EST
Basically, you are right, but there are few problems on the way, which you are overlooking. I need to either check in .cproject and .cproject files (which I do not have because I am checking out someone else project files and this someone did not use Eclipce or did not check these files in), or create new CDT type projects over the checked out source (this is what I am talking about - this is possible only when I checking out on project, not multiple projects).

In other words, I need to check out 600 projects like these (no .project files). How you suggest me to handle this in Eclipce UI?
Comment 4 Andrew Gvozdev CLA 2011-02-04 09:08:47 EST
It is possible to convert the projects to C/C++ type using File->New->"Convert to a C/C++ Project" (could be under Other-C/C++ category). You can do "Select All" in the wizard to convert your 600 projects in one shot.