Use File.toURI().toURL() instead of File.toURL()
------------------------------------------------
Key: MJAXB-20
URL: http://jira.codehaus.org/browse/MJAXB-20
Project: Maven 2.x JAXB 2.0 Plugin
Issue Type: Bug
Affects Versions: 1.3
Reporter: Michael Rudolf
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.
-
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 from this list, please visit:
http://xircles.codehaus.org/manage_email