How can i find Unresolved changes using plain java api?
Hello,
I want to find Unresolved changes Programmatically using java api. or Just want to know whether current workspace connection having any Unresolved changes or not. For finding this use ILocalChange[] localChanges = lcm.getPendingChanges(new IShareable[]{shareable}, null); But it showing some error in debugging "org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array." I dont want to find the changes just want to know whether any Unresolved change is there or not . Thanks in advance!! Regards, Vikas |
Be the first one to answer this question!
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.
Comments
Looks like your environment has some issues. Could you try callingĀ lcm.syncPendingChanges() or lcm.refreshChanges() before your call to lcm.getPendingChanges()?
I tried both the method but it still not worked for me.