This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?!