Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:
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 ".
Is there a similar solution for .jazzignore?

Thanks!
Yael

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,130
× 1,381

Question asked: Nov 16 '15, 2:30 a.m.

Question was seen: 7,997 times

Last updated: Nov 30 '15, 4:16 p.m.

Confirmation Cancel Confirm