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: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | --- 5,11 ---- | Status: NEW Version: 1.3 | | Resolution: Platform: PC | | Severity: Enhancement OS/Version: Linux | ! | Priority: High Component: Core tasks | +----------------------------------------------------------------------------+ | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | *************** *** 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 [EMAIL PROTECTED] 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)
