Is it possible to deliver a given file as a changeset to a component instead of creating the file and then copying the contents in RTC SCM ?
![]() Hello All,
|
One answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 19 '17, 3:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER What is described in https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/ is the only method I am aware of. Why should there be more than one in the API? You can certainly search the API for usage of the calls and may be find a short cut. In any case the information that is needed is needed
Comments thanks for the reply Ralph....We have used the above mentioned method itself.. Its working fine...We are able to checkin the files. :)
however our usecase is slightly different then the one in the provided sample example. It is to finally, "Deliver the each file as a new changeset"(We need this for future enhancements). so we now have succeeded in creating new changesets for each file checkIn.
however they are not delivered. Are there any APIs to deliver the changeset by associating the workitem and adding a comment to the changeset programmatically ?
We are getting pre-condition failure exception in this case :(
Request you to assist.
1
IWorkspaceConnection#deliver() IFileSystemWorkItemManager#createLink() IWorkspaceManager#setComment() <style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} </style> 1
The series of posts I sent you actually talks about delivery of change sets as well. Does not matter how many change sets you create.
Thanks for the reply Shashi and Ralph..We will try on the above mentioned APIs and will get back to you with our approach.
|
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.