facebook

CVS Error After Rename Refactoring in Europa + 6.0M1

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #273057 Reply

    jfrosch
    Participant

    I’ve been having good results using Europa and MyEclipse 6.0M1. However, one annoyance has surfaced that I don’t recall being present in earlier versions.

    If I rename a resource in webroot and then try to add the file to version control, I get a CVS error:

    “The server reported an error while performing the ‘cvs add’ command.
    zzz.com: cvs server: webroot/xxx.xhtml added independently by second party”

    As a workaround, I’ve found I have to first copy the source outside of Eclipse, delete the file I want to rename, commit the change, create a new file with the name I want, then copy the original source into the file. Whew! That simple refactoring requires far too much work!

    Thanks.

    Jack

    #273118 Reply

    Loyal Water
    Member

    Thanks for this post. Ill test this issue and file it as a bug incase Im able to reproduce it.

    #273192 Reply

    jfrosch
    Participant

    I’ve been looking into this issue a little more. While it’s still a problem, it may be a problem only if the CVS repository is on Windows.

    The specific refactoring I was doing was renaming a file through a case change only; i.e. renaming Foo.xhtml to foo.xhtml.

    A simple workaround that may be acceptable is to simply delete the renamed resource from the CVS repository. Then, the renamed resource simply appears as a new addition. Of course, doing this causes history to be lost.

    jack

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: CVS Error After Rename Refactoring in Europa + 6.0M1

You must be logged in to post in the forum log in