Sunday, March 8, 2009

Setting up SVN for Netbeans 6.1

Easy steps to setup SVN for Netbeans IDE 6.1:

Download
1- svn-win32-1.4.6
2- TortoiseSVN-1.4.5.10425-win32-svn-1.4.5

--:Setup steps:--

  • Unzip it there
  • Setting up the CVS
Add c:\svn-win32-1.4.6\bin to Path (Right click MyComputer >> Properties >> System >> Advanced System Settings >> Environment Variables >> Path variable >> append (c:\svn-win32-1.4.6\bin) to it.

  • Now creating repository.
  1. Create a folder named My-Repository for example
  2. Right click anywhere over the folder window
  3. TortoiseSVN >> Create Repository Here >> Select FSFS Native File System The Repository was successfully created.
  • Applying versioning to your project
  1. Open Netbeans 6.1 IDE, select your project
  2. Versioning >> Import into Subversion repository
  3. Enter following into text box:
  4. file:///c:/My-Repository
  5. (My-Repository is the repository name you just created in step 5.)
  6. Your repository folder name is already entered there.
  7. You need to put some comment message over the text box. Click Finish
  8. All the files in your project is not appended to the repository, now you need to commit it.
  • Right click on your Project >> Versioning >> Commit
You are done!!!
Note: Now if any change comes on any of your files of your project, it will be indicated showing the version difference with the repository.

Enjoy!!!

No comments:

Post a Comment