It's all about the answers!

Ask a question

[closed] Delivered change-sets showing up in active change-sets


Srimanth Gunturi (206125) | asked Nov 01 '07, 1:22 a.m.
JAZZ DEVELOPER
closed Aug 02 '16, 12:46 a.m. by David Lafreniere (4.3k7)
Hello,
I have used the API
IWorkspaceConnection.deliver(boolean, IChangeHistorySyncReport, List,
List, IProgressMonitor)
to deliver a change-set. After doing this when I call
IWorkspaceConnection.refresh(monitor)

After that calling
IWorkspaceConnection.activeChangeSets(IComponentHandle)
still returns the change-set. Shouldnt delivery of a change-set remove
it from activeChangeSets?

Due to this I am unable to determine if a IResource has been actually
delivered or not.
Regards,
Sri.

The question has been closed for the following reason: "Problem is not reproducible or outdated" by daviddl Aug 02 '16, 12:46 a.m.

Accepted answer


permanent link
Dmitry Karasik (1.8k11) | answered Nov 01 '07, 4:06 a.m.
JAZZ DEVELOPER
On Thu, 01 Nov 2007 01:22:20 -0400, Srimanth Gunturi wrote:

Hello,
I have used the API
IWorkspaceConnection.deliver(boolean, IChangeHistorySyncReport, List,
List, IProgressMonitor)
to deliver a change-set. After doing this when I call
IWorkspaceConnection.refresh(monitor)

You don't need to call refresh() after deliver, it should update itself.

After that calling
IWorkspaceConnection.activeChangeSets(IComponentHandle) still returns
the change-set. Shouldnt delivery of a change-set remove it from
activeChangeSets?


Delivery of a changeset will remove it from active changesets. Are you
sure you are passing it in to deliver in the list?

- Dmitry
David Lafreniere selected this answer as the correct answer