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

How can I share .class files within one project's sub-folder, but ignore all others?

I am using Eclipse (Version: Indigo Service Release 1, Build id: 20110916-0149) with RTC 4.
I have a component containing two Eclipse projects (ProjectA and ProjectB) that I have loaded and imported.
Each has .class files in sub-directories of my choosing, which I want ignored (as is the default setting).
However ProjectB has one sub-directory in which all .class files need to be under source control.

I have tried a number of modifications to .jazzignore file(s) to no avail.
How can I do this?

0 votes


Accepted answer

Permanent link
https://jazz.net/forum/questions/30262/how-to-check-in-class-files-in-rtc

That question looks like the exact issue you're having and has been answered.
Aamir Shipton selected this answer as the correct answer

0 votes

Comments

Thanks for the response. The answer in that link tells me how to get RTC to stop ignoring all the .class files in the project but doesn't allow to choose only one folder where they are not ignored.
The suggestion is to remove the rule, but I want to modify it, in a complex way, rather than remove it.

You'll have to further customize the .jazzignore file. By default, it's a global, recursive ignore on .class files. You have to remove that ignore rule and implement a *.class ignore where you want them ignored.

 So I'd have to create a new .jazzignore file with the *.class clause in every child directory of the project root folder? (Except the one folder in which I want to use source control on the .class files, of course.)
Is that right?

Yes. You can follow the instructions in the other forum post to remove the global ignore. Then ignore the .class files where you don't want them to be shared as you would normally with any file that is to be ignored.

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
× 12,017

Question asked: May 30 '13, 8:03 a.m.

Question was seen: 4,825 times

Last updated: May 31 '13, 8:53 a.m.

Confirmation Cancel Confirm