Is it possible to have 1 workspace which contains different branched copies of the same project? Say I have Project1, and it is in this structure:
/trunk/Project1
/branches/1/Project1
/branches/2/Project1
Can I have 3 instances of Project 1 in the same workspace, where each eclipse project points to either the trunk or one of any branches? Basically I am just wondering if I have to avoid creating a new workspace for each branch.
Merging means creating a version by blending different revisions of resources. To start merging click 'Team>Merge...' menu item of the resource pop-up menu, 'Merge...' menu item of the SVN main menu group or on the 'Merge...' button on the 'SVN Toolbar'.
Try to import the original project as an SVN Project (through File>Import...) directly from the repository (use a new project name if you get conflicts). Verify that the Team menu is working for this project.
Yeah you can. Simply right click the desired project you wanna checkout in the svn repository view and select Find/Check Out As...
and give the project a unique name.
Actually, I just had to switch to a branch from the trunk for ~30 projects and found that Eclipse is very smart and allows you to do the switch in a single operation.
What it does, it takes the base SVN URL for all of these projects and allows you to change it. So, in my case the common URL for them was ..../trunk
and it was enough to change it to .../branches/mybranch
.
This thread is a little old, but I thought I'd throw this out, looking for a solution myself. I didn't find a way to have the same project name. But, if you import as a Maven project, there's a dialog that makes it easy to template project names for multi-module projects. I put a screen shot here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With