Reputation: 69
I have a certain gradle multiproject on svn. When I check out to local directory and do gradle eclipse
, .classpath and .project files are created in each subproject directory (directory structure below) which should be further ignored by svn.
myproject
-A
-src (several directories under src)
-lib (several directories under lib)
-.classpath
-.project
-B
-src (several directories under src)
-lib (several directories under lib)
-.classpath
-.project
-C
-src (several directories under src)
-lib (several directories under lib)
-.classpath
-.project
-build.gradle
When using svn:ignore property as so svn propset svn:ignore -R -F .svnignore .
(contents of .svnignore file below) it affects all the sub-directories as required however it also affects all the sub-sub directories and changes their property which is not required (i.e./src and ./lib and every level under that). Now what I am trying to do is only ignore .classpath and .project one directory level below, i.e. each sub-project and no deeper than that, something like svn propset svn:ignore -F .svnignore .*\
Contents of .svnignore file:
.classpath
.project
Upvotes: 1
Views: 193
Reputation: 97270
svn propset
, get missing objects|return depth state by update with --set-depth 'immediates'
Upvotes: 1