You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2009/05/30 11:56:07 UTC
[jira] Commented: (IVYDE-179) IvyDE does not set javadoc archive
path properly
[ https://issues.apache.org/jira/browse/IVYDE-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714688#action_12714688 ]
Nicolas Lalevée commented on IVYDE-179:
---------------------------------------
I am not sure who is the real culprit here, Eclipse or IvyDE.
To encode the path, IvyDE is using {{file.toURI().toURL().toExternalString()}}, so as expected, the spaces are being encoded in %20, as spaces are not allowed in urls (the Eclipse API is expecting an URL). But internally Eclipse does {{file.toURL().toExternalString()}}, which is deprecated in Java 6:
http://java.sun.com/javase/6/docs/api/java/io/File.html#toURL()
So here I just made IvyDE behave as Eclipse internally.
> IvyDE does not set javadoc archive path properly
> ------------------------------------------------
>
> Key: IVYDE-179
> URL: https://issues.apache.org/jira/browse/IVYDE-179
> Project: IvyDE
> Issue Type: Bug
> Components: classpath container
> Affects Versions: 2.0.0.final
> Environment: Win 2k, German (has space chars in user's home dir path)
> Reporter: Martin Weber
> Fix For: 2.0.0.final
>
>
> After a resolve, the path to the javadoc archive is not set properly, when the path contains spaces.
> In this case, the path to the Ivy cache contains spaces, which are replaced by '%20' in the archive path field
> on the propery page of the jar.
> C:\Dokumente%20und%20Einstellungen\m.weber\.ivy2\cache\org.junit\junit\javadocs\junit-4.5.zip
> should be
> C:\Dokumente und Einstellungen\...
> If I manually replaced the %20, javadoc location is valid and can be opened.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.