开发者

Ignoring android library bin files in TortoiseSVN?

I have two Android projects, Project A and Library Project B.

Project A uses B as a Android Library.

Both projects are committed to the same SVN repository and for the most part everything works.

However, the bin directory of Project A continually gets flagged as Updated 开发者_开发知识库by TortoiseSVN. It seems like the .svn directories are getting copied from Project B's source directory to Project A's source directory. This isn't interfering with my repository or project setup at all, but it is really annoying to have Tortoise always saying my project is not committed when it in fact is.

Is there any way around this issue? I already added the bin directory to the ignore list, so I don't know why it's even showing up.


I had same problem and finally I solved it!

Suppose PrjA <- lib proj, PrjB <- project that referrencing PrjA

  1. add PrjA/gen , PrjA/bin to svn ignore
  2. add PrjB/gen, PrjB/bin to svn ignore
  3. in PrjB's project properties, remove .svn of PrjA from build path. ( Project > Properties > Java Build Path > Source > PrA/src > excluded > **/.svn/*

Hope this workaround works for you.


use .svnignore


You can do this through the Explorer GUI - look for Tortoise SVN -> Add to ignore list.

Ignoring Files and Directories in Tortoise SVN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜