jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r497014 - /jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java
Date Wed, 17 Jan 2007 13:17:50 GMT
Author: tripod
Date: Wed Jan 17 05:17:50 2007
New Revision: 497014

URL: http://svn.apache.org/viewvc?view=rev&rev=497014
Log:
[JCR-697] .war distribution should be configurable
- fixing minor bug, if bootstrap config directory does not exist

Modified:
    jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java

Modified: jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java?view=diff&rev=497014&r1=497013&r2=497014
==============================================================================
--- jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java
(original)
+++ jackrabbit/trunk/jackrabbit-webapp/src/main/java/org/apache/jackrabbit/j2ee/Installer.java
Wed Jan 17 05:17:50 2007
@@ -206,6 +206,9 @@
         props.setProperty("repository.home", repHome);
         props.setProperty("repository.config", repXml);
         in.close();
+        if (!dest.getParentFile().exists()) {
+            dest.getParentFile().mkdirs();
+        }
         OutputStream out = new FileOutputStream(dest);
         props.store(out, "bootstrap properties for the repository startup servlet.");
         out.close();



Mime
View raw message