Jazzignore - How to ignore all directories of a certain name
Hi all,
I have a project where a directory named "bin", which contains binaries, is created in random locations in the directory tree.
I want to be able to ignore this directory from within the .jazzignore file located in the root folder.
I found how to do it with .gitignore:
Is there a similar solution for .jazzignore?A leading "**
" followed by a slash means match in all directories. For example, "**/foo
" matches file or directory "foo
" anywhere, the same as pattern "foo
". "**/foo/bar
" matches file or directory "bar
" anywhere that is directly under directory "foo
".
Thanks!
Yael
One answer
If the "bin" directory is generated by Eclipse compiling, by default the directory will be marked as derived by eclipse. And Jazz doesn't commit derived resources.
You can check the "bin" directory's properties from Package Explorer if it has "Derived" attribute checked.
If it does not, you can right-click the directory and select "Team > Add to Ignore List" to manually add the directory to ignore list. The file ".jazzignore" will be updated with the following content:
core.ignore= \
{bin}
Please refer to document https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_ignore.html&scope=null about the usage of .jazzignore file.
You can check the "bin" directory's properties from Package Explorer if it has "Derived" attribute checked.
If it does not, you can right-click the directory and select "Team > Add to Ignore List" to manually add the directory to ignore list. The file ".jazzignore" will be updated with the following content:
core.ignore= \
{bin}
Please refer to document https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/t_scm_eclipse_ignore.html&scope=null about the usage of .jazzignore file.