Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6778049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:13:14+00:00 2026-05-26T16:13:14+00:00

I am using eclipse CDT for creating the projects. I am creating a workspace

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:13:14+00:00Added an answer on May 26, 2026 at 4:13 pm

    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.

    • Eclipse projects want to be created all the time directly in the workspace on top level.
    • However, there is an option to select a different location for the project. It should be done like that:
      1. In the project creation dialog, enter the project name.
      2. Deselect the check box “Use default location”, and enter manually the directory <workspace>/level_1/project_1.
      3. Finish your dialog.
      4. Repeat that process with the following inputs:
        • <workspace>/level_1/project_2
        • <workspace>/level_2/level_3/project_3
      5. You should now have 3 projects in Eclipse.
      6. When you look at the file system (outside eclipse), you should see the directory structure you wanted to get.
    • What is not possible to have projects inside other projects. So level_1, level_2 and level_3 are 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).

    1. Go to the “C/C++” perspective.
    2. Select in the “Project Explorer” New > C-Project (should work for C++ as well).
    3. Deselect the check box “Use default location”.
    4. Paste in the Location text box: <workspace>/level_1/project_1.
    5. Enter into the “Project name”: project_1.
    6. Finish the dialog.
    7. As a result, you have a directory structure <workspace>/level_1/project_1 and in the project explorer a project name project_1.
    8. Repeat the step 2 to 5 with the directory <workspace>/level_1/project_2 and the project name project_2.

    At the end, you have 2 projects named project_1 and project_2, which lay in the common directory level_1. I hope this is now sufficient to recreate it for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am quite newbie in using eclipse cdt. I have a makefile project, and
I'm setting up a C++ project, on Ubuntu x64, using Eclipse-CDT. I'm basically doing
I am using the Eclipse CDT and I have a goto label and a
Im using Eclipse 3.4, EclipseMe 1.7.9. Im trying to deploy/create package a simple project
I have been using Eclipse CDT for some time now, and I love it,
I'm using Eclipse CDT for a C project with custom makefiles, and I want
I am using Eclipse CDT with Cygwin GCC 3 as compiler. My project is
I'm writing a simple node.js addon in C++ using Eclipse CDT. The project has
I'm using Eclipse CDT for a C project. I found out most of the
I have installed Eclipse CDT, CodeSourcery G++ toolchain on Linux host. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.