Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to implement simple versioning with NetBeans?

 
Jonathan Glass
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -
I'm pretty new to NetBeans and Java, and I'm writing a fairly complex desktop application with no other coders helping. For "versioning," I made a folder in my Project folder called PackageBackups. To back up my work, I frequently go to the Folder view window in Netbeans, copy the package folder I'm working on from the src directory of my Project folder, and paste it in the PackageBackups folder giving it a name with a date and version number. Then when I need to revert to a previous version, I delete classes (or the whole package) from my src directory and paste in the older classes or package from the appropriate backup directory containing the previous version.

I suspect there are pitfalls to this methodology and that there is a better way. I see that there is CVS which is integrated into NetBeans and seems somewhat complicated and I need a "repository," etc. Should I by all means learn CVS, or might that be overkill? Is there an intermediate sort of version control tool or method I might use instead? I've been known to copy and paste code into word files to use their Compare Documents feature to see what I've changed from a previous version. NetBeans and/or CVS seems to have such a feature... What would you recommend for a versioning solution?!

Thanks,
Jonathan Glass
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I recommand you to use CVS, learning CVS is not overkill and its an essential thing for developers.
You can simply setup your own repository using CVSNT http://www.cvsnt.com/ and netbeans support for CVS is fairy good.
take a look at http://www.netbeans.org/kb/50/cvs-tutorial.html to learn more about netbeans CVS support.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic