You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2011/04/11 17:37:12 UTC

svn commit: r1091102 - /commons/proper/lang/trunk/build.xml

Author: mbenson
Date: Mon Apr 11 15:37:12 2011
New Revision: 1091102

URL: http://svn.apache.org/viewvc?rev=1091102&view=rev
Log:
remove obsolete targets, classname references from 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=1091102&r1=1091101&r2=1091102&view=diff
==============================================================================
--- commons/proper/lang/trunk/build.xml (original)
+++ commons/proper/lang/trunk/build.xml Mon Apr 11 15:37:12 2011
@@ -68,21 +68,9 @@
         </copy>
     </target>
 
-    <!-- Compile EnumUtilsLang76Test using source/target 1.5 if JDK 1.5 present (see LANG-76) -->
-    <target name="test.compile.jdk15" depends="compile" description="Run test for LANG-76" if="jdk.1.5.present">
-        <echo message="Compiling EnumUtilsLang76Test using source/target 1.5"/>
-        <mkdir dir="${build.home}/tests"/>
-        <javac srcdir="${test.home}" destdir="${build.home}/tests"
-               target="1.5" source="1.5"
-               includes="org/apache/commons/lang/enums/EnumUtilsLang76Test.java">
-            <classpath refid="test.classpath"/>
-        </javac>
-    </target>
-
-    <target name="compile.tests" depends="compile,test.compile.jdk15" description="Compile unit test cases">
+    <target name="compile.tests" depends="compile" description="Compile unit test cases">
         <mkdir dir="${build.home}/tests"/>
         <javac srcdir="${test.home}" destdir="${build.home}/tests" debug="${compile.debug}" deprecation="off" target="${compile.target}" source="${compile.source}" optimize="${compile.optimize}">
-            <exclude name="org/apache/commons/lang/enums/EnumUtilsLang76Test.java" if="jdk.1.5.present"/>
             <classpath refid="test.classpath"/>
         </javac>
         <copy todir="${build.home}/tests" filtering="on">
@@ -103,28 +91,11 @@
                 <fileset dir="${test.home}">
                     <include name="**/*Test.java"/>
                     <exclude name="**/Abstract*Test.java"/>
-                    <exclude name="**/EntitiesPerformanceTest.java"/>
-                    <exclude name="**/RandomUtilsFreqTest.java"/>
                 </fileset>
             </batchtest>
         </junit>
     </target>
 
-    <!--
-     RandomUtils frequency tests have been put in a separate test case which
-     is only run when using this target because it fails too frequently.
-     See https://issues.apache.org/jira/browse/LANG-592
-     -->
-    <target name="test-random-freq" depends="compile.tests" description="Run RandomUtilsFreqTest">
-        <echo message="Running RandomUtilsFreqTest unit test ..."/>
-        <mkdir dir="${build.home}/test-reports"/>
-        <junit printsummary="true" showoutput="true" fork="yes" haltonfailure="${test.failonerror}">
-            <classpath refid="test.classpath"/>
-            <formatter type="plain" usefile="true" />
-            <test name="org.apache.commons.lang.math.RandomUtilsFreqTest" todir="${build.home}/test-reports"/>
-        </junit>
-    </target>
-
     <target name="clean" description="Clean build and distribution directories">
         <delete dir="${build.home}"/>
     </target>
@@ -140,7 +111,7 @@
         </tstamp>
         <javadoc sourcepath="${source.home}" 
                  destdir="${build.home}/apidocs" 
-                 overview="${source.home}/org/apache/commons/lang/overview.html" 
+                 overview="${source.home}/org/apache/commons/lang3/overview.html" 
                  packagenames="org.apache.commons.*" 
                  excludepackagenames="${javadoc.excludepackagenames}" 
                  author="false"