It's all about the answers!

Ask a question

Using jazzignore to override platform ignore list


Tom Frauenhofer (1.3k58435) | asked Sep 26 '08, 2:49 p.m.
Can a project's .jazzignore file be used to 'un-ignore' a filetype that
is listed in the Eclipse platform ignore list ??

Why ?

Well, I want to put a directory of build tools under jazz version
control. The directory contains a number of .exe and .dll files (on
Windows) and these file extensions are in the Eclipse platform ignore
list. I want to keep the platform ignore list the way it, because, most
of the time, .exe's and .dll's should be ignored.

2 answers



permanent link
Evan Hughes (2.4k1218) | answered Sep 26 '08, 4:31 p.m.
JAZZ DEVELOPER
Can a project's .jazzignore file be used to 'un-ignore' a filetype that is listed in the Eclipse platform ignore list ??


Nope. The patterns specified in a .jazzignore are purely additive. They can't unignore something else.

I want to put a directory of build tools under jazz version control. The directory contains a number of .exe and .dll files (on Windows) and these file extensions are in the Eclipse platform ignore list. I want to keep the platform ignore list the way it, because, most of the time, .exe's and .dll's should be ignored.


On my build, .exe and .dll are shared by default. I suspect yours should be too. There are two possible reasons why they may be ignored:
1. They may be derived. Check if this is the case by opening the properties on the item, and looking for the 'derived' checkbox on the Resources page. Derived resources are generated from source, and are ignored. You can share a derived resource by clearing the derived checkbox.
2. They may be in an ignored directory.

(As a side note: .dll and .exe aren't ignored by default because eclipse properly marks them as derived, meaning you don't need the patterns)

If they are ignored, open the properties dialog, go to the Jazz page, and see what the ignore reason is. That should point you to the actual reason.

e
--
Evan Hughes
Developer, Jazz SCM

permanent link
Tom Frauenhofer (1.3k58435) | answered Sep 26 '08, 5:32 p.m.
My Eclipse Ganymede (3.4 ?) had .exe and .dll in the platform ignore list.

Just curious, but how does Eclipse/Jazz know that a given file is
'derived' ?

So, by design, the jazzignore file won't override the Eclipse platform
settings ?

Pity .. I have some other filetypes that my 'build tools' project needs
to share. I'm going to be forced to share them in all projects.

Thanks the info
Cheers

echughes wrote:
David Wardwrote:
Can a project's .jazzignore file be used to 'un-ignore' a filetype
that is listed in the Eclipse platform ignore list ??

Nope. The patterns specified in a .jazzignore are purely additive.
They can't unignore something else.

David Wardwrote:
I want to put a directory of build tools under jazz version control.
The directory contains a number of .exe and .dll files (on Windows)
and these file extensions are in the Eclipse platform ignore list. I
want to keep the platform ignore list the way it, because, most of the
time, .exe's and .dll's should be ignored.

On my build, .exe and .dll are shared by default. I suspect yours
should be too. There are two possible reasons why they may be
ignored:
1. They may be derived. Check if this is the case by opening the
properties on the item, and looking for the 'derived' checkbox on the
Resources page. Derived resources are generated from source, and are
ignored. You can share a derived resource by clearing the derived
checkbox.
2. They may be in an ignored directory.

(As a side note: .dll and .exe aren't ignored by default because
eclipse properly marks them as derived, meaning you don't need the
patterns)

If they are ignored, open the properties dialog, go to the Jazz page,
and see what the ignore reason is. That should point you to the
actual reason.

e
--
Evan Hughes
Developer, Jazz SCM

Your answer


Register or to post your answer.