--- jakarta-log4j-1.2.15/build.xml.orig	2010-01-07 20:14:49.000000000 +0100
+++ jakarta-log4j-1.2.15/build.xml	2010-01-08 15:35:21.000000000 +0100
@@ -97,8 +97,8 @@
   <!-- Directory for temporary files. -->
   <property name="dist.tmp" value="${dist.dir}/tmp"/>
   
-  <property name="javac.source" value="1.2"/>
-  <property name="javac.target" value="1.1"/>
+  <property name="javac.source" value="1.3"/>
+  <property name="javac.target" value="1.3"/>
   
   <!--  destination for generated documentation on Apache web host  -->
   <property name="apache.javadoc_dest" value="/www/logging.apache.org/log4j/docs"/>
@@ -166,13 +166,13 @@
         <and>
             <available classname="javax.management.MBeanInfo"
                        classpath="${jmx.jar}"/>
-            <available classname="com.sun.jdmk.comm.HtmlAdaptorServer">
+            <!--available classname="com.sun.jdmk.comm.HtmlAdaptorServer">
                 <classpath>
                     <pathelement location="${jmx.jar}"/>
                     <pathelement location="${jmx-extra.jar}"/>
 					<pathelement location="${javaee-api.jar}"/>
                 </classpath>
-            </available>
+            </available-->
         </and>
     </condition>
   </target>
@@ -336,7 +336,7 @@
     <javac srcdir="${java.source.dir}"
            destdir="${javac.dest}"
            includes="${stem}/jmx/*.java"
-           excludes="${stem}/jmx/T.java"
+           excludes="${stem}/jmx/T.java,${stem}/jmx/Agent.java"
            target="${javac.target}"
            source="${javac.source}"
            includeAntRuntime="${javac.includeAntRuntime}"
@@ -497,7 +497,6 @@
              protected="true"
              author="true"
              use="true"
-             overview="${docs.dest}/overview.html"
              doctitle="log4j version ${version}&lt;br&gt;API Specification"
              windowtitle="Log4j Version ${version}"
              header='&lt;b&gt;Log4j ${version}&lt;/b&gt;&lt;!--  Licensed to the Apache Software Foundation (ASF) under one or more
@@ -517,8 +516,6 @@
 --&gt;'
              bottom="Copyright 2000-2007 Apache Software Foundation.">
 
-      <link href="http://java.sun.com/j2se/1.3/docs/api/"/>
-      <link href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
       <classpath refid="compile.classpath"/>
     </javadoc>
 
