How to edit the initial .jazzignore list?
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 0My questions are:
# Default value for core.ignore.recursive is *.class
...
core.ignore.recursive= \
{*.suo} \
{*.user} \
....
core.ignore=
- 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)
- 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?
Marco
2 answers
Hi Marco,
I do not have specific answers to your questions, but wanna share this link...in case you have not seen it.
"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.)"
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...