38fd3c
--- build.xml~	2021-05-17 12:32:48.406394876 +0200
38fd3c
+++ build.xml	2021-05-17 12:32:39.990389601 +0200
38fd3c
@@ -145,8 +145,6 @@
38fd3c
      -->
38fd3c
     <pathelement location="${src.junit}"/>
38fd3c
     <pathelement location="${tests.etc.dir}"/>
38fd3c
-    
38fd3c
-    <pathelement location="${java.home}/../lib/tools.jar"/>
38fd3c
   </path>
38fd3c
 
38fd3c
   
38fd3c
@@ -819,7 +817,6 @@
38fd3c
       </metainf>
38fd3c
       <manifest>
38fd3c
         <attribute name="Main-Class" value="org.apache.tools.ant.Main"/>
38fd3c
-        <attribute name="Class-Path" value="ant.jar xalan.jar"/>
38fd3c
       </manifest>
38fd3c
     </jar>
38fd3c
 
38fd3c
@@ -1562,7 +1559,25 @@
38fd3c
              verbose="${javadoc.verbose}"
38fd3c
              additionalparam="${javadoc.doclint.none}">
38fd3c
 
38fd3c
-      <packageset dir="${java.dir}"/>
38fd3c
+      <fileset dir="${java.dir}">
38fd3c
+        <include name="**/*.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/taskdefs/email/MimeMailer.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/taskdefs/optional/NetRexxC.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/taskdefs/optional/image/Image.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Arc.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/BasicShape.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Draw.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/DrawOperation.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Ellipse.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/ImageOperation.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Rectangle.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Rotate.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Scale.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/Text.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/TransformOperation.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/types/optional/image/ColorMapper.java"/>
38fd3c
+        <exclude name="org/apache/tools/ant/taskdefs/optional/image/ImageIOTask.java"/>
38fd3c
+      </fileset>
38fd3c
 
38fd3c
       
38fd3c
       <tag name="todo" description="To do:" scope="all"/>