ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1304] - Link tag for javadoc must be conditional
Date Sun, 08 Jul 2001 06:27:47 GMT
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: ant-dev@jakarta.apache.org                            
! ReportedBy: boris@i3.informatik.rwth-aachen.de               
! 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: ant-dev@jakarta.apache.org                                   |
! |  Reported By: boris@i3.informatik.rwth-aachen.de                           |
! |      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 conor@cortexebusiness.com.au  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.

Mime
View raw message