ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1304] Changed - Link tag for javadoc must be conditional
Date Wed, 11 Apr 2001 08:47:51 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1304

*** shadow/1304	Wed Apr 11 01:27:42 2001
--- shadow/1304.tmp.5424	Wed Apr 11 01:47:50 2001
***************
*** 5,11 ****
  |       Status: NEW                         Version: 1.3                     |
  |   Resolution:                            Platform: PC                      |
  |     Severity: Enhancement              OS/Version: Linux                   |
! |     Priority:                           Component: Core tasks              |
  +----------------------------------------------------------------------------+
  |  Assigned To: ant-dev@jakarta.apache.org                                   |
  |  Reported By: boris@i3.informatik.rwth-aachen.de                           |
--- 5,11 ----
  |       Status: NEW                         Version: 1.3                     |
  |   Resolution:                            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                           |
***************
*** 21,24 ****
  properly.
  
  Therefore I suggest to add the attribute "if" to the link tag to achieve 
! conditional linking of the documentation.
--- 21,40 ----
  properly.
  
  Therefore I suggest to add the attribute "if" to the link tag to achieve 
! conditional linking of the documentation.
! 
! ------- Additional Comments From nico@apache.org  2001-04-11 01:47 -------
! Have you tried to use something like the following? 
! 
! <target name="javadoc" depends="default-javadoc,custom-javadoc"/>
! 
! <target name="custom-javadoc" if="javadocProperty">
!   <javadoc ...>
! </target>
! 
! <target name="default-javadoc" unless="javadocProperty">
!   <javadoc ...>
! </target>
! 
! That should do what you want (although it's a little bit more typing and you 
! get nearly duplicate targets)

Mime
View raw message