You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/05/17 17:57:56 UTC

svn commit: r538983 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java

Author: djd
Date: Thu May 17 08:57:53 2007
New Revision: 538983

URL: http://svn.apache.org/viewvc?view=rev&rev=538983
Log:
Add comments to upgradeTests._Suite indicating how to check out the release jars from svn
and use them with the upgrade test.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java?view=diff&rev=538983&r1=538982&r2=538983
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/_Suite.java Thu May 17 08:57:53 2007
@@ -75,7 +75,7 @@
     /**
      * The saved location in svn at apache for older releases for testing
      */
-    public static final String OLD_JAR_URL =
+    static final String OLD_JAR_URL =
         "https://svn.apache.org/repos/asf/db/derby/jars";
     
     /**
@@ -90,6 +90,18 @@
      * 
      * If the property is set, but ${derbyTesting.oldReleasePath}/M.m.f.p does not exist
      * for a specific release then those sets of tests will be skipped.
+     * 
+     * One can also set derbyTesting.oldReleasePath to a checked out
+     * version of the jars from the Apache svn repo. E.g.
+     * 
+     * cd $HOME
+     * mkdir derby_upgrade
+     * cd derby_upgrade
+     * svn co https://svn.apache.org/repos/asf/db/derby/jars
+     * 
+     * Then set derbyTesting.oldReleasePath as:
+     *   -DderbyTesting.oldReleasePath=$HOME/derby_upgrade/jars
+     * when running tests.
      */
     private static final int[][] OLD_VERSIONS =
     {