I am using eclipse CDT for creating the projects. I am creating a workspace and have to create projects in sub directories
+ workspace
|
+--+ level 1 (folder)
| |
| +-- project 1
| |
| +-- project 2
|
+--+ level 2 (folder )
| |
| +--+ level 3 (folder inside level 2)
| |
| +--- project 3
As per above diagram I have to create project 1 and 2 inside the folder called level1, similarly project 3 inside the folder level 3 ( level 3 folder is inside the folder level2 )
If i try to create the project it says “overlaps the location of another project”
Kindly give suggestions.
Regards
JOhnnie
First of all, I have no experience with CDT, but met similar situation with JDT (Java Development Tooling), so my answer may help. In the following, the term
<workspace>denotes the root directory of your workspace.<workspace>/level_1/project_1.<workspace>/level_1/project_2<workspace>/level_2/level_3/project_3level_1,level_2andlevel_3are only directories, no projects. And they are not visible in eclipse. There are exceptions to that rule (e.g. the m2e plugin for Maven integration into Eclipse), but it has to be implemented by the plugins. I am not aware of a solution for CTS, but I don’t know CDT well.Detailed instructions
The following was done in an Indigo installation (Eclipse 3.7) where CDT was added as feature (version 8.0.0).
New > C-Project(should work for C++ as well).<workspace>/level_1/project_1.project_1.<workspace>/level_1/project_1and in the project explorer a project nameproject_1.<workspace>/level_1/project_2and the project nameproject_2.At the end, you have 2 projects named
project_1andproject_2, which lay in the common directorylevel_1. I hope this is now sufficient to recreate it for you.