I know xalan-j1 isn't maintained anymore. However, i'm facing a curious 
problem when building javadoc for it with additional links, and i would like 
to know if it is a bug related to xalan-j or to ant.

The following patch to build.xml add crosslinking support for javadoc versus 
xalan-j1 build dependencies.
--- build.xml   Thu Nov 30 16:00:01 2000
+++ build.xml.new       Sat Dec  1 23:12:31 2001
@@ -230,6 +230,8 @@
           </doclet>  
           <group title="XSLT_Packages" packages="org.apache.xalan.xslt*"/>
           <group title="XPath_Packages" packages="org.apache.xalan.xpath*"/>
+          <link offline="true" href="file:///usr/share/javadoc/bsf/" 
packagelistLoc="/usr/share/javadoc/bsf"/>
+          <link offline="true" href="file:///usr/share/javadoc/oldxerces-j/" 
packagelistLoc="/usr/share/javadoc/oldxerces-j"/>
     </javadoc>
   </target>
However, it fails with this message whereas nothing in javadoc nor in ant 
prevent use of multiple links:
autojavadocs:
[..]
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: Extern URL link option(link or linkoffline) used twice.
  [javadoc] 1 error

Everything is fine with only one link.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to