It's all about the answers!

Ask a question

How can i find Unresolved changes using plain java api?


vikas v (15318) | asked Dec 14 '15, 8:39 a.m.
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

Comments
Surya Tripathi commented Dec 17 '15, 1:44 p.m. | edited 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 commented Jan 18 '16, 5:01 a.m.

I tried both the method but it still not worked for me.

Be the first one to answer this question!


Register or 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.