It's all about the answers!

Ask a question

How to get outgoingChangeSets() to deliver in Stream? (RTC SDK 6.0)


Abhishek Khare (111) | asked Dec 11 '15, 7:44 a.m.
edited May 31 '16, 11:58 p.m. by David Lafreniere (4.6k7)

Below is the code to get outgoingChangeSets() . But it is returning empty list and in turn it is failing to deliver . (RTC SDK 6.0)

IChangeHistorySyncReport sync =

wkspConnection.compareTo(

streamConnection,

WorkspaceComparisonFlags.CHANGE_SET_COMPARISON_ONLY,

Collections.EMPTY_LIST,

  null );

List<?> csOutList = sync.outgoingChangeSets(component);

2 answers



permanent link
Ralph Schoon (59.7k23643) | answered Dec 11 '15, 7:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This is my code that I used in an automation:
Delivering Change Sets and Baselines to a Stream Using the Plain Java Client Libraries.

That is all I can contribute.

permanent link
Stefano Antoniazzi (170711) | answered May 26 '16, 11:48 a.m.
edited May 26 '16, 12:01 p.m.
 It's not clear what you expect but check if the empty list comes from wrong initialization of your wkspConnection or streamConnection. It's not possibile to understand this from your snippet.
But it's the right way to go.

Your answer


Register or to post your answer.