NetBeans version control for newb?

I am a relatively new programmer and I have never used version control before. I am working on a Java project at NetBeans and wondering about some good versioning options that are relatively easy to install and use. Not sure if that matters, but I am running OSX.

+6
version-control netbeans
source share
3 answers

Subversion was a simple solution for my project limitations. The Subversion Guide for NetBeans: http://www.netbeans.org/kb/docs/ide/subversion.html was especially useful in terms of going through installation and basic use.

+2
source share

From the menu, if you go to Tools> Plugins, you can install the plugin for any version control you use. I have IDE 6.7 installed and it comes with Subversion SVN, CVS, and Mercurial.

When I set up my NB project as an SVN repository, I did it first outside of NB using the svn command. After installation (it makes .svn folders everywhere) NetBeans automatically detects it and allows me to update / commit / it all.

+1
source share

I work with Mac OS X, with Netbeans 6.7 + SVN.

The first thing to do is create a new repository in which all your files will be stored. This can be done using a GUI tool such as SVNx or through the command line:

svnadmin create REPOS_PATH 

Once this is done, you are ready to import the project into the repository via the Netbeans interface! If everything is set up in your netbeans, you can right-click on a project that is not version-controlled and select "Command> Import to SVN Repository" or something like that (you do not need to have NB right here to look for the correct entry).

After that, if everything is in order, your project will be under the control of the SVN version. Then you can perform a check to get a local working copy of the code, commit files, return, etc.

Hope this helps!

0
source share

All Articles