Reputation: 35
I want to use TortoiseSVN together with Eclipse. For now I just want to try it out. So I use a local folder as repository. I have installed TortoiseSVN 1.7.13. I created a folder called 'REPOSITORY' and chose 'Create repository here' from the context menu.
As other websites told, I installed Subclipse 1.8.22 in Eclipse. I use the SVNKit1.7.9 as client or connector (Whatever it is called).
I had already some projects in eclipse's workspace. From the context menu I chose 'Team->Share Project'.
That is what other websites told to do.
It did show the normal commit dialog and so on. The projects are marked as commited but the folder 'REPOSITORY' is still small in size.
It seems, that the projects where not copied or moved to the repository.
At work we have a server based SVN. I just want to have something like that at home.
Did I miss something? Isn't it the purpose of the SVN repository to hold a copy of the projects? So the commited projects should be inside the REPOSITORY, right?
Greetings
Mike
Upvotes: 1
Views: 15248
Reputation: 1158
Apparently, you have to manually import the project in Eclipse into the repository created with TortoiseSVN before actually committing to it.
This other page might help you. It gives a very detailed walkthrough of how to set up exactly the kind of local system you want. In essence:
In Eclipse, delete the project but not its contents (Delete project contents on disk
unchecked). This will leave the project's folder under your workspace location untouched.
Outside Eclipse, import the project folder into the repository previously created with TortoiseSVN (Right click on folder
> TortoiseSVN
> Import
and select the URL of the repository). Once imported, you may wish to delete the project folder.
Back in Eclipse, checkout the project from TortoiseSVN's repository (e.g. Right click on Package Explorer
> Import..
> SVN
> Projects from SVN
).
Hope that helps.
Upvotes: 1
Reputation: 2174
If your project's folder structure and package structure are the same, you can use Eclipse Subversive. It's just a plugin for eclipse and provides all features of TortoiseSVN
Upvotes: 1