- This topic has 1 reply, 2 voices, and was last updated 21 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
monocongoMemberI 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
February 24, 2004 at 5:35 pm #203777
Riyad KallaMemberHi 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.
-
AuthorPosts