It's all about the answers!

Ask a question

Excluding Temporary files

Sean Burke (3749112176) | asked Sep 17 '15, 4:08 p.m.
retagged Sep 19 '15, 2:05 p.m. by Ken Tessier (84117)
Just compiling and running my programs creates temporary files that I'll never check in.  Is there any way to set up filters on file extensions to avoid those showing up in the changes?

2 answers

permanent link
Tiago Moura (8387) | answered Sep 17 '15, 4:58 p.m.
 Yes. You can configure the files that Jazz SCM must igonre using the .jazzignore file.

It is a example of contet you can use:

### Jazz Ignore 0
# Ignored files and folders will not be committed, but may be modified during 
# accept or update.  
# - Ignore properties should contain a space separated list of filename patterns.  
# - Each pattern is case sensitive and surrounded by braces ('{' and '}').  
# - "*" matches zero or more characters.  
# - "?" matches a single character.  
# - The pattern list may be split across lines by ending the line with a 
#     backslash and starting the next line with a tab.  
# - Patterns in core.ignore prevent matching resources in the same 
#     directory from being committed.  
# - Patterns in core.ignore.recursive matching resources in the current 
#     directory and all subdirectories from being committed.  
# - The default value of core.ignore.recursive is *.class 
# - The default value for core.ignore is bin 
# To ignore shell scripts and hidden files in this subtree: 
#     e.g: core.ignore.recursive = {*.sh} {\.*} 
# To ignore resources named 'bin' in the current directory (but allow 
#  them in any sub directorybelow): 
#     e.g: core.ignore.recursive = {*.sh} {\.*} 
# NOTE: modifying ignore files will not change the ignore status of 
#     Eclipse derived resources.

core.ignore.recursive= \

core.ignore= \
{bin} \

permanent link
Ken Tessier (84117) | answered Sep 19 '15, 2:04 p.m.
For additional information about using .jazzignore, see Selecting resources to exclude from RTC source control.


Your answer

Register or to post your answer.