It's all about the answers!

Ask a question

How to move files or folders Programmatically by retaining history


seshireddy c (113) | asked Dec 04 '18, 12:27 a.m.
edited Dec 05 '18, 12:06 a.m.

 Is there any way to  rename/move  a file  by using RTC Plain Java libraries ? 


if yes, Please let us know to  do that.

note : moving files by stand alone application by using RTC Plain Java libraries 

Thank you.


Comments
David Lafreniere commented Dec 04 '18, 8:39 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Can you clarify the question?
The title suggests you want to know 'how' to move files using API,
but the question suggests you want to 'find' renamed/moved files.

One answer



permanent link
seshireddy c (113) | answered Dec 05 '18, 12:55 a.m.

Thanks David Lafreniere for response, now i have corrected the question. mean while i found the below API and it works.


 ILocalChangeManager lcm =  sharingManager.getLocalChangeManager();
 lcm.combineDeleteAdd(repoResolver, localDeletion, localAdition, new NullProgressMonitor());



Your answer


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.