jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r263892 - /incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java
Date Sun, 28 Aug 2005 17:08:22 GMT
Author: edgarpoce
Date: Sun Aug 28 10:08:09 2005
New Revision: 263892

URL: http://svn.apache.org/viewcvs?rev=263892&view=rev
Log:
jcr-201 [contrib-bdb] initialization fails if directory doesn't exist

Modified:
    incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java

Modified: incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java?rev=263892&r1=263891&r2=263892&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java
(original)
+++ incubator/jackrabbit/trunk/contrib/bdb-persistence/src/java/org/apache/jackrabbit/core/state/bdb/BerkeleyDBPersistenceManager.java
Sun Aug 28 10:08:09 2005
@@ -71,7 +71,7 @@
         // prepare the db directory
         File envDir = new File(context.getHomeDir(), "db");
         if (!envDir.exists())
-            envDir.mkdir();
+            envDir.mkdirs();
 
         log.debug("init berkeleyDb environment at " + envDir.getAbsolutePath());
 



Mime
View raw message