Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [LTK Refactoring] Not Able to Move Package(Not able to Move Package by adding FolderMoveParticipant)
[LTK Refactoring] Not Able to Move Package [message #1276855] Tue, 25 March 2014 05:25
Anuj Mehta is currently offline Anuj Mehta
Messages: 10
Registered: July 2009
Junior Member
Hi ,

We have scenario where we have to move package from one location to another location
and at the same time we have to update the files which resides in the moved package or outside the moved package.

Problem:

Whenever we are moving the package using the FolderMoveParticipant (this extends the MoveParticipant)and updating the files which are present only inside the moved package then we get the exception saying that Could not delete package and files which are present inside it.
We are preparing the change for this updation in the createChange Method.



But If we tries to move the package and updates the files which are outside the moved package then there is no issue we are able to move package from one location to another location and able to update the files at the same time.

Is this limitation of re-factoring framework or we have missed something ?

[Updated on: Tue, 25 March 2014 05:25]

Report message to a moderator

Previous Topic:Require-Bundle of org.eclipse.core.runtime causes failure at runtime
Next Topic:How to add trusted CA to eclipse
Goto Forum:
  


Current Time: Fri Oct 31 05:55:20 GMT 2014

Powered by FUDForum. Page generated in 0.27115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software