[
http://jira.codehaus.org/browse/MECLIPSE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MECLIPSE-56.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.5
- POM reading fixed in Maven 2.0.8 (before, the POM was read using platform
encoding, not the encoding specified in the XML file)
- Eclipse generated XML files fixed in r587580: written in UTF-8
- testcase added in r609198
for more info on XML encoding support, see
http://docs.codehaus.org/display/MAVENUSER/XML+encoding
> Generated .project-file misses encoding declaration
> ---------------------------------------------------
>
> Key: MECLIPSE-56
> URL: http://jira.codehaus.org/browse/MECLIPSE-56
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: Workspace settings
> Affects Versions: 2.0
> Reporter: Stefan Hübner
> Assignee: Herve Boutemy
> Fix For: 2.5
>
> Attachments: MECLIPSE-56-maven-eclipse-plugin.patch1,
> MECLIPSE-56-maven-eclipse-plugin.patch2,
> MECLIPSE-56-resourcesForAdditionalTestcaseszip
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira