Old post on a fix from me... not the best possible but works for me:

> I have no idea of this is on ongoing fix, but I am sure many of you 
> should have faced this problem:
>
> The Javadocs task in build.xml will not work with JDK 1.4 because of 
> the "java" in package names. This is an open bug in 1.4 Final 
> according to Sun, 
> http://developer.java.sun.com/developer/bugParade/bugs/4507380.html.
>
> The workaround, as listed on the page is to use the -subpackages 
> option in javadoc, the final task that works, for me is:
>
> <target name="javadocs" depends="setenv" unless="javadoc.notrequired">
>    <mkdir dir="${build.javadocs}"/>
>    <javadoc packagenames="javax.*"
>             sourcepath="${src.dir}"
>             classpathref="classpath"
>             destdir="${build.javadocs}"
>             author="true"
>             version="true"
>             use="true"
>             windowtitle="${Name} API"
>             doctitle="${Name}"
>             additionalparam="-subpackages org"
>             bottom="Copyright &#169; ${year} Apache XML Project. All 
> Rights Reserved."
>    />
>  </target>
>
> Any idea is this or an equivalent is expected to be checked in anytime 
> soon?
>
> Mukund Balasubramanian


Howard Lin wrote:

>I'm not sure if this problem has been mentioned before. 
>
>Javadoc 1.4.0 cannot handle packages named *.java, like
>org.apache.axis.providers.java. So to generate javadoc on Axis packages,
>use jdk 1.3.* or use the work around in BugParade #4507380.
>
>Howard 
>  
>



Reply via email to