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

Ignore rule: can we define global ignore and override it for a sub folder?

Hello,

In RTC component, I have an ignore rule at the top project folder with definition like

core.ignore.recursive= \
  {obj} \

{bin}

Under the project folder, there is a sub folder which contains "bin" folder. This bin folder should not be ignored. When I chose to "Remove from ignore list", the RTC actually removes the {bin} from the .jazzignore file. I ended up with losing the global definition.

How could I still keep the global define but let a specific folder ignore the global define?

0 votes



One answer

Permanent link
I've tried creating a .jazzignore like this:

core.ignore.recursive= \
{*.class} 
core.ignore= 

It did not ignore the bin file for that project and it created the .jazzignore file in the project directory. Then I went to the properties of the bin folder and unchecked the "derived" attribute. This should be sufficient so that Eclipse will allow RTC to detect any changes to your bin folder. The .jazzignore file is also in the project directory so it won't affect your other projects.

The .jazzignore file determines whether RTC should ignore the resource or not. The derived attribute is something in Eclipse that can help RTC determine that the resource should be ignored.

1 vote

Comments

Thanks, Tim.

This seems not working for me. After I defined to ignore {bin} in the ignore file under the project folder, the property "Derived" is not checked for bin folder under the project folder, but they  are ignored.

Sorry, I had to edit my post to clarify that it did not ignore the bin when defining the .jazzignore file.

Your case seems to be expected. You defined the bin folder to be ignored so what you're seeing makes sense. If you want to see changes in that directory, remove the bin from your .jazzignore and uncheck the "derived" attribute.

The core.ignore list is a list of resources to ignore. It isn't a list of resources for the .jazzignore to ignore.

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
× 12,029
× 1,204

Question asked: Feb 12 '13, 2:22 p.m.

Question was seen: 7,436 times

Last updated: Feb 19 '13, 9:08 a.m.

Confirmation Cancel Confirm