aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes How to implement simple versioning with NetBeans? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to implement simple versioning with NetBeans?" Watch "How to implement simple versioning with NetBeans?" New topic

How to implement simple versioning with NetBeans?

Jonathan Glass

Joined: Jan 23, 2007
Posts: 11
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?!

Jonathan Glass
Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

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 and netbeans support for CVS is fairy good.
take a look at to learn more about netbeans CVS support.

Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
I agree. Here's the link:
subject: How to implement simple versioning with NetBeans?