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/03/30 15:11:03 UTC

svn commit: r1086942 - in /lucene/dev/branches/branch_3x/lucene: backwards/backwards-readme.txt backwards/src/test-framework/ backwards/src/test/ build.xml

Author: uschindler
Date: Wed Mar 30 13:11:03 2011
New Revision: 1086942

URL: http://svn.apache.org/viewvc?rev=1086942&view=rev
Log:
LUCENE-2994: Second commit - add svn cp'd files and add test-framework to build process

Added:
    lucene/dev/branches/branch_3x/lucene/backwards/src/test/   (props changed)
      - copied from r1086941, lucene/dev/tags/lucene_solr_3_1/lucene/src/test/
    lucene/dev/branches/branch_3x/lucene/backwards/src/test-framework/   (props changed)
      - copied from r1086941, lucene/dev/tags/lucene_solr_3_1/lucene/src/test-framework/
Modified:
    lucene/dev/branches/branch_3x/lucene/backwards/backwards-readme.txt
    lucene/dev/branches/branch_3x/lucene/build.xml

Modified: lucene/dev/branches/branch_3x/lucene/backwards/backwards-readme.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/backwards/backwards-readme.txt?rev=1086942&r1=1086941&r2=1086942&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/backwards/backwards-readme.txt (original)
+++ lucene/dev/branches/branch_3x/lucene/backwards/backwards-readme.txt Wed Mar 30 13:11:03 2011
@@ -7,8 +7,9 @@ are run against the new lucene-core.jar 
 After branching a new Lucene major version (branch name "lucene_X_Y") do the following:
 
 * svn rm backwards/src/test
-* svn cp https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_X_Y/lucene/src/test backwards/src/test
+* svn cp https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_X_Y/lucene/src/test-framework backwards/src
+* svn cp https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_X_Y/lucene/src/test backwards/src
 * Copy the lucene-core.jar from the last release tarball to backwards/lib and delete old one.
 * Check that everything is correct: The backwards folder should contain a src/ folder
-  that now contains "test". The files should be the ones from the branch.
+  that now contains "test" and "test-framework". The files should be the ones from the branch.
 * Run "ant test-backwards"

Modified: lucene/dev/branches/branch_3x/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/build.xml?rev=1086942&r1=1086941&r2=1086942&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/build.xml (original)
+++ lucene/dev/branches/branch_3x/lucene/build.xml Wed Mar 30 13:11:03 2011
@@ -95,6 +95,8 @@
       <mkdir dir="${build.dir.backwards}"/>	  
           
       <!-- compile branch tests against previous version JAR file -->	
+      <compile-test-macro srcdir="${backwards.dir}/src/test-framework" destdir="${build.dir.backwards}/classes/test"
+                  test.classpath="backwards.test.compile.classpath" javac.source="${javac.source.backwards}" javac.target="${javac.target.backwards}"/>
       <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}"/>