james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r682446 - in /james/mailet: base/trunk/build.xml crypto/trunk/build.xml standard/trunk/build.xml
Date Mon, 04 Aug 2008 17:29:28 GMT
Author: bago
Date: Mon Aug  4 10:29:28 2008
New Revision: 682446

URL: http://svn.apache.org/viewvc?rev=682446&view=rev
Log:
Forgot to commit updated build.xml to reflect the fact that we have junit in the tree now.

Modified:
    james/mailet/base/trunk/build.xml
    james/mailet/crypto/trunk/build.xml
    james/mailet/standard/trunk/build.xml

Modified: james/mailet/base/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/base/trunk/build.xml?rev=682446&r1=682445&r2=682446&view=diff
==============================================================================
--- james/mailet/base/trunk/build.xml (original)
+++ james/mailet/base/trunk/build.xml Mon Aug  4 10:29:28 2008
@@ -322,7 +322,7 @@
                                       Compile Tests                                     
               
        =================================================================== 
        -->
-    <target name="compile-tests" depends="junit-present, compile" description="Compile
the test code" if="junit.present">
+    <target name="compile-tests" depends="compile" description="Compile the test code">
         <mkdir dir="${test.classes}"/>
         <javac destdir="${test.classes}" excludes="**/package.html" debug="true" deprecation="true"
optimize="false">
           <src>
@@ -341,7 +341,7 @@
                                       Run Tests                                         
           
        =================================================================== 
        -->
-      <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run
the test cases">
+      <target name="test" depends="compile-tests" description="Run the test cases">
         <mkdir dir="${test.report}"/>
         <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true"
dir=".">
           <sysproperty key="basedir" value="."/>
@@ -359,17 +359,4 @@
           </batchtest>
         </junit>
       </target>
-      <target name="test-junit-present">
-        <available classname="junit.framework.Test" property="junit.present"/>
-      </target>
-    <!--
-       ===================================================================
-                                      Find Junit                                        
  
-       =================================================================== 
-       -->
-      <target name="junit-present" depends="test-junit-present" unless="junit.present">
-        <echo>================================= WARNING ================================</echo>
-        <echo> Junit isn't present in your $ANT_HOME/lib directory. Tests not executed.
</echo>
-        <echo>==========================================================================</echo>
-      </target>
 </project>

Modified: james/mailet/crypto/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/crypto/trunk/build.xml?rev=682446&r1=682445&r2=682446&view=diff
==============================================================================
--- james/mailet/crypto/trunk/build.xml (original)
+++ james/mailet/crypto/trunk/build.xml Mon Aug  4 10:29:28 2008
@@ -325,7 +325,7 @@
                                       Compile Tests                                     
               
        =================================================================== 
        -->
-    <target name="compile-tests" depends="junit-present, compile" description="Compile
the test code" if="junit.present">
+    <target name="compile-tests" depends="compile" description="Compile the test code">
         <mkdir dir="${test.classes}"/>
         <javac destdir="${test.classes}" excludes="**/package.html" debug="true" deprecation="true"
optimize="false">
           <src>
@@ -344,7 +344,7 @@
                                       Run Tests                                         
           
        =================================================================== 
        -->
-      <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run
the test cases">
+      <target name="test" depends="compile-tests" description="Run the test cases">
         <mkdir dir="${test.report}"/>
         <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true"
dir=".">
           <sysproperty key="basedir" value="."/>
@@ -362,17 +362,4 @@
           </batchtest>
         </junit>
       </target>
-      <target name="test-junit-present">
-        <available classname="junit.framework.Test" property="junit.present"/>
-      </target>
-    <!--
-       ===================================================================
-                                      Find Junit                                        
  
-       =================================================================== 
-       -->
-      <target name="junit-present" depends="test-junit-present" unless="junit.present">
-        <echo>================================= WARNING ================================</echo>
-        <echo> Junit isn't present in your $ANT_HOME/lib directory. Tests not executed.
</echo>
-        <echo>==========================================================================</echo>
-      </target>
 </project>

Modified: james/mailet/standard/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/standard/trunk/build.xml?rev=682446&r1=682445&r2=682446&view=diff
==============================================================================
--- james/mailet/standard/trunk/build.xml (original)
+++ james/mailet/standard/trunk/build.xml Mon Aug  4 10:29:28 2008
@@ -324,7 +324,7 @@
                                       Compile Tests                                     
               
        =================================================================== 
        -->
-    <target name="compile-tests" depends="junit-present, compile" description="Compile
the test code" if="junit.present">
+    <target name="compile-tests" depends="compile" description="Compile the test code">
         <mkdir dir="${test.classes}"/>
         <javac destdir="${test.classes}" excludes="**/package.html" debug="true" deprecation="true"
optimize="false">
           <src>
@@ -343,7 +343,7 @@
                                       Run Tests                                         
           
        =================================================================== 
        -->
-      <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run
the test cases">
+      <target name="test" depends="compile-tests" description="Run the test cases">
         <mkdir dir="${test.report}"/>
         <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true"
dir=".">
           <sysproperty key="basedir" value="."/>
@@ -361,17 +361,4 @@
           </batchtest>
         </junit>
       </target>
-      <target name="test-junit-present">
-        <available classname="junit.framework.Test" property="junit.present"/>
-      </target>
-    <!--
-       ===================================================================
-                                      Find Junit                                        
  
-       =================================================================== 
-       -->
-      <target name="junit-present" depends="test-junit-present" unless="junit.present">
-        <echo>================================= WARNING ================================</echo>
-        <echo> Junit isn't present in your $ANT_HOME/lib directory. Tests not executed.
</echo>
-        <echo>==========================================================================</echo>
-      </target>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message