Participant: commit a workingcopy into the stream
I'm working on a server-side participant to change files after delivery.
I have read alot about scmService.batchCommit, but i cannot figure out what are the correct parameters to associate.
Is there some example available? - i have tried this:
https://jazz.net/forum/questions/163448/how-to-add-a-file-in-a-workspace-on-a-serverside-extension
https://www.ibm.com/developerworks/community/blogs/7685ca43-63d4-4946-89fd-58d379a896d1/entry/how_to_read_and_write_a_file_in_the_repository_directly_without_having_to_create_a_workspace?lang=ru
Comments
Evan Hughes
JAZZ DEVELOPER Feb 09 '15, 10:43 a.m.The usual pattern in RTC is to prevent a delivery to a stream that doesn't have the changes you want - that way the stream is moved from one known valid state to the next known valid state. Can you update your question to describe the changes you want to make?
N. VD
Feb 13 '15, 5:11 a.m.Evan,
Evan Hughes
JAZZ DEVELOPER Feb 13 '15, 9:41 a.m.The recommended approach is to have a delivery advisor that requires the change sets to have the content you want.