Page 1 of 1

Eclipse and SVN

Posted: Sat Dec 20, 2008 8:17 am
by jleni
I need to use svn with a netburner project, but there is a lot of files in .metadata and I don't know what should be ignored..
any tips?
Thanks

Re: Eclipse and SVN

Posted: Mon Jan 05, 2009 2:43 pm
by Forrest
If you are backing up your entire workspace, you should save these files as well. (<nbinstall>/nbeclipse/workspace/.metadata) They contain Eclipse configuration and settings. They also contain a history of your edits so you can undo/redo files across sessions. This is enabled by default, and I believe by default will save all edits for 7 days. I upped mine to a fwe months, so this area tends to get rather large for me.

If you are just backing up on a per project level, the .metadata under <nbhome>/nbeclipse/workspace can be left out. You should however, back up all files that are under your workspace/<projectname> folder.

Are you familiar with the SVN plugin to Eclipse? It will work with NBEclipse 2.3+ (when released)