Author: bayard
Date: Wed Dec 28 06:39:30 2011
New Revision: 1225113
URL: http://svn.apache.org/viewvc?rev=1225113&view=rev
Log:
Applying Ville Skyttä's patch from LANG-761 to fix the javadoc warnings in the
Ant build
Modified:
commons/proper/lang/trunk/build.xml
Modified: commons/proper/lang/trunk/build.xml
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/build.xml?rev=1225113&r1=1225112&r2=1225113&view=diff
==============================================================================
--- commons/proper/lang/trunk/build.xml (original)
+++ commons/proper/lang/trunk/build.xml Wed Dec 28 06:39:30 2011
@@ -30,6 +30,7 @@
<property file="${basedir}/build.properties"/>
<property file="${basedir}/default.properties"/>
<property name="jdk.javadoc"
value="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+ <property name="collections.javadoc"
value="http://commons.apache.org/collections/api-release/"/>
<!-- ========== Construct compile classpath
=============================== -->
<path id="compile.classpath">
@@ -63,7 +64,7 @@
<classpath refid="compile.classpath"/>
</javac>
<copy todir="${build.home}/classes" filtering="on">
- <fileset dir="${source.home}" excludes="**/*.java"/>
+ <fileset dir="${source.home}" excludes="**/*.java,**/*.html"/>
</copy>
</target>
@@ -119,10 +120,11 @@
windowtitle="Lang ${component.version}"
bottom="Copyright &copy; 2001-${current.year} - Apache
Software Foundation"
use="true"
- link="${jdk.javadoc}"
encoding="${compile.encoding}"
source="${compile.source}">
<classpath refid="compile.classpath"/>
+ <link href="${jdk.javadoc}"/>
+ <link href="${collections.javadoc}"/>
</javadoc>
</target>