jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r632995 - /jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java
Date Mon, 03 Mar 2008 09:16:03 GMT
Author: jukka
Date: Mon Mar  3 01:16:02 2008
New Revision: 632995

URL: http://svn.apache.org/viewvc?rev=632995&view=rev
Log:
JCR-1400: Backport JCR-940: add db connection autoConnect for BundleDbPersistenceManager
    - Make the 1.3 test case work even if there are spaces
      in the classpath

Modified:
    jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java

Modified: jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java?rev=632995&r1=632994&r2=632995&view=diff
==============================================================================
--- jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java
(original)
+++ jackrabbit/branches/1.3/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/persistence/ext/ExternalDerbyProcess.java
Mon Mar  3 01:16:02 2008
@@ -82,7 +82,7 @@
 		classPath += File.pathSeparatorChar + derbyJar;
 		classPath += File.pathSeparatorChar + derbyNetJar;
 		
-		String cmd = "java -cp " + classPath + " " + DERBY_JAVA_CMD;
+		String cmd = "java -cp \"" + classPath + "\" " + DERBY_JAVA_CMD;
 		logger.info(prefix + "Starting " + cmd);
 		
 		final Process p = Runtime.getRuntime().exec(cmd);



Mime
View raw message