You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/11/21 11:32:07 UTC

svn commit: r1204436 - in /lucene/dev/branches/branch_3x/lucene: backwards/lib/lucene-core-3.5-RCbranch.jar backwards/src/test-framework/ backwards/src/test/ build.xml

Author: uschindler
Date: Mon Nov 21 10:32:06 2011
New Revision: 1204436

URL: http://svn.apache.org/viewvc?rev=1204436&view=rev
Log:
Add new backwards tests from 3.5 release branch. Also added a temporary 3.5 lucene-core.jar file.

Once the release is out, changes to the backwards tests from the release branch will be merged to the backwards folder and the final/official JAR file is placed in lib folder. This also fixes the backwards compilation to respect new test-framework source layout.

Added:
    lucene/dev/branches/branch_3x/lucene/backwards/lib/lucene-core-3.5-RCbranch.jar   (with props)
    lucene/dev/branches/branch_3x/lucene/backwards/src/test/   (props changed)
      - copied from r1204429, lucene/dev/branches/lucene_solr_3_5/lucene/src/test/
    lucene/dev/branches/branch_3x/lucene/backwards/src/test-framework/   (props changed)
      - copied from r1204429, lucene/dev/branches/lucene_solr_3_5/lucene/src/test-framework/
Modified:
    lucene/dev/branches/branch_3x/lucene/build.xml

Added: lucene/dev/branches/branch_3x/lucene/backwards/lib/lucene-core-3.5-RCbranch.jar
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/backwards/lib/lucene-core-3.5-RCbranch.jar?rev=1204436&view=auto
==============================================================================
Binary file - no diff available.

Modified: lucene/dev/branches/branch_3x/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/build.xml?rev=1204436&r1=1204435&r2=1204436&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/build.xml (original)
+++ lucene/dev/branches/branch_3x/lucene/build.xml Mon Nov 21 10:32:06 2011
@@ -91,10 +91,16 @@
   	description="Runs tests of a previous Lucene version.">
     <sequential>
       <mkdir dir="${build.dir.backwards}"/>	  
-          
+      
+      <!-- TODO: separate test-framework from core tests (because META-INF duplicates in trunk) -->
+      
       <!-- compile branch tests against previous version JAR file -->	
-      <compile-test-macro srcdir="${backwards.dir}/src/test-framework" destdir="${build.dir.backwards}/classes/test"
+      <compile-test-macro srcdir="${backwards.dir}/src/test-framework/java" destdir="${build.dir.backwards}/classes/test"
                   test.classpath="backwards.test.compile.classpath" javac.source="${javac.source.backwards}" javac.target="${javac.target.backwards}"/>
+      <!-- Copy the resources folder (if existent) -->
+      <copy todir="${build.dir.backwards}/classes/test">
+        <fileset dir="${backwards.dir}/src/test-framework/resources" erroronmissingdir="no"/>
+      </copy>
       <compile-test-macro srcdir="${backwards.dir}/src/test" destdir="${build.dir.backwards}/classes/test"
                   test.classpath="backwards.test.compile.classpath" javac.source="${javac.source.backwards}" javac.target="${javac.target.backwards}"/>