Q: I am using Eclipse on Windows and I'd like to check out SVN project with Eclipse. How the hell do I do it?
You use 'svnadmin' command to create an SVN repository where you will put in SVN projects. If you don't know how to do it google 'svnadmin create'. Let's assume your (intended) SVN server is running on Linux and you'd like the repository to be /home/michaelwen/svn. Subversion uses this directory to store information about your projects such as file revisions. You won't need to directly deal with this directory; so let's keep it in a safe place and not mess with its contents unless you know what you are doing. The command is the following:
svnadmin create /home/michaelwen/svn
Let's create a directory in your SVN repository to store a project named 'myproj':
svn mkdir file:///home/michaelwen/svn/myproj
Now go to the local folder where you keep the source code you'd like stored in the repository and add an SVN project via the 'svn import' command. An example is the following:
cd /home/michaelwen/where-my-code-for-myproj-is/myproj
svn import file:///home/michaelwen/svn/myproj -m "first import of myproj"
This command will put all contents in /home/michaelwen/where-my-code-for-myproj-is/myproj in file:///home/michaelwen/svn/myproj recursively.
◀ Check Out SVN In Eclipse On WindowsDownload And Install Tortoisesvn ▶
Kamis, 03 Februari 2011
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar