Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

.jazzignore questions

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

0 votes



5 answers

Permanent link
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

0 votes


Permanent link

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

0 votes


Permanent link
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

0 votes


Permanent link
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.

0 votes


Permanent link
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.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 27 '08, 9:56 a.m.

Question was seen: 16,100 times

Last updated: Jul 27 '08, 9:56 a.m.

Confirmation Cancel Confirm