You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2007/03/27 03:09:45 UTC

svn commit: r522694 - in /james/jsieve/trunk: build.xml default.properties include.properties lib/junit.jar

Author: noel
Date: Mon Mar 26 18:09:41 2007
New Revision: 522694

URL: http://svn.apache.org/viewvc?view=rev&rev=522694
Log:
(1) Force JDK 1.4 compatibility.  (2) Fix so that Ant builds with local junit.

Added:
    james/jsieve/trunk/lib/junit.jar   (with props)
Modified:
    james/jsieve/trunk/build.xml
    james/jsieve/trunk/default.properties
    james/jsieve/trunk/include.properties

Modified: james/jsieve/trunk/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/build.xml?view=diff&rev=522694&r1=522693&r2=522694
==============================================================================
--- james/jsieve/trunk/build.xml (original)
+++ james/jsieve/trunk/build.xml Mon Mar 26 18:09:41 2007
@@ -54,6 +54,7 @@
         <pathelement location="${commons-logging.jar}"/>
         <pathelement location="${jakarta-oro.jar}"/>
         <pathelement location="${log4j.jar}"/>
+        <pathelement location="${junit.jar}"/>
         <pathelement path="${java.class.path}" />
         <pathelement path="${build.classes}" />
     </path>
@@ -364,6 +365,7 @@
                 </fileset>
                 <pathelement location="${dist.dir}/conf/"/>
                 <pathelement path="${java.class.path}"/>
+                <pathelement location="${junit.jar}"/>
             </classpath>
             <formatter type="plain"/>
             <batchtest fork="yes" todir="${dist.dir}/reports">

Modified: james/jsieve/trunk/default.properties
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/default.properties?view=diff&rev=522694&r1=522693&r2=522694
==============================================================================
--- james/jsieve/trunk/default.properties (original)
+++ james/jsieve/trunk/default.properties Mon Mar 26 18:09:41 2007
@@ -20,6 +20,8 @@
 # javac task to run without this}
 
 build.compiler = modern
+jdk.source = 1.4
+jdk.target = 1.4
 
 #
 # compiler switches

Modified: james/jsieve/trunk/include.properties
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/include.properties?view=diff&rev=522694&r1=522693&r2=522694
==============================================================================
--- james/jsieve/trunk/include.properties (original)
+++ james/jsieve/trunk/include.properties Mon Mar 26 18:09:41 2007
@@ -43,3 +43,6 @@
 
 # ----- Log4J -----
 log4j.jar=${lib.dir}/log4j-1.2.8.jar
+
+# ----- JUnit -----
+junit.jar=${lib.dir}/junit.jar

Added: james/jsieve/trunk/lib/junit.jar
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/lib/junit.jar?view=auto&rev=522694
==============================================================================
Binary file - no diff available.

Propchange: james/jsieve/trunk/lib/junit.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



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