Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes

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.


Be the first one to answer this question!

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 14 '15, 8:39 a.m.

Question was seen: 3,443 times

Last updated: Jan 18 '16, 5:01 a.m.

Confirmation Cancel Confirm