Hi, I've just tried to build H2 and run it's coverage tests. The build 
worked but when the coverage tests are run they mainly return 
JdbcSQLException errors regarding the use of relative path for the 
database. 

I've included the console output (with the java command line split out for 
easy reading)


C:\SVN>build clean jar coverage -Dh2.ftpPassword=uploadBuildy
Target: clean
Deleting temp
Deleting docs
Target: jar
Deleting temp
Deleting docs
Compiling 603 classes
Copying 1 files to temp
Compiling 519 classes
Copying 14 files to temp
Running org.h2.build.doc.GenerateHelp
Javadoc
Constructing Javadoc information...
Zip temp/org/h2/util/data.zip (403 KB)
Jar bin/h2-1.3.175.jar (1622 KB)
Target: coverage
java     -Xmx128m 
        -XX:-UseSplitVerifier 
        -cp 
temp;bin;ext/emma-2.0.5312.jar;ext/postgresql-8.3-603.jdbc3.jar;ext/servlet-api-2.4.jar;ext/lucene-core-3.0.2.jar;ext/h2mig_pagestore_addon.jar;ext/org.osgi.core-4.2.0.jar;ext/org.osgi.enterprise-4.2.0.jar;ext/jts-1.13.jar;ext/slf4j-api-1.6.0.jar;ext/slf4j-nop-1.6.0.jar;C:\Program
 
Files\Java\jdk1.7.0_51\jre/../lib/tools.jar emma run 
        -cp temp 
        -sp src/main 
        -r html,txt 
        -ix 
-org.h2.test.*,-org.h2.dev.*,-org.h2.jaqu.*,-org.h2.mode.*,-org.h2.server.pg.* 
org.h2.test.TestAll
H2 1.3.175 (2014-01-18) @ 2014-03-28 18:03:04.838
Java 1.7.0_51-b13, Java HotSpot(TM) 64-Bit Server VM, Oracle Corporation, 64
Windows 7, amd64, 6.1, Service Pack 1, \ ; \r\n US en Europe/London  Cp1252

Test mvStore  (1644 KB used)
18:03:11 00:00.016 org.h2.test.db.TestScriptSimple FAIL 
org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the
 current working directory is not allowed in the database URL 
"jdbc:h2:./data/test/scriptSimple;MV_STORE=true;LOG=1;LOCK_TIMEOUT=50"
. Use an absolute path, ~/name, ./name, or the baseDir setting instead.  
[90011-175]
ERROR: FAIL org.h2.jdbc.JdbcSQLException: A file path that is implicitly 
relative to the current working directory is not allowed in
 the database URL 
"jdbc:h2:./data/test/scriptSimple;MV_STORE=true;LOG=1;LOCK_TIMEOUT=50". Use 
an absolute path, ~/name, ./name, or t
he baseDir setting instead.  [90011-175] org.h2.jdbc.JdbcSQLException: A 
file path that is implicitly relative to the current workin
g directory is not allowed in the database URL 
"jdbc:h2:./data/test/scriptSimple;MV_STORE=true;LOG=1;LOCK_TIMEOUT=50". Use 
an absolu
te path, ~/name, ./name, or the baseDir setting instead.  [90011-175] 
------------------------------
org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to 
the current working directory is not allowed in the databas
e URL 
"jdbc:h2:./data/test/scriptSimple;MV_STORE=true;LOG=1;LOCK_TIMEOUT=50". Use 
an absolute path, ~/name, ./name, or the baseDir s
etting instead.  [90011-175]

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to