IntelliJ和svn:忽略 [英] IntelliJ and svn:ignore
问题描述
IntelliJ似乎不尊重 svn:ignore
IntelliJ does not seem to honour svn:ignore
我使用Maven根据注释生成类处理器。这些类被编译成target / generated-sources / apt
I use Maven to generate classes based on an annotation processor. These classes are compiled into target/generated-sources/apt
我将 svn:ignore
添加到目标目录(放置在目标的父节点中)但IntelliJ仍然想要提交目录。
I add an svn:ignore
to the target directory (placed in the parent of target) but IntelliJ still wants to commit the directory.
当我选择Subversion - > Commit时,选择提交此目录。
When I select Subversion -> Commit this directory is selected to be committed.
我不能在模块属性中使用exclude选项,因为这个目录包含源代码,所以不能排除它,它必须不被检入。我也不能使用全局过滤因为它不是我想忽略的任何特定扩展名,它是一个完整的目录和所有的子目录。
I cannot use the exclude option in the module properties as this directory includes source code, so it must not be excluded, it must just not be checked in. Nor can I use a global filter as it's not any specific extension I want to ignore, it is a whole directory and all the sub-directories.
BTW,我正在使用在Ubuntu上运行的IntelliJ 10.5和SVN 1.6
BTW, I'm using IntelliJ 10.5 running on Ubuntu and SVN 1.6
推荐答案
尝试将其添加到设置
| 版本控制
| 忽略的文件
。
Try to add it into Settings
| Version Control
| Ignored Files
.
这篇关于IntelliJ和svn:忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!