james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r682416 - in /james/mailet: base/trunk/build.xml base/trunk/include.properties base/trunk/stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar crypto/trunk/build.xml standard/trunk/build.xml standard/trunk/include.properties
Date Mon, 04 Aug 2008 15:01:46 GMT
Author: bago
Date: Mon Aug  4 08:01:46 2008
New Revision: 682416

URL: http://svn.apache.org/viewvc?rev=682416&view=rev
Log:
Updated the ant build to support new tests moved from server's code (according to MAILET-13)

Added:
    james/mailet/base/trunk/stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar   (with
props)
Modified:
    james/mailet/base/trunk/build.xml
    james/mailet/base/trunk/include.properties
    james/mailet/crypto/trunk/build.xml
    james/mailet/standard/trunk/build.xml
    james/mailet/standard/trunk/include.properties

Modified: james/mailet/base/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/base/trunk/build.xml?rev=682416&r1=682415&r2=682416&view=diff
==============================================================================
--- james/mailet/base/trunk/build.xml (original)
+++ james/mailet/base/trunk/build.xml Mon Aug  4 08:01:46 2008
@@ -37,7 +37,8 @@
     <path id="project.class.path">
         <pathelement path="${javax-mail.jar}"/>
         <pathelement path="${javax-activation.jar}"/>
-    	<pathelement path="${mailet.jar}"/>
+        <pathelement path="${mailet.jar}"/>
+        <pathelement path="${mailet-tests.jar}"/>
         <pathelement path="${java.class.path}" />
         <pathelement path="${build.classes}" />
     </path>
@@ -180,6 +181,13 @@
           </manifest>
       </jar>
 
+      <echo message="Making Mailet Test Jar (${name}-${version}-tests.jar)"/>
+      <jar 
+            jarfile="${build.lib}/${name}-${version}-tests.jar" 
+            basedir="${test.classes}">
+          <include name="org/apache/**"/>
+          <include name="META-INF/**"/> 
+      </jar>
 
     </target>
 

Modified: james/mailet/base/trunk/include.properties
URL: http://svn.apache.org/viewvc/james/mailet/base/trunk/include.properties?rev=682416&r1=682415&r2=682416&view=diff
==============================================================================
--- james/mailet/base/trunk/include.properties (original)
+++ james/mailet/base/trunk/include.properties Mon Aug  4 08:01:46 2008
@@ -26,7 +26,8 @@
 
 # ----- Activation -----
 activation.id=activation-1.1.1
-javax-activation.jar=stage/activation/jars/${activation.id}.jar
+javax-activation.jar=stage/javax.activation/jars/${activation.id}.jar
 
 # ----- Mailet -----
-mailet.jar=stage/org.apache.james/jars/mailet-2.4-SNAPSHOT.jar
\ No newline at end of file
+mailet.jar=stage/org.apache.james/jars/mailet-2.4-SNAPSHOT.jar
+mailet-tests.jar=stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar
\ No newline at end of file

Added: james/mailet/base/trunk/stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar
URL: http://svn.apache.org/viewvc/james/mailet/base/trunk/stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar?rev=682416&view=auto
==============================================================================
Binary file - no diff available.

Propchange: james/mailet/base/trunk/stage/org.apache.james/jars/mailet-2.4-SNAPSHOT-tests.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: james/mailet/crypto/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/crypto/trunk/build.xml?rev=682416&r1=682415&r2=682416&view=diff
==============================================================================
--- james/mailet/crypto/trunk/build.xml (original)
+++ james/mailet/crypto/trunk/build.xml Mon Aug  4 08:01:46 2008
@@ -183,6 +183,14 @@
           </manifest>
       </jar>
 
+
+      <echo message="Making Mailet Test Jar (${name}-${version}-tests.jar)"/>
+      <jar 
+            jarfile="${build.lib}/${name}-${version}-tests.jar" 
+            basedir="${test.classes}">
+          <include name="org/apache/**"/>
+          <include name="META-INF/**"/> 
+      </jar>
 
     </target>
 

Modified: james/mailet/standard/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/mailet/standard/trunk/build.xml?rev=682416&r1=682415&r2=682416&view=diff
==============================================================================
--- james/mailet/standard/trunk/build.xml (original)
+++ james/mailet/standard/trunk/build.xml Mon Aug  4 08:01:46 2008
@@ -37,8 +37,9 @@
     <path id="project.class.path">
         <pathelement path="${javax-mail.jar}"/>
         <pathelement path="${javax-activation.jar}"/>
-    	<pathelement path="${mailet.jar}"/>
-    	<pathelement path="${mailet-base.jar}"/>
+        <pathelement path="${mailet.jar}"/>
+        <pathelement path="${mailet-base.jar}"/>
+        <pathelement path="${mailet-base-tests.jar}"/>
         <pathelement path="${java.class.path}" />
         <pathelement path="${build.classes}" />
     </path>
@@ -181,6 +182,14 @@
           </manifest>
       </jar>
 
+
+      <echo message="Making Mailet Test Jar (${name}-${version}-tests.jar)"/>
+      <jar 
+            jarfile="${build.lib}/${name}-${version}-tests.jar" 
+            basedir="${test.classes}">
+          <include name="org/apache/**"/>
+          <include name="META-INF/**"/> 
+      </jar>
 
     </target>
 

Modified: james/mailet/standard/trunk/include.properties
URL: http://svn.apache.org/viewvc/james/mailet/standard/trunk/include.properties?rev=682416&r1=682415&r2=682416&view=diff
==============================================================================
--- james/mailet/standard/trunk/include.properties (original)
+++ james/mailet/standard/trunk/include.properties Mon Aug  4 08:01:46 2008
@@ -26,8 +26,9 @@
 
 # ----- Activation -----
 activation.id=activation-1.1.1
-javax-activation.jar=stage/activation/jars/${activation.id}.jar
+javax-activation.jar=stage/javax.activation/jars/${activation.id}.jar
 
 # ----- Mailet -----
 mailet.jar=stage/org.apache.james/jars/mailet-2.4-SNAPSHOT.jar
-mailet-base.jar=stage/org.apache.james/jars/apache-james-mailet-base-1.0-SNAPSHOT.jar
\ No newline at end of file
+mailet-base.jar=stage/org.apache.james/jars/apache-james-mailet-base-1.0-SNAPSHOT.jar
+mailet-base-tests.jar=stage/org.apache.james/jars/apache-james-mailet-base-1.0-SNAPSHOT-tests.jar



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