Blame SOURCES/fixup-ant-script.patch

3dfed3
--- build.xml.orig	2014-12-31 16:43:56.000000000 +0000
3dfed3
+++ build.xml	2015-06-22 09:20:12.859059775 +0100
3dfed3
@@ -81,6 +81,7 @@
3dfed3
   <target name="compile" depends="clean, prepare">
3dfed3
     <javac srcdir="src" destdir="${src.classes.dir}" source="1.5" target="1.5" debug="true" deprecation="true" nowarn="true">
3dfed3
       <classpath refid="compile.classpath" />
3dfed3
+      <compilerarg value="-Xlint:none" />
3dfed3
     </javac>
3dfed3
   </target>
3dfed3
 
3dfed3
@@ -207,18 +208,14 @@
3dfed3
     	<delete file="${target.dir}/${jar.core.osgified}" />
3dfed3
   </target>
3dfed3
 	
3dfed3
-  <target name="jar" depends="jar.all">
3dfed3
-    <jarjar jarfile="${target.dir}/${jar.core}">
3dfed3
+  <target name="jar" depends="compile">
3dfed3
+    <jar jarfile="${target.dir}/${jar.core}">
3dfed3
       <manifest>
3dfed3
         <attribute name="Built-By" value="${user.name}"/>
3dfed3
         <attribute name="Implementation-Version" value="${version}"/>
3dfed3
       </manifest>
3dfed3
-      <fileset dir="${lib.dir.repackaged}" includes="*.txt" />
3dfed3
-      <fileset dir="." file="LICENSE" />
3dfed3
-      <fileset dir="." file="NOTICE" />
3dfed3
       <fileset dir="${src.classes.dir}" />
3dfed3
-      <zipfileset src="${lib.dir.repackaged}/cglib-and-asm-1.0.jar"/>
3dfed3
-    </jarjar>
3dfed3
+    </jar>
3dfed3
   </target>
3dfed3
 	
3dfed3
   <target name="sources" >
3dfed3
@@ -319,53 +316,10 @@
3dfed3
           

Click to see examples. Mockito ${version} API.

3dfed3
         ]]>
3dfed3
       </doctitle>
3dfed3
-      <header>
3dfed3
-        
3dfed3
-          
3dfed3
-
3dfed3
-          
3dfed3
-          <script type="text/javascript">
3dfed3
-              var shBaseURL = '{@docRoot}/js/sh-2.1.382/';
3dfed3
-          </script>
3dfed3
-          <script type="text/javascript" src="{@docRoot}/js/jquery-1.7.min.js"></script>
3dfed3
-          <script type="text/javascript" src="{@docRoot}/js/jquery.beautyOfCode-min.js"></script>
3dfed3
-
3dfed3
-          <script type="text/javascript">
3dfed3
-              /* Apply beautification of code */
3dfed3
-              var usingOldIE = false;
3dfed3
-              if($.browser.msie && parseInt($.browser.version) < 9) usingOldIE = true;
3dfed3
-
3dfed3
-              if(!usingOldIE) {
3dfed3
-                  $.beautyOfCode.init({
3dfed3
-                    theme : 'Eclipse',
3dfed3
-                    brushes: ['Java']
3dfed3
-                  });
3dfed3
-
3dfed3
-                  var version = ${version};
3dfed3
-
3dfed3
-                  /* Add name & version to header */
3dfed3
-                  $(function() {
3dfed3
-                    $('td.NavBarCell1[colspan=2]').each(function(index, element) {
3dfed3
-                      var jqueryTD = $(element);
3dfed3
-                      jqueryTD.after(
3dfed3
-                        $('Mockito ${version} API').attr('class','NavBarCell1').attr('id','mockito-version-header')
3dfed3
-                      );
3dfed3
-                      jqueryTD.removeAttr('colspan');
3dfed3
-                    })
3dfed3
-                  })
3dfed3
-              }
3dfed3
-          </script>
3dfed3
-        ]]>
3dfed3
-      </header>
3dfed3
       <group title="Main package" packages="org.mockito"/>
3dfed3
       <classpath refid="compile.classpath" />
3dfed3
     </javadoc>
3dfed3
-  	<copy todir="${javadoc.dir}/org/mockito" file="javadoc/img/logo.jpg" />
3dfed3
-  	<copy todir="${javadoc.dir}/js" file="javadoc/js/jquery-1.7.min.js" />
3dfed3
-  	<copy todir="${javadoc.dir}/js" file="javadoc/js/jquery.beautyOfCode-min.js" />
3dfed3
-    <copy todir="${javadoc.dir}/js/sh-2.1.382">
3dfed3
-      <fileset dir="javadoc/js/sh-2.1.382"/>
3dfed3
-    </copy>
3dfed3
+    <copy todir="${javadoc.dir}/org/mockito" file="javadoc/org/mockito/logo.jpg" />
3dfed3
   </target>
3dfed3
 
3dfed3
   <target name="repackage-tests" depends="compile.test">