Can't share some files in RTC 3.0
I have been running some tests importing and sharing our code in RTC 3.0 and I suddenly ran into a problem with Ignored Resources when I attempt to share my projects.
My projects contain some .bin and .class files. Previously I had been able to remove those patterns and was able to include those files. But that seems to no longer work.
It is showing me a couple of .class files that will be ignored, but I have cleared out my ignore patterns...
Any ideas?
My projects contain some .bin and .class files. Previously I had been able to remove those patterns and was able to include those files. But that seems to no longer work.
It is showing me a couple of .class files that will be ignored, but I have cleared out my ignore patterns...
Any ideas?
4 answers
The RTC ignore support uses 3 basic mechanisms to determine if a file is ignored.
1) The .jazzignore file
2) The Team/Ignored Resources preference page
3) The derived flag of the resources
The JDT compiler will set the derived flag of any *.class files it creates so these will still be ignored even if you delete the .jazzignore file and remove the pattern from the preference page.
I tried to check in the bin folder by undoing all three ignore sources but I could not so I have opened work item https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/152443 for the issue. You may want to CC yourself to that work item and add a comment as to why you require this and any other issues you see with the work flow.
1) The .jazzignore file
2) The Team/Ignored Resources preference page
3) The derived flag of the resources
The JDT compiler will set the derived flag of any *.class files it creates so these will still be ignored even if you delete the .jazzignore file and remove the pattern from the preference page.
I tried to check in the bin folder by undoing all three ignore sources but I could not so I have opened work item https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/152443 for the issue. You may want to CC yourself to that work item and add a comment as to why you require this and any other issues you see with the work flow.
I've added an explanation to https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/152443. If you have any questions or comments, please add them there.
In general: Eclipse sets the derived bit on a .class file whenever it is built. Since Jazz ignores derived files by default, you'll probably have unpleasant behaviour.
In the short term, I suggest copying the .class files out of Eclipse's build directory and sharing them from there. Then you won't have to worry about derived bit being set. If that's problematic, I suggest you open another work item on Jazz Source Control.
e
--
Evan Hughes
Jazz Source Control
In general: Eclipse sets the derived bit on a .class file whenever it is built. Since Jazz ignores derived files by default, you'll probably have unpleasant behaviour.
In the short term, I suggest copying the .class files out of Eclipse's build directory and sharing them from there. Then you won't have to worry about derived bit being set. If that's problematic, I suggest you open another work item on Jazz Source Control.
e
--
Evan Hughes
Jazz Source Control
In the process of importing source code from the hard drive to RTC 3.0, 1 file in particular failed to get checked in. The file is named main.c.
All other .c files are in the system but this one refuses to come in.
I checked the .jazzignore file and it is clean.
a check in and deliver on this one file gives the error:
CRJAZ12471
Which doesnt really mean much to a new user like myself.
Any clues on how ot resolve this issue?
Thanks
All other .c files are in the system but this one refuses to come in.
I checked the .jazzignore file and it is clean.
a check in and deliver on this one file gives the error:
CRJAZ12471
Which doesnt really mean much to a new user like myself.
Any clues on how ot resolve this issue?
Thanks