How do I checkout the same project from two different streams?
I tried Pending Changes-><2nd Stream Component>->Show Repository Files->Load As... to give the project another name in the sandbox, but that did not completely work. The resulting project is out of sync and then not connected to the repository workspace.
3 answers
Comments
Using CVS, one can do Check out as... and get a copy of the project checked out into the same Eclipse workspace using a different name for the project. I don't have to change the .project file to make this happen. I would have expected Load As... to enable the same thing, but as you seemed to warn about, I get the following:
Failure mapping project JavaSpatiotemporalToolkitSWG : Resource '/JavaSpatiotemporalToolkit' already exists.
Since CVS does not have a problem with this, I consider this a problem with RTC and not Eclipse. Any other options here?
You can do this if you load the first project into your local sandbox and in the eclipse package explorer refactor--rename the project itself, add a suffix of some kind. Then load the second project from the other stream/repo workspace (just make sure to load it into a unique local sandbox). When you refactor/rename the eclispe project it does not rename the sandbox parent project folder, more a logical update for the project name in the .project file.
There may be unintended consequences for the project where the project name is somehow referenced in the code but there shouldn't be.
Only method I know of other than running two separate instances of eclipse with unique workspaces and loading/opening the projects independently.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 11 '15, 6:59 p.m.We'll need some more information to answer.
First, note that in RTC, one does not "checkout projects in a workspace".
A workspace can accept changes from a stream, and a workspace can be loaded into a sandbox.
It sounds like you are trying to load files from a workspace into a sandbox, right?
When you say "project", do you mean "Eclipse project"?
And when you are loading the files, do you just want them loaded into the file system, or do you also want them loaded into an Eclipse instance as Eclipse projects?
David Wood
Jan 11 '15, 9:42 p.m.Yes, you're assumptions are correct. I'm trying to Load a project from for two different streams that have the same project name (in Eclipse). Ultimately, I want them both visible in the same Eclipse workspace so that I can do comparisons.