Build javadoc fix

Elliotte Harold <[email protected]> Sun, 25 Apr 2004 10:38:37 -0400
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
The attached patch, which requires Ant 1.6, modifies build.xml so it no 
longer prefixes class names from the java.io, java.lang, and org.xml.sax 
packages when generating Javadoc. That is, it now produces signatures like

public void *endElement*(String uri,
                       String localName,
                       String qName)
                throws SAXException <cid:[email protected]>

instead of

public void *endElement*(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws SAXException <cid:[email protected]>


This is a lot more readable. Even if you decide we want to support Ant 
1.5 and earlier in the build file, this might be worth an additional 
target that's used to generate the web site docs.

--
Elliotte Rusty Harold
build.patch (text/plain, 650 B)
Index: build.xml
===================================================================
RCS file: /cvsroot/sax/sax2/build.xml,v
retrieving revision 1.4
diff -u -r1.4 build.xml
--- build.xml	23 Apr 2004 00:19:33 -0000	1.4
+++ build.xml	25 Apr 2004 14:22:22 -0000
@@ -30,7 +30,8 @@
    <target name="javadoc" depends="prepare">
       <javadoc sourcepath="${src}"
                destdir="${javadoc}"
-               version="yes">
+               version="yes"
+               noqualifier="java.lang:java.io:org.xml.sax">
          <package name="org.xml.sax"/>
          <package name="org.xml.sax.ext"/>
          <package name="org.xml.sax.helpers"/>