Eclipse 开发 Android 应用程序关于SVN插件的一个小事项

在 Eclipse 上开发 Android 应用,在将代码提交到 SVN 时需要注意的是把 bin 和 gen 目录加到 svn:ignore ,因为这两个目录都是编译的输出目录,如果提交到SVN会导致跟别人的工作目录冲突。

操作方法:

  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 Apply and then OK

 

原文地址:https://www.cnblogs.com/xiashenbin/p/2637572.html