[ 
http://issues.apache.org/jira/browse/IVY-346?page=comments#action_12455907 ] 
            
Gilles Scokart commented on IVY-346:
------------------------------------

The new patch, including the unit test is attached to IVY-336

> Ivy failure when the ivy.xml file contains non US-ASCII characters
> ------------------------------------------------------------------
>
>                 Key: IVY-346
>                 URL: http://issues.apache.org/jira/browse/IVY-346
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Gilles Scokart
>            Priority: Critical
>         Attachments: ivy-346.patch
>
>
> If we have an ivy file containing non US-ASCII charcters in an UTF-8 
> encoding, you make a resolved and then a publish, you receive an exception 
> like this :
> build_base.xml:203: impossible to publish artifacts for [ XXXX | core | 
> [EMAIL PROTECTED] ]: impossible to deliver [ XXXX | core | [EMAIL PROTECTED] 
> ]: java.lang.IllegalStateException: bad ivy file in cache for [ XXXX | core | 
> [EMAIL PROTECTED] ]: please clean and resolve again
> Note that the special characters might be in XML comments also. 
> The errors come from the fact that the [EMAIL PROTECTED] placed in the case 
> is written with the local encoding instead of the UTF-8 (or the original) 
> encoding.
> The workaround is to clean the cache and remove the special characters from 
> the original ivy file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to