• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

How to implement simple versioning with NetBeans?

Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?!

Jonathan Glass
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic