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
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
Comments
Surya Tripathi
Dec 17 '15, 1:45 p.m.Looks like your environment has some issues. Could you try callingĀ lcm.syncPendingChanges() or lcm.refreshChanges() before your call to lcm.getPendingChanges()?
vikas v
Jan 18 '16, 5:01 a.m.I tried both the method but it still not worked for me.