I recently found some problems when I tried to rename a package in a Java project with Eclipse. I use Subversive for SVN integration.
If I rename a package via Refactor -> Rename, the commit fails.
I have to rename it in a somewhat strange way:
After the commit, the rename is done, but very ugly.
How to do this on a nicer way?
When you read the Subversive documentation on Refactoring, you do have this warning:
While refactoring, the structure of the versioned folder is changed, so if it's not up-to-date the conflict while committing is inevitable.
So the user must be sure, that he has updated the resource being refactored to the repository location revision.
Remember that the folder is considered to be not up-to-date even if only its revision number on the repository is changed.
It should work from Eclipse, but you need an up-to-date resource.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With