http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1304
*** shadow/1304 Sun May 20 17:25:03 2001 --- shadow/1304.tmp.12143 Sat Jul 7 23:27:47 2001 *************** *** 1,19 **** ! Bug#: 1304 ! Product: Ant ! Version: 1.3 ! Platform: PC ! OS/Version: Linux ! Status: NEW ! Resolution: ! Severity: Enhancement ! Priority: High ! Component: Core tasks ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: Link tag for javadoc must be conditional ! I like to use properties in the link tag of a javadoc task (which isn't a problem). This makes it possible for somebody else to override the location of the linked documentation. But what happens if he doesn't have a special --- 1,19 ---- ! +============================================================================+ ! | Link tag for javadoc must be conditional | ! +----------------------------------------------------------------------------+ ! | Bug #: 1304 Product: Ant | ! | Status: RESOLVED Version: 1.3 | ! | Resolution: FIXED Platform: PC | ! | Severity: Enhancement OS/Version: Linux | ! | Priority: High Component: Core tasks | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! | CC list: Cc: | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | I like to use properties in the link tag of a javadoc task (which isn't a problem). This makes it possible for somebody else to override the location of the linked documentation. But what happens if he doesn't have a special *************** *** 69,71 **** --- 69,79 ---- Created an attachment (id=97) A patch to add conditional support to javadoc links. + + ------- Additional Comments From [EMAIL PROTECTED] 2001-07-07 23:27 ------- + I have changed javadoc so that if the package-list is not found for offline + links, the link is skipped (with a verbose message). I think this may be a + better approach than using "if" conditionals at the nested element level. The + same could be done for non-offline links by checking if the href is empty + although I haven't changed this and it still gives an error. It could also be + checked to see if it is a valid URL. Let me know.