Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.5
-
Component/s: Core : Workspace settings
-
Labels:None
-
Number of attachments :
Description
Hi,
I'm experiencing problems creating eclipse project files, if the project's description in pom.xml contains special characters like german umlauts (like "öüä"). Refreshing the eclipse workspace after running eclipse:eclipse results in the following message from eclipse:
"Errors occurred while refreshing resources with the local file system.
Failed to read the project description file (.project) for comworld-eventlisteners. The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state."
This is caused by the content of the .project's generated comment-tag containing the exact same description as in pom.xml. But the .project-file is generated without stating an encoding parser should use to read it. So, if I prepend the line
<?xml version="1.0" encoding="ISO-8859-15"?>
eclipse is able to read the file just fine.
Regards,
Stefan
Issue Links
- depends upon
-
MNG-2025
POM is still not read using the right encoding
-
-
PLXUTILS-11
MXParser can't handle the encoding declaration in XML declaration
-
I'll attach a zip-file containing two test-projects who's POM's contain special characters. Corresponding testcases follow.