How to exclude a subtree from triggering a build
We have a subtree of our subversion project that includes documentation updated constantly. Any changes there does not impact the application but triggers a build.
Is there a way to exclude a subtree like in ant: subtreeroot/** or %build.working.dir%/subtreeroot/** ?
Should I submit an issue for this?
Jacques
Please sign in to leave a comment.
Ok I found my own solution:
/subtreeroot/
For anyone wondering this uses the typical dumb-down regular expression syntax:
: 0-n characters (.* in regexp)
? : 1 character (. in regexp)
I have submitted an issue to add inline documentation
http://www.jetbrains.net/jira/browse/TW-1625
BTW what is the path given to the pattern to match?
Does TC remove the agent work dir of that build config off of the file path?
if the file is /// TC matches the ignore patterns to //]]>
IMHO this would be the most intuitive choice.
Jacques
My question about the path given to the ignore pattern to match needs to be answered still
Hi Jacques,
ignore pattern works with path gotten from VcsChange. The path depends on
version control you're working with. This path is displayed on the changes
page. So the simplest way is look at some changes, copy path you want to
ignore and paste it to ignore pattern (if you want to ignore some group of
files you can use asterix there in any place).
--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jacques Morel" <bibou644-jetbrains@yahoo.com> wrote in message
news:32285499.1170745675274.JavaMail.itn@is.intellij.net...