Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Any way to ignore all .* files EXCEPT the .jazzignore file?

Hi,

I'd like to set up the .jazzignore file such that I can safely ignore all dot files (ie: .*). However, I would like to commit the .jazzignore such that everyone on the team follows the same rules.

Unfortunately, if I specify the a {.*} rule, then the .jazzignore is included in that filter and is excluded from the changelist. So I cannot commit it.

Is there any way to specify an exclusion within .jazzignore such that I can say ignore {.*} except .jazzignore?

Thanks,

Eric

2 votes

Comments

We would be able to excude from versioning all except one resource, too.

For instance, we would exclude packages in the src directory that do not start with "my.package.". Any chance to set a regular expression in the .jazzignore file like this:
core.ignore={ ^(my.package.) }
        
Thanks in advance.



One answer

Permanent link
There isn't currently a mechanism to match everything except a pattern. You'll have to construct a set of ignore rules that don't match the .jazzignore, but do match the other files/folders that appear in the same directory. 


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

Question asked: Jan 19 '12, 10:06 p.m.

Question was seen: 6,605 times

Last updated: Nov 12 '15, 10:27 a.m.

Confirmation Cancel Confirm