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

How to edit the initial .jazzignore list?

Hi Jazz community,

when I open a new project and add a file to the ignore list, a new .jazzignore file is produced. It has some pre-set values like:

### Jazz Ignore 0
# Default value for core.ignore.recursive is *.class
...

core.ignore.recursive=  \
    {*.suo} \
        {*.user} \
        ....

core.ignore=

My questions are:
  1. How are are those preferences produced and is it possible to edit this core.ignore.recursive= / core.ignore= values are set by default? (I know that the .jazzignore file is editable to add more values to ignore but I need some values by default)
  2. Is it possible to set .jazzignore files a whole Project Area i.e. can we set the core.ignore.recursive= / core.ignore= values for a Project Area (and all Project Areas which use the process configuration of this Project Area) by default?
I'm looking forward to your answers.
Marco





0 votes



2 answers

Permanent link

Hi Marco,

I do not have specific answers to your questions, but wanna share this link...in case you have not seen it.

http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_scm_eclipse_ignore.html

"You can edit any .jazzignore file to add, change, or remove ignored patterns and file names recursively at any level of the tree. To specify names and patterns to be ignored in all folders of a project, add the names and patterns to the value of the core.ignore.recursive property in the .jazzignore file at the project root. For example, to ignore all files in a project that have suffixes .htm, .html, and .cat, set the value of core.ignore.recursive as follows:

core.ignore.recursive= {*.htm} {*.html) {*.cat}

To specify names and patterns to be ignored in a specific folder, add the names and patterns to the value of the core.ignore property in the .jazzignore file in that folder. (The value of core.ignore.recursive is ignored in .jazzignore files in subfolders of a project root.)"

1 vote

Comments

Hi Kot,

thanks for your answer. I the article I found out that there are some ignore settings by default.
I see, that I can edit this "Ignored Resources" to ignore other files. But I'm more interested in the default settings. Can I set more "Ignored Resources" by default?

Kind Regards

Marco

I think you should extend theĀ com.ibm.team.filesystem.client.internal.ignore.JazzIgnoreFile class to add your own patterns...


Permanent link
Hi Sec,

thanks for your answer. Since we use both clients (Eclipse and Visual Studio) it is necessary to provide the functionality for both. Does the mentioned class work for both clients or does the Visual Studio client work with another approach?

Greetings Marco

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
× 1,202

Question asked: Oct 16 '13, 7:09 a.m.

Question was seen: 8,210 times

Last updated: Dec 03 '13, 3:53 p.m.

Confirmation Cancel Confirm