[GRADLE-458] Configuring javadoc with multiple links fails with "Error fetching URL" Created: 23/Apr/09 Updated: 29/Jul/14 Resolved: 13/May/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.6 |
Type: | Bug | ||
Reporter: | Melanie Pfautz | Assignee: | Tom Eyckmans |
Resolution: | Fixed | Votes: | 0 |
Attachments: | javadoc-multi-line-links.patch |
Description |
I was trying to link each of my projects' javadocs with Java6 and each of its dependent project javadocs. Here is a simple example of what I was trying to do: options.links 'file:/C:/dev/myProject/modules/java/docs/api/', 'file:/C:/dev/myProject/modules/common/build/docs/javadoc/' This resulted in the following error: javadoc: warning - Error fetching URL: File:/C:/dev/myProject/modules/java/docs/api/;file:/C:/dev/myProject/modules/common/build/docs/javadoc/ The problem was caused by the links option using a "stringsOption" type, which concatenates all the specified options together into one string separated by semi-colons. I fixed this by adding a "multilineStringsOption" type, which causes each option to be passed to the javadoc command via a separate line. These changes are included in the patch. – |
Comments |
Comment by Tom Eyckmans [ 03/May/09 ] |
Hi Melani, I didn't get around to testing all the javadoc options, so thank you for this bug report. I'll check out your patch shortly. Kr, Tom |
Comment by Hans Dockter [ 12/May/09 ] |
Hi Tom, do you know already when you will apply this patch? |
Comment by Tom Eyckmans [ 13/May/09 ] |
I'll apply it this evening. |
Comment by Tom Eyckmans [ 13/May/09 ] |
I've applied the patch, it looked good, thank you Melanie! |
Comment by Melanie Pfautz [ 15/May/09 ] |
Hi Tom, I'm glad this was helpful and thank you for including it so soon. - |