It's all about the answers!

Ask a question

Projects in nested locations


Umberto Caselli (111) | asked Feb 09 '10, 1:46 p.m.
Hello,
my projects are organized into subfolders on disk.
For example:
javaProjects/src/Project1
javaProjects/src/Project2
javaProjects/src/Project3
cProjects/src/Project4
cProjects/src/Project5
cProjects/src/Project6
installationProjects/src/Project7
installationProjects/src/Project8
installationProjects/src/Project9.

When I share these projects into scm, they are created in the root directory of the workspace. This is messing up my build procedures.

Is there a way to create the projects into subfolders in scm?
Any suggestions?
Thanks a lot, Umberto

One answer



permanent link
Tim Mok (6.6k38) | answered Feb 09 '10, 9:26 p.m.
JAZZ DEVELOPER
Hello,
my projects are organized into subfolders on disk.
For example:
javaProjects/src/Project1
javaProjects/src/Project2
javaProjects/src/Project3
cProjects/src/Project4
cProjects/src/Project5
cProjects/src/Project6
installationProjects/src/Project7
installationProjects/src/Project8
installationProjects/src/Project9.

When I share these projects into scm, they are created in the root directory of the workspace. This is messing up my build procedures.

Is there a way to create the projects into subfolders in scm?
Any suggestions?
Thanks a lot, Umberto

In the Eclipse client when you load the projects, you can specify advanced options. This will allow you to change the default directory structure. If you have your Java projects loaded into the 'javaProjects' component, you can load them to disk in the javaProjects/src directory and your projects will be created there. You can also select the shared folders that you want to load in case you want to load a project's source files into javaProjects/src and any binaries into javaProjects/bin.

You can also use the command line tool for loading projects to specific locations.

I hope that helps.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.