facebook

Encoding different from the current workbench enc [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #203771 Reply

    monocongo
    Member

    I am getting the following warning message whenever I try to save the struts-config.xml for my application:

    struts-config.xml will be saved in ISO-8859-1 encoding which is not the current workbench encoding. This can result in conflicts with other tools. Continue anyway ?

    I click to continue and it seems OK, but I have in fact noticed what I think is a conflict with other tools. Whenever I do a Refactor->Rename to rename a file, and I check the option to update the reference in other files, giving it *.xml as a file type, it doesn’t seem to be able to find the references to the old name in struts-config.xml, and hence they are not updated as they should be. So I wonder if the above encoding incompatibility is what is causing this. In any event I would like to be using the proper encoding for everything so as to not have to worry about anything like this.

    Is this perhaps a remnant of using Lomboz, or another Eclipse plug-in, which I was using before I started using MyEclipse ? How can I remove the old plugins which I am no longer using ? [perhaps this question belongs in a separate topic]

    If anyone knows about this and can clue me in as to what I should do to make everything kosher then I’d certainly appreciate it. Thanks in advance for your feedback.

    -James

    #203777

    Riyad Kalla
    Member

    Hi James,
    If you would like your workbench encoding and file encoding to match up (UTF-8 is a good catch-all), then you can change your workbench encoding in:
    Windows>Prefs>Editors (at the bottom of the panel).

    However, as far as you not having refactoring working correctly, I ran into this bug myself a while back and filed it with Eclipse and it was closed as a duplicate of another bug. Its a known problem but doesn’t seem to be fixed until the 3.x branch.

    I did find that if I refactor things one at a time, 90% of the time it will work, however there are still plenty of times I’ll rename an action or form and the struts-config won’t get updated.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Encoding different from the current workbench enc [Closed]

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