It's all about the answers!

Ask a question

Excluding files from delivery


Ron de Jong1 (1611) | asked Apr 19 '07, 5:49 a.m.
Hi,

is there a way to decide for specific files in a project that they should
not be put under version control? There is an option in the context menu
that say add to Jazz.ignore file. Is that the way to do this?

Thanks,
Ron de Jong

One answer



permanent link
Evan Hughes (2.4k1318) | answered Apr 19 '07, 9:43 a.m.
JAZZ DEVELOPER
Hi Ron,

As you rightly guess, the "Add to .jazzignore" action is the way to
prevent a file change from being added to a changeset. Currently it's a
little crufty: if the file/folder is already part of a changeset, the
change will be delivered when the changeset is delivered; but ignored
from then on.

In M0, if you want to prevent a new file from being added to the
repo, the best way is to edit the .jazzignore file by hand. In the
file's directory create a file called ".jazzignore". Add the text to it:

core.ignore= <filename>

where <filename> is the name of the file you will create. Then create
the file. You can also ignore a file by DOS-style patterns (ie, using
'*' and '?').


Alternatively, if you are creating a directory whose contents should
be ignored (such as an output directory), you can just run "Add to
..jazzignore" on the directory as a whole.


The ignore functionality is under heavy development. M1 will contain
many improvements.

e

Your answer


Register or 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.