http://www.intellij.net/tracker/idea/viewSCR?publicId=37775I attach Javadocs in jar form to a dependency lib in my project path settings. I then select a class from that lib in the editor and press Shift-F1. An error windows pops up w/ the following message:
Malformed url: jar://C:/repository/commons-lang/jars/commons-lang-api-2.0.jar!/org/apache/commons/lang/StringUtils.html
This URL is correct though. The jar C:/repository/commons-lang/jars/commons-lang-api-2.0.jar does exist and does contain the entry org/apache/commons/lang/StringUtils.html.
Perhaps this bug ws introduced w/ the recent fix for issue #6439? - just a wild guess. Anyway, please fix this asap, as itmakes it impossible for my development team to reference api jars stored in our Maven repository.
Thanks and regards,
Ian Springer
Hewlett-Packard Company
Issue was resolved
This problem affects the Maven integration in IDEA 7. I have configured Maven integration to download all javadocs, but because of this bug it is not possible to view them in an external browser. Because Ctrl+Q works even with only the source code, there is little benefit in having the option to download the javadocs (except when an artifact has no source code).
I suppose it is a problem that (most) web browsers don't know how to browse files inside JAR files.
Some solutions come to my mind:
https://addons.mozilla.org/en-US/firefox/addon/1847
http://percro.sssup.it/~pit/mozilla/foxdoc/
So now is only needed that IDEA would create the right kind of a URL and open it in the browser. This support should be integrated into IDEA so that it would work transparently with both Ctrl+Q and Shift+F1. Also, IDEA should automatically recognize a ZIP containing JDK's documentation, the same way as it automatically recognizes an unpacked "docs" directory in the JDK home. If FoxDoc is not installed, IDEA should volunteer to install it automatically.
The URL format understood by FoxDoc looks like this
jar:file:///C:/Documents%20and%20Settings/ORFJackal/.m2/repository/org/acegisecurity/acegi-security/1.0.6/acegi-security-1.0.6-javadoc.jar!/org/acegisecurity/Authentication.html