[ 
https://jira.codehaus.org/browse/MJAXB-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275553#comment-275553
 ] 

Anders Hammar commented on MJAXB-20:
------------------------------------

This is an ugly one that seems to have been hanging around for a long time. 
Time to fix it...

> Use File.toURI().toURL() instead of File.toURL()
> ------------------------------------------------
>
>                 Key: MJAXB-20
>                 URL: https://jira.codehaus.org/browse/MJAXB-20
>             Project: Maven 2.x JAXB 2.1 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Michael Rudolf
>            Assignee: Anders Hammar
>         Attachments: XjcMojo.patch
>
>
> Hi,
> For converting files to URLs one should use java.io.File.toURI() followed by 
> java.net.URI.toURL() instead of just java.io.File.toURL(), as the latter 
> method has problems with converting special characters. Patch attached.
> Best regards,
> Michael

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to