svn ignore/exclude TARGET

I did both of these, not sure which worked.

If TARGET is already in SVN, you must delete it manually first.

This will keep you from committing bin and target directory files when you add projects to svn

  • 1 At Eclipse level
  1. Click on Window -> Preferences
  2. Select Team -> Ignored Resources
  3. Click on Add Pattern and enter "bin"
  4. Click on Add Pattern and enter "target"
  5. Click on Add Pattern and enter "m2-target"
  6. Click on Add Pattern and enter "applicationTest.log*"
  7. Click on Add Pattern and enter "application.log.*"
  8. Click on Add Pattern and enter "build.info"
  9. Click on Apply and then OK

  • 2 At a project level
  1. Right Click on Team -> Set Property
  2. Select svn:ignore
  3. Use file Select a file in the root of the work space (SVN-Ignore.txt)
  4. Add content target and anything else to IGNORE.
  5. I clicked Set Property Recursively.

All done,

Check your projects back out.