How to get the changes in an eclilpse plugin on delivery
One answer
Comments
Hi Ralph. I have read the posts you suggested and am able to get the IChangeSethandle interfaces, but i still do not see what changes are made on the files... Can you provide me with some more information please?
Handles are persistent pointers to objects.. to get the actual object, you need to use one of the Auditable resolvers to get the data out of the database..
here is a call I use in one server side plugin.. this for workitem related info
// Get the full state of the parent work item so we can edit it
IWorkItem workingCopy = (IWorkItem) fWorkItemServer.getAuditableCommon().resolveAuditable(workItem, IWorkItem.FULL_PROFILE, monitor).getWorkingCopy();
and here using the item service
fItemService = getService(IRepositoryItemService.class);
IProjectArea projectArea = (IProjectArea) fItemService.fetchItem(operation.getProcessArea().getProjectArea(), new String[]{IProjectArea.NAME_PROPERTY_ID});
then the objects are populated and you use the object class instead of the object HANDLE class.
I only have what I blogged about, sorry. Another source, maybe could be http://thescmlounge.blogspot.de/ , maybe if you search the web, there could be code snippets out there.