jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r156510 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java
Date Tue, 08 Mar 2005 08:14:19 GMT
Author: tripod
Date: Tue Mar  8 00:14:18 2005
New Revision: 156510

URL: http://svn.apache.org/viewcvs?view=rev&rev=156510
Log:
- fixing default workspace creation

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java?view=diff&r1=156509&r2=156510
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java
Tue Mar  8 00:14:18 2005
@@ -294,7 +294,7 @@
 
         // Create the workspace.xml file from the configuration template.
         try {
-            Element element = (Element) template.getChild("Workspace").clone();
+            Element element = (Element) template.clone();
             element.setAttribute("name", name);
             Document document = new Document(element);
             XMLOutputter outputter =



Mime
View raw message