[ http://jira.codehaus.org/browse/MPRELEASE-12?page=all ]
     
Lukas Theussl closed MPRELEASE-12:
----------------------------------

     Resolution: Fixed
    Fix Version: 1.5

Patch applied. Thanks!

> The encoding of the project.xml file is not preserved after doing 
> release:transform
> -----------------------------------------------------------------------------------
>
>          Key: MPRELEASE-12
>          URL: http://jira.codehaus.org/browse/MPRELEASE-12
>      Project: maven-release-plugin
>         Type: Bug

>  Environment: Windows XP Pro, Maven 1.0.2, release-plugin 1.4.1.
>     Reporter: Dennis Lundberg
>      Fix For: 1.5
>  Attachments: MPRELEASE-12.patch
>
>
> This is similar in concept to MPCHANGES-24.
> The encoding of the original project.xml file is not preserved when it is 
> written back after the transformation. This means that my file was converted 
> from ISO-8859-1 to UTF-8, which is the default encoding used by dom4j. 
> Without a UTF-8 compliant editor I can't edit the file any more, because I 
> use non-us-ascii character in the file.
> The solution should be similar and the place to make the change is in this 
> file:
> http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/release/src/main/org/apache/maven/release/AbstractPomTransformer.java
> The method write() needs to get a hold of the original file's encoding, and do
>   format.setEncoding(<original-encoding>);

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to