It's all about the answers!

Ask a question

.jazzignore questions


Tom Frauenhofer (1.3k58435) | asked Jul 27 '08, 9:56 a.m.
Using RTC 1.0.

I have a simple project delivered to a stream.

1) Can I control the ignore list at the project level ?
If I right-click on the project and follow goto to "Team", the "Add to
Ignore List ..." option is grayed out. If I do this on a file or folder
inside the project, the "Add to Ignore List" is not grayed out.

2) Is a .jazzignore file created for all projects ? or do you only get
one when you use the "Add to Ignore List.." option ?

3) I'm looking for a 'default' ignore list somewhere in Eclipse
Preferences ... is there a dialog somewhere to set an ignore list for
all new projects ?

4) My builds create all their output in a project subdirectory called
'build'. Can a project level .jazzignore file be setup to ignore
everything in the 'build' subdirectory ?

Thanks

5 answers



permanent link
Tom Frauenhofer (1.3k58435) | answered Jul 27 '08, 10:16 a.m.
I found my answer to 3)

3) Window->Preferences->Team->Ignored Resources


David Ward wrote:
Using RTC 1.0.

I have a simple project delivered to a stream.

1) Can I control the ignore list at the project level ?
If I right-click on the project and follow goto to "Team", the "Add to
Ignore List ..." option is grayed out. If I do this on a file or folder
inside the project, the "Add to Ignore List" is not grayed out.

2) Is a .jazzignore file created for all projects ? or do you only get
one when you use the "Add to Ignore List.." option ?

3) I'm looking for a 'default' ignore list somewhere in Eclipse
Preferences ... is there a dialog somewhere to set an ignore list for
all new projects ?

4) My builds create all their output in a project subdirectory called
'build'. Can a project level .jazzignore file be setup to ignore
everything in the 'build' subdirectory ?

Thanks

permanent link
Evan Hughes (2.4k1318) | answered Jul 28 '08, 9:46 a.m.
JAZZ DEVELOPER

1) Can I control the ignore list at the project level ?
If I right-click on the project and follow goto to "Team", the "Add to
Ignore List ..." option is grayed out. If I do this on a file or folder
inside the project, the "Add to Ignore List" is not grayed out.


You can control the ignore list at the project level - when you ignore items, set the ignore to be "Global to the entire project". There is no UI for editing/modifying the ignore list directly: you must (un)ignore resources using the Team > Add/Remove from ignore list. Or you can edit the .jazzignore file directly.

2) Is a .jazzignore file created for all projects ? or do you only get
one when you use the "Add to Ignore List.." option ?


By default, all projects ignore "bin" (in the project root) and "*.class" files (globally). You'll only get a .jazzignore file if you modify this list.

3) I'm looking for a 'default' ignore list somewhere in Eclipse
Preferences ... is there a dialog somewhere to set an ignore list for
all new projects ?


No. You can edit the ignore list when you share a project, if that's useful.

4) My builds create all their output in a project subdirectory called
'build'. Can a project level .jazzignore file be setup to ignore
everything in the 'build' subdirectory ?


Yes. The easiest way to create that ignore rule would be to run "Team > Add to Ignore list" after the 'build' dir has been created, and then to share the change to the .jazzignore file.

e

permanent link
Tom Frauenhofer (1.3k58435) | answered Jul 28 '08, 2:42 p.m.
Thanks for those answers.

Cheers

echughes wrote:
David Wardwrote:

1) Can I control the ignore list at the project level ?
If I right-click on the project and follow goto to "Team",
the "Add to
Ignore List ..." option is grayed out. If I do this on a file
or folder
inside the project, the "Add to Ignore List" is not grayed
out.

You can control the ignore list at the project level - when you ignore
items, set the ignore to be "Global to the entire project".
There is no UI for editing/modifying the ignore list directly: you
must (un)ignore resources using the Team > Add/Remove from ignore
list. Or you can edit the .jazzignore file directly.

David Wardwrote:
2) Is a .jazzignore file created for all projects ? or do you only
get
one when you use the "Add to Ignore List.." option ?

By default, all projects ignore "bin" (in the project root)
and "*.class" files (globally). You'll only get a
jazzignore file if you modify this list.

David Wardwrote:
3) I'm looking for a 'default' ignore list somewhere in Eclipse
Preferences ... is there a dialog somewhere to set an ignore list
for
all new projects ?

No. You can edit the ignore list when you share a project, if that's
useful.

David Wardwrote:
4) My builds create all their output in a project subdirectory
called
'build'. Can a project level .jazzignore file be setup to ignore
everything in the 'build' subdirectory ?

Yes. The easiest way to create that ignore rule would be to run
"Team > Add to Ignore list" after the 'build' dir has
been created, and then to share the change to the .jazzignore file.

e

permanent link
Marko Doric (161) | answered Jul 09 '10, 6:11 a.m.
is it possible to modify .jazzignore file to exclude some files from source control but to include them in baselines,

or in general to create more sofisticated rule of ignoring files for some actions and for some not.

If there is please give me some example.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 09 '10, 7:54 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A baseline can only be made of files that have been checked in, so no,
you cannot baseline a file that is not under source control.

But you can limit what operations a given user/role can perform on a
source controlled file, by using the source control permissions.

Cheers,
Geoff

On 7/9/2010 6:22 AM, Marko123 wrote:
is it possible to modify .jazzignore file to exclude some files from
source control but to include them in baselines,

or in general to create more sofisticated rule of ignoring files for
some actions and for some not.

If there is please give me some example.

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.