Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsOptimizing backup strategy with Tortoise SVN
https://www.eclipse.org/forums/index.php/mv/msg/591881/1181387/#msg_1181387
I am using TortoiseSVN outside (obviously) of Kepler. I tried installing Subversive and while it did actually look like it was working (e.g. the repository browser) I could not figure out how to actually check things into my repository! I've been using TortoiseSVN for so long that I more or less expected the experience to be the same.
One apparent advantage of Subversive is that is already knows which files NOT to back up from your workspace folders. I am not sure, so with TortoiseSVN I'm backing up everything, including .class files, .metadata\.plugins, etc, which seems wasteful of time and bandwidth.
Is there a guide somewhere as to what parts of the Eclipse workspace (for Java, Xtext, Xtend development) are critical to back up, and which parts are not?
Thanks,
GW
]]>Gary Worsham2013-11-11T15:18:33-00:00Re: Optimizing backup strategy with Tortoise SVN
https://www.eclipse.org/forums/index.php/mv/msg/591881/1219293/#msg_1219293
I don't know if there're guidelines or not, but I could tell what exactly sould and shouldn't be versioned if you're working with Eclipse and Tortoise SVN:
1) .metadata folder and entire its content shouldn't be versioned since it is not related to the projects you're working with
2) project folders (typically they're folders in your workspace on the same level as .metadata) and their content generally should be versioned except some special cases:
- autogenerated stuff (like *.class files for example, Eclipse identifies them as derivied resources and version control plug-ins tend to automatically ignore them)
- .settings folder is probably not recommended to be stored in source control, since it's content depends on eclipse and/or installed plug-ins version.
So, when you're sharing your project you should add these resources to svn:ignore which will automatically prevent you from committing them later.]]>Alexander Gurov2013-12-03T08:16:58-00:00