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

Update existing file on stream using RTC Java API

Hello,


I have some files already delivered on stream.
I want to update the file and deliver it again to same location in component.
But I am getting error while committing the changes to stream that Multiple children with same name already available.
Please let me know which API is used for committing updates for file.
I am using RTC Plain Java APIs 7.0.1

Thanks in advance.

Regards,
Arati

0 votes



One answer

Permanent link

 Hi,


the Plain Java Client Libraries contain pretty much everything that is needed to do the job. Just because you use an API does not mean you do not have to understand how the fundamental mechanisms work. Quite the opposite, the rules hold true to the API as well.  In general you create change sets, and check in the changes. You deliver change sets which completes them and sends them to the stream. You can delay delivering change sets, but if you want to do another modification in a new change set to a file that has changes in an open, not completed change sets, you would get an error similar to the one you mention. Try the sequence in the tool, before trying to use the API.

Some of the use cases have been implemented in this tool: https://github.com/jazz-community/ewm-scm-utils

0 votes

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
× 10,927

Question asked: Aug 05 '22, 4:05 a.m.

Question was seen: 1,007 times

Last updated: Aug 05 '22, 7:52 a.m.

Confirmation Cancel Confirm