eclipsesvnradspring-tool-suitesvn-repository

Export repository locations from STS or RAD


Due to recent hardware failures, I am having to set up a new workspace for STS and I have a lot of repositories to add.

I have added them all, but I am trying to find a way to export the repository locations so that in the future, anyone on my team or myself could pull them out of my network drive and just import them in. This would save me some time. It wouldn't be a lot of time I know, but it would be nice.

So far, the only thing I have found was an Eclipse option that I could select File/Export, select SVN Repositories and voila. However, using STS or RAD, I am not getting the SVN Repository option in the export options. Is that Eclipse exclusive? If so, why would it be removed for STS and RAD?

Any help pointing me in the right direction is appreciated.


Solution

  • There are two different projects that can provide svn support in Eclipse: Subversive (from eclipse.org) and Subclipse (from tigris.org). STS includes Subclipse, but many people get Subversive when they install SVN support into a "plain" Eclipse. Subversive includes the ability to export your repositories when exporting preferences. My copy of STS, which has Subclipse 1.8.22, does not (like you observe). It appears that the feature was supposedly added to Subclipse a few years ago, according to this and this (bug tickets for subclipse), so I'm not sure what's going on there. Maybe the version of Subclipse that STS includes is out of date... who knows.

    One potential workaround would be to export Team Project Set(s) for the project groups that you want to be able to easily import. That will automatically include the repository info, but has other advantages, too. Read more about them here and here.