[Subclipse-users] Cannot rename file in moved package before commit
From: Jaan Vajakas <Jaan.Vajakas_at_regio.ee>
Date: Tue, 22 Jan 2008 16:16:31 +0200
Steps to reproduce:
Create two projects (uuu and ttt).
Add one file A.java in package aaa in project uuu.
Commit uuu and ttt to repository.
Move package aaa from project uuu to ttt in Eclipse Package Explorer (by dragging the package from the src folder of project uuu to the src folder of project ttt).
Try to rename (Refactor->Rename) the class A (that is now in package aaa in project ttt) to „B“.
Expected result: Class A is renamed to B and A.java is renamed to B.java.
Actual result: A.java is not renamed to B.java, failure dialog shown
This is shown in the Eclipse console:
move C:/test_workspace/uuu/src/aaa C:/test_workspace/ttt/src/aaa
A C:/test_workspace/ttt/src/aaa
D C:/test_workspace/uuu/src/aaa/A.java
D C:/test_workspace/uuu/src/aaa
delete --force C:/test_workspace/uuu/src/aaa
D C:/test_workspace/uuu/src/aaa/A.java
D C:/test_workspace/uuu/src/aaa
move C:/test_workspace/ttt/src/aaa/A.java C:/test_workspace/ttt/src/aaa/B.java
Trying to use an unsupported feature
svn: Cannot copy or move 'C:\test_workspace\ttt\src\aaa\A.java': it's not in the repository yet; try committing first
Eclipse platform version: 3.3.1.1
Subclipse version: 1.2.4
Jaan Vajakas
No virus found in this outgoing message.
|
This is an archived mail posted to the Subclipse Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.