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

Accept Single ChangeSet Using Plain Java API Not updating local sandbox

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 ?

0 votes



One answer

Permanent link

 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.

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

Question asked: Oct 01 '19, 7:11 a.m.

Question was seen: 994 times

Last updated: Oct 01 '19, 7:54 a.m.

Confirmation Cancel Confirm