It's all about the answers!

Ask a question

Accept Single ChangeSet Using Plain Java API Not updating local sandbox


seshireddy c (113) | asked Oct 01 '19, 7:11 a.m.
Use case 1: Accept all changesets once.
Use case 2: Accept changeset one after the other.
below code is used in both usecases
repositoryWorkspaceConnection.accept(AcceptFlags.DEFAULT, incomingChangeSets, teamRepository, null);

Use case 1 : Works fine with the above code.
Use case 2 : Change sets are accepted and changes are present in the repository work space but file changes are not reflected in the local sandbox.

Is there any other API ? or do i need to add additional code to update local sandbox ?

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Oct 01 '19, 7:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 For all I know just because you accept a change set into a repository workspace does not automatically load it into a sandbox. I would suggest to look into the Eclipse client code that is used if the accept action is called. It is likely in the SDK and can be found.

Your answer


Register or 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.