james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r654252 - /james/jsieve/trunk/build.xml
Date Wed, 07 May 2008 20:16:22 GMT
Author: rdonkin
Date: Wed May  7 13:16:22 2008
New Revision: 654252

URL: http://svn.apache.org/viewvc?rev=654252&view=rev
Log:
Build test classes

Modified:
    james/jsieve/trunk/build.xml

Modified: james/jsieve/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/build.xml?rev=654252&r1=654251&r2=654252&view=diff
==============================================================================
--- james/jsieve/trunk/build.xml (original)
+++ james/jsieve/trunk/build.xml Wed May  7 13:16:22 2008
@@ -161,7 +161,7 @@
                                   compile
     ===================================================================
     -->
-    <target name="compile" depends="compile-main"/>
+    <target name="compile" depends="compile-main, compile-tests"/>
     
     <target name="compile-main" depends="prepare">
       <echo message="Compiling jSieve Java sources"/>
@@ -177,6 +177,29 @@
         <classpath refid="project.class.path"/>
         <src path="${build.src}"/>
         <src path="${java.dir}"/>
+        <include name="org/apache/jsieve/**"/>
+      </javac>
+      <copy todir="${build.classes}">
+        <fileset dir="${java.dir}">
+          <include name="**/*.properties"/>
+        </fileset>
+      </copy>   
+      <copy file='LICENSE.apache' tofile="${build.classes}/META-INF/LICENSE.txt"/>
+      <copy tofile="${build.classes}/META-INF/NOTICE.txt" file='NOTICE.base'/>   
+    </target>
+	
+    <target name="compile-tests" depends="prepare, compile-main">
+      <echo message="Compiling jSieve test sources"/>
+      <mkdir dir="${build.classes}"/>
+      <javac 
+            destdir="${build.classes}" 
+            debug="${debug}" 
+            optimize="${optimize}" 
+            deprecation="${deprecation}"
+            source="${jdk.source}"
+            target="${jdk.target}" 
+            >
+        <classpath refid="project.class.path"/>
         <src path="${test.dir}"/>
         <include name="org/apache/jsieve/**"/>
       </javac>



---------------------------------------------------------------------
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