[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[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.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.8/1236 - Release Date: 21.01.2008 20:23
 
Received on 2008-01-22 15:17:49 CET

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.