Do .jazzignore files take effect only once delivered?
Hi All, I have a .jazzignore file in folder A, which has been delivered and contains
showing 5 of 6
show 1 more comments
|
Accepted answer
2 other answers
Ralph Schoon (63.1k●3●36●46)
| answered Jul 18 '17, 5:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER By moving the Jazz ignore into a sub folder you basically removed any jazzignore for the files and folders that are not within the hierarchy of that folder.
A .jazzignore files can be contained anywhere under a shared folder. A .jazzignore file that is contained above a shared folder is not recognized. Comments I have also tried with copying instead of moving, which made no difference
A .jazzignore files can be contained anywhere under a shared folder. A .jazzignore file that is contained above a shared folder is not recognized. Does the "shared folder" refer to a folder right below the root folder?
Gergely Mincsovics
commented Jul 18 '17, 8:19 a.m.
adding {B\bin} or {B/bin} to
Gergely Mincsovics
commented Jul 19 '17, 3:36 a.m.
see OPEN QUESTIONS comment on the original question
|
You can add {bin} to core.ignore.recursive. If you will add .jazzignore files in sub directories, you may want to add it as well. So your .jazzignore file in folder A will look like:
Comments
Gergely Mincsovics
commented Jul 19 '17, 11:19 a.m.
thanks, I knew of the recursive solution
|
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.
Comments
OPEN QUESTIONS:
(1) how can I ignore a subfolder
root folder\A\B\bin
so that no other folders get ignored?
(2) What does 'shared folder' refer to in
source:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_scm_eclipse_ignore.html
(3) does rtc read .jazzignore files if these are located
root folder\A\B.jazzignore
at all?
To ignore the folder "root folder\A\B\bin", you need to create a "root folder\A\B.jazzignore" file containing "core.ignore= {bin}". If you don't want this .jazzignore file to show up as pending change as well, add {.jazzignore} to the same file.
If I am not mistaken, a "shared folder" is one that is under RTC source control. In your example, anything one level up of "root folder" and beyond will not be recognized.
RTC reads all .jazzignore files that are in the shared folder structure. It takes effect right after you refresh the sandbox.
I did exactly that ("root folder\A\B.jazzignore"), but it simply did not work. The "root folder\A\B\bin" folder was still showing up as unresolved.
Yes, I tried refreshing, and a few more things, but it had no effect.
Maybe it's just the displaying issue on the forum, but let's make sure, the file is ""root folder\A\B\ .jazzignore" - that is, the .jazzignore file and folder "bin" are in the same folder "B". It works in my RTC 6.0.3 environment.
Hi Donald, yes, you are right. It is a displaying issue.
root folder\A\B\.jazzignore is the path we are talking about
double checked now: my .jazzignore in subfolder B does not work even if delivered, while my .jazzignore in A does work, in RTC 6.0.1