Hi subclipse developers,
i just updated subclipse using the update-site.
When trying to rename a class, the following error occurs:
--------------
An exception has been caught ..
Reason:
Resource is out of sync with the file system: /somepath/Test.java
Click "Undo" ...
Click "Abort" ...
--------------
SVN Console shows the following log:
--------------
mv -r HEAD /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipse.java /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipseRenameFeature.java --username grotzke --password ******* --non-interactive
A /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipseRenameFeature.java
D /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipse.java
Warning : this version of svn has not been tested with command line client interface. Some commands will perhaps not work
--------------
NOTE: i'm using javahl, the warning occurs independently from the choosed svn interface.
Now when choosing "Undo" or "Abort", it makes no difference:
E.g., when choosing to "Undo", the class declaration is the former one
(public class TestSubclipse), while the file name remains renamed
(TestSubclipseRenameFeature.java)...
There are no svn-commands performed, no "svn add --force ..." or sth.
like that!
Now, when i change the class declaration to the new desired name,
and afterward do a commit, i got my class renamed, and everything is
fine -- as long as i do not have any dependencies on this class -- these
were broken...
Otherwise, when i do NOT change the class declaration, but try to rename
once more, back to the original name, i get an error stating
"Problems encountered while moving resources.", and the SVN Console
shows
mv -r HEAD /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipseRenameFeature.java /home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipse.java --username grotzke --password ******* --non-interactive
svn: Use --force to override this restriction
svn: Move will not be attempted unless forced
svn: '/home/grotzke/proj/jspwiki-notifier/src/java/TestSubclipseRenameFeature.java' is not under version control
which is correct from the point of view of subversion.
So if i would really like to perform the "Undo", i had to rename the
given file back to it's original name...
I have installed Fedora Core 1, Eclipse 3.0 M09, the latest subclipse
from the update site, and subversion 1.0.4.
Some colleagues using Windows XP tested Eclipse 3.0 M07 and RC2 together
with subclipse from the update-site, they're getting the same errors.
I hope you can reproduce this error, it would be great if you could fix it.
Regards,
Martin
Received on Thu Jun 17 22:02:27 2004