b27b8e
--- apache-ant-1.10.7/build.xml~	2019-10-31 14:10:07.739864466 +0100
b27b8e
+++ apache-ant-1.10.7/build.xml	2019-10-31 14:10:12.018897830 +0100
b27b8e
@@ -145,8 +145,6 @@
b27b8e
      -->
b27b8e
     <pathelement location="${src.junit}"/>
b27b8e
     <pathelement location="${tests.etc.dir}"/>
b27b8e
-    
b27b8e
-    <pathelement location="${java.home}/../lib/tools.jar"/>
b27b8e
   </path>
b27b8e
 
b27b8e
   
b27b8e
@@ -801,7 +799,6 @@
b27b8e
       </metainf>
b27b8e
       <manifest>
b27b8e
         <attribute name="Main-Class" value="org.apache.tools.ant.Main"/>
b27b8e
-        <attribute name="Class-Path" value="ant.jar xalan.jar"/>
b27b8e
       </manifest>
b27b8e
     </jar>
b27b8e
 
b27b8e
@@ -1543,7 +1540,25 @@
b27b8e
              maxmemory="1000M"
b27b8e
              verbose="${javadoc.verbose}">
b27b8e
 
b27b8e
-      <packageset dir="${java.dir}"/>
b27b8e
+      <fileset dir="${java.dir}">
b27b8e
+	<include name="**/*.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/taskdefs/email/MimeMailer.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/taskdefs/optional/NetRexxC.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/taskdefs/optional/image/Image.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Arc.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/BasicShape.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Draw.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/DrawOperation.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Ellipse.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/ImageOperation.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Rectangle.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Rotate.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Scale.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/Text.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/TransformOperation.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/types/optional/image/ColorMapper.java"/>
b27b8e
+	<exclude name="org/apache/tools/ant/taskdefs/optional/image/ImageIOTask.java"/>
b27b8e
+      </fileset>
b27b8e
 
b27b8e
       
b27b8e
       <tag name="todo" description="To do:" scope="all"/>