jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r156314 [7/15] - in incubator/jackrabbit/trunk/contrib/jcr-server: ./ client/ client/src/ client/src/java/ client/src/java/org/ client/src/java/org/apache/ client/src/java/org/apache/jackrabbit/ client/src/java/org/apache/jackrabbit/client/ server/ server/src/ server/src/java/ server/src/java/org/ server/src/java/org/apache/ server/src/java/org/apache/jackrabbit/ server/src/java/org/apache/jackrabbit/server/ server/src/java/org/apache/jackrabbit/server/simple/ server/src/java/org/apache/jackrabbit/server/simple/dav/ server/src/java/org/apache/jackrabbit/server/simple/dav/lock/ server/src/java/org/apache/jackrabbit/webdav/ server/src/java/org/apache/jackrabbit/webdav/spi/ server/src/java/org/apache/jackrabbit/webdav/spi/lock/ server/src/java/org/apache/jackrabbit/webdav/spi/nodetype/ server/src/java/org/apache/jackrabbit/webdav/spi/observation/ server/src/java/org/apache/jackrabbit/webdav/spi/search/ server/src/java/org/apache/jackrabbit/webdav/spi/transaction/ server/src/java/org/apache/jackrabbit/webdav/spi/version/ server/src/java/org/apache/jackrabbit/webdav/spi/version/report/ webapp/ webapp/src/ webapp/src/webapp/ webapp/src/webapp/WEB-INF/ webapp/src/webapp/WEB-INF/repository/ webdav/ webdav/src/ webdav/src/java/ webdav/src/java/org/ webdav/src/java/org/apache/ webdav/src/java/org/apache/jackrabbit/ webdav/src/java/org/apache/jackrabbit/webdav/ webdav/src/java/org/apache/jackrabbit/webdav/lock/ webdav/src/java/org/apache/jackrabbit/webdav/observation/ webdav/src/java/org/apache/jackrabbit/webdav/ordering/ webdav/src/java/org/apache/jackrabbit/webdav/property/ webdav/src/java/org/apache/jackrabbit/webdav/search/ webdav/src/java/org/apache/jackrabbit/webdav/transaction/ webdav/src/java/org/apache/jackrabbit/webdav/util/ webdav/src/java/org/apache/jackrabbit/webdav/version/ webdav/src/java/org/apache/jackrabbit/webdav/version/report/
Date Sun, 06 Mar 2005 14:03:10 GMT
Added: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java Sun Mar  6 06:02:39 2005
@@ -0,0 +1,294 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.webdav.spi.version.report;
+
+import org.apache.log4j.Logger;
+import org.apache.jackrabbit.webdav.version.report.*;
+import org.apache.jackrabbit.webdav.version.DeltaVResource;
+import org.apache.jackrabbit.webdav.DavException;
+import org.apache.jackrabbit.webdav.DavServletResponse;
+import org.apache.jackrabbit.webdav.DavSession;
+import org.apache.jackrabbit.webdav.spi.nodetype.NodeTypeConstants;
+import org.apache.jackrabbit.webdav.spi.nodetype.NodeTypeElement;
+import org.apache.jackrabbit.webdav.spi.JcrDavException;
+import org.apache.jackrabbit.core.util.IteratorHelper;
+import org.jdom.Document;
+import org.jdom.Element;
+
+import javax.jcr.nodetype.*;
+import javax.jcr.*;
+import javax.jcr.version.OnParentVersionAction;
+import java.util.*;
+
+/**
+ * <code>NodeTypesReport</code> allows to retrieve the definition of a single
+ * or multiple node types. The request body must be a 'jcr:nodetypes' element:
+ * <pre>
+ * &lt;!ELEMENT nodetypes ( nodetype+ | all-nodetypes | mixin-nodetypes | primary-nodetypes ) &gt;
+ *
+ * &lt;!ELEMENT nodetype ( nodetype-name ) &gt;
+ * &lt;!ELEMENT nodetype-name (#PCDATA) &gt;
+ *
+ * &lt;!ELEMENT all-nodetypes EMPTY &gt;
+ * &lt;!ELEMENT mixin-nodetypes EMPTY &gt;
+ * &lt;!ELEMENT primary-nodetypes EMPTY &gt;
+ * </pre>
+ */
+public class NodeTypesReport implements Report, NodeTypeConstants {
+
+    private static Logger log = Logger.getLogger(NodeTypesReport.class);
+
+    /**
+     * The registered type of this report.
+     */
+    public static final ReportType NODETYPES_REPORT = ReportType.register("nodetypes", NodeTypeConstants.NAMESPACE, NodeTypesReport.class);
+
+    private NodeTypeManager ntMgr;
+    private ReportInfo info;
+
+    /**
+     * Returns {@link #NODETYPES_REPORT} type.
+     * @return {@link #NODETYPES_REPORT}
+     * @see org.apache.jackrabbit.webdav.version.report.Report#getType()
+     */
+    public ReportType getType() {
+        return NODETYPES_REPORT;
+    }
+
+    /**
+     * @param resource
+     * @throws IllegalArgumentException if the resource or the session retrieved
+     * from the specified resource is <code>null</code>
+     * @see Report#setResource(org.apache.jackrabbit.webdav.version.DeltaVResource)
+     */
+    public void setResource(DeltaVResource resource) {
+        if (resource == null) {
+            throw new IllegalArgumentException("Resource must not be null.");
+        }
+        try {
+            DavSession session = resource.getSession();
+            if (session == null || session.getRepositorySession() == null) {
+                throw new IllegalArgumentException("The resource must provide a non-null session object in order to create the jcr:nodetypes report.");
+            }
+            ntMgr = session.getRepositorySession().getWorkspace().getNodeTypeManager();
+        } catch (RepositoryException e) {
+            log.error(e.getMessage());
+        }
+    }
+
+    /**
+     * @param info
+     * @throws IllegalArgumentException if the specified info does not contain
+     * a jcr:nodetypes element.
+     * @see Report#setInfo(org.apache.jackrabbit.webdav.version.report.ReportInfo)
+     */
+    public void setInfo(ReportInfo info) {
+        if (info == null || !"nodetypes".equals(info.getReportElement().getName())) {
+            throw new IllegalArgumentException("jcr:nodetypes element expected.");
+        }
+        this.info = info;
+    }
+
+    /**
+     * Returns a Xml representation of the node type definition(s) according
+     * to the info object.
+     *
+     * @return Xml representation of the node type definition(s)
+     * @throws DavException if the specified nodetypes are not known or if another
+     * error occurs while retrieving the nodetype definitions.
+     * @see org.apache.jackrabbit.webdav.version.report.Report#toXml()
+     */
+    public Document toXml() throws DavException {
+        if (info == null || ntMgr == null) {
+            throw new DavException(DavServletResponse.SC_INTERNAL_SERVER_ERROR, "Error while running jcr:nodetypes report");
+        }
+        try {
+            Element report = new Element("nodetypes-report", NAMESPACE);
+            NodeTypeIterator ntIter = getNodeTypes();
+            while (ntIter.hasNext()) {
+                NodeType nt = ntIter.nextNodeType();
+                Element ntDef = new Element(XML_NODETYPEDEFINITION, NAMESPACE);
+                ntDef.addContent(new Element(XML_NODETYPENAME, NAMESPACE).setText(nt.getName()));
+
+                if (nt.isMixin()) {
+                    ntDef.addContent(new Element(XML_MIXIN, NAMESPACE));
+                }
+                if (nt.hasOrderableChildNodes()) {
+                    ntDef.addContent(new Element(XML_ORDERABLECHILDNODES, NAMESPACE));
+                }
+
+                Element supertypes = new Element(XML_SUPERTYPES, NAMESPACE).addContent(Arrays.asList(NodeTypeElement.create(nt.getSupertypes())));
+                ntDef.addContent(supertypes);
+                Element declSupertypes = new Element(XML_DECLARED_SUPERTYPES, NAMESPACE).addContent(Arrays.asList(NodeTypeElement.create(nt.getDeclaredSupertypes())));
+                ntDef.addContent(declSupertypes);
+
+                NodeDef[] cnd = nt.getChildNodeDefs();
+                for (int i = 0; i < cnd.length; i++) {
+                    ntDef.addContent(getDefinitionElement(cnd[i]));
+                }
+
+                PropertyDef[] pd = nt.getPropertyDefs();
+                for (int i = 0; i < pd.length; i++) {
+                    ntDef.addContent(getDefinitionElement(pd[i]));
+                }
+
+                String primaryItemName = nt.getPrimaryItemName();
+                if (primaryItemName != null) {
+                    ntDef.addContent(new Element(XML_PRIMARYITEMNAME, NAMESPACE).setText(primaryItemName));
+                }
+                report.addContent(ntDef);
+            }
+
+            Document reportDoc = new Document(report);
+            return reportDoc;
+        } catch (RepositoryException e) {
+            throw new JcrDavException(e);
+        }
+    }
+
+    /**
+     * Parse the Xml element in the info object an return an interator over
+     * the specified node types.
+     *
+     * @return
+     * @throws RepositoryException
+     * @throws DavException
+     */
+    private NodeTypeIterator getNodeTypes() throws RepositoryException, DavException {
+        NodeTypeIterator ntIter = null;
+        Iterator it = info.getReportElement().getChildren().iterator();
+        while (it.hasNext() && ntIter == null) {
+            Element elem = (Element) it.next();
+            if (elem.getNamespace().equals(NAMESPACE)) {
+                String name = elem.getName();
+                if ("allnodetypes".equals(name)) {
+                    ntIter = ntMgr.getAllNodeTypes();
+                } else if ("mixinnodetypes".equals(name)) {
+                    ntIter = ntMgr.getMixinNodeTypes();
+                } else if ("primarynodetypes".equals(name)) {
+                    ntIter = ntMgr.getPrimaryNodeTypes();
+                }
+            }
+        }
+        // None of the simple types. test if a report for individual nodetypes
+        // was request. If not, the request body is not valid.
+        if (ntIter == null) {
+            List ntList = new ArrayList();
+            List elemList = info.getReportElement().getChildren(XML_NODETYPE, NAMESPACE);
+            if (elemList.isEmpty()) {
+                // throw exception if the request body does not contain a single jcr:nodetype element
+                throw new DavException(DavServletResponse.SC_BAD_REQUEST, "NodeTypes report: request body has invalid format.");
+            }
+            Iterator elemIter = elemList.iterator();
+            while (elemIter.hasNext()) {
+                String nodetypeName = ((Element)elemIter.next()).getChildText(XML_NODETYPENAME, NAMESPACE);
+                if (nodetypeName != null) {
+                    ntList.add(ntMgr.getNodeType(nodetypeName));
+                }
+            }
+            ntIter = new IteratorHelper(Collections.unmodifiableCollection(ntList));
+        }
+
+        return ntIter;
+    }
+
+    /**
+     * Return the Xml representation of a {@link NodeDef}.
+     *
+     * @param def
+     * @return Xml representation of the specified {@link NodeDef def}.
+     */
+    private Element getDefinitionElement(NodeDef def) {
+        Element elem = getDefinitionElement(XML_CHILDNODEDEF, def);
+
+        elem.setAttribute(ATTR_SAMENAMESIBS, Boolean.toString(def.allowSameNameSibs()), NAMESPACE);
+
+        // defaultPrimaryType can be 'null'
+        NodeType defaultPrimaryType = def.getDefaultPrimaryType();
+        if (defaultPrimaryType != null) {
+            Element ntElem = new Element(XML_DEFAULTPRIMARYTYPE, NAMESPACE);
+            ntElem.addContent(new NodeTypeElement(defaultPrimaryType));
+            elem.addContent(ntElem);
+        }
+        // reqPrimaryTypes: minimal set is nt:base.
+        NodeType[] nts = def.getRequiredPrimaryTypes();
+        Element reqPrimaryTypes = new Element(XML_REQUIREDPRIMARYTYPES, NAMESPACE);
+        reqPrimaryTypes.addContent(Arrays.asList(NodeTypeElement.create(nts)));
+        elem.addContent(reqPrimaryTypes);
+
+        return elem;
+    }
+
+    /**
+     * Returns the Xml representation of a {@link PropertyDef}.
+     *
+     * @param def
+     * @return Xml representation of the specified {@link PropertyDef def}.
+     */
+    private Element getDefinitionElement(PropertyDef def) {
+        Element elem = getDefinitionElement(XML_PROPERTYDEF, def);
+
+        elem.setAttribute(ATTR_MULTIPLE, Boolean.toString(def.isMultiple()), NAMESPACE);
+        elem.setAttribute(ATTR_TYPE, PropertyType.nameFromValue(def.getRequiredType()), NAMESPACE);
+
+        // default values may be 'null'
+        Value[] values = def.getDefaultValues();
+        if (values != null) {
+            Element dvElement = new Element(XML_DEFAULTVALUES, NAMESPACE);
+            for (int i = 0; i < values.length; i++) {
+                try {
+                    Element valElem = new Element(XML_DEFAULTVALUE, NAMESPACE).setText(values[i].getString());
+                    dvElement.addContent(valElem);
+                } catch (RepositoryException e) {
+                    // should not occur
+                    log.error(e.getMessage());
+                }
+            }
+            elem.addContent(dvElement);
+        }
+        // value constraints array is never null.
+        Element constrElem = new Element(XML_VALUECONSTRAINTS, NAMESPACE);
+        String[] constraints = def.getValueConstraints();
+        for (int i = 0; i < constraints.length; i++) {
+            constrElem.addContent(new Element(XML_VALUECONSTRAINT, NAMESPACE).setText(constraints[i]));
+        }
+        elem.addContent(constrElem);
+
+        return elem;
+    }
+
+    /**
+     * Returns the Xml representation of a {@link ItemDef} object.
+     *
+     * @param elementName
+     * @param def
+     * @return Xml representation of the specified {@link ItemDef def}.
+     */
+    private Element getDefinitionElement(String elementName, ItemDef def) {
+        Element elem = new Element(elementName, NAMESPACE);
+        elem.setAttribute(ATTR_NAME, def.getName(), NAMESPACE);
+        elem.setAttribute(ATTR_AUTOCREATE, Boolean.toString(def.isAutoCreate()), NAMESPACE);
+        elem.setAttribute(ATTR_MANDATORY, Boolean.toString(def.isMandatory()), NAMESPACE);
+        elem.setAttribute(ATTR_ONPARENTVERSION, OnParentVersionAction.nameFromValue(def.getOnParentVersion()), NAMESPACE);
+        elem.setAttribute(ATTR_PROTECTED, Boolean.toString(def.isProtected()), NAMESPACE);
+
+        Element ntElem = new Element(XML_DECLARINGNODETYPE, NAMESPACE);
+        ntElem.addContent(new NodeTypeElement(def.getDeclaringNodeType()));
+        elem.addContent(ntElem);
+
+        return elem;
+    }
+}
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java
------------------------------------------------------------------------------
    svn = 

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/NodeTypesReport.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/package.html
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/package.html?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/package.html (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/package.html Sun Mar  6 06:02:39 2005
@@ -0,0 +1,3 @@
+<body>
+Contains JCR specific reports.
+</body>
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/spi/version/report/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt Sun Mar  6 06:02:39 2005
@@ -0,0 +1,90 @@
+-------------------------------------------------------------------
+todo webdav package
+-------------------------------------------------------------------
+
+- usage of jdom....
+
+-------------------------------------------------------------------
+todo webdav/version package
+-------------------------------------------------------------------
+
+- review: compliance to deltaV
+- reflecting feature-sets
+- baseline/activity not respected yet.
+
+-------------------------------------------------------------------
+todo webdav/transaction package
+-------------------------------------------------------------------
+
+- review naming of the lock scopes. 'global','local' are not correct in
+  this context.
+- repository transactions ('global') are only possible with jackrabbit, where
+  the session represents the XAResource itself.
+  since j2ee explicitely requires any usertransaction to be completed
+  upon the end of the servletes service method.
+  general review necessary....
+
+-------------------------------------------------------------------
+todo webdav/search package
+-------------------------------------------------------------------
+
+- SearchResource should extend DavResource
+- basicquery as defined by the internet draft not respected
+  currently.
+
+-------------------------------------------------------------------
+todo spi / servlets
+-------------------------------------------------------------------
+
+general 
+
+- undo incomplete changes in case of exception
+- review GET/PUT for JCR properties
+- etag property on resources
+- use strong etag for comparison in ifHeader!
+- multistatus fuer lock, copy, move, delete, proppatch wherever required.
+- DAV:supported-live-property-set
+- timeout: remove expired locks/subscriptions
+- improve definition methods/compliance-class
+- methods/compliance-class auf der root resoure vs *
+- OPTIONS to *-request-uri (according to RFC 2616)
+
+ordering
+
+- respect Position header with creation of new collection members by
+  PUT, COPY, MKCOL requests
+
+lock
+
+- implement session-scoped locks. this includes:
+  > uncommenting supported-locks entry
+  > build caching mechanism for session in case of session-scoped locks.
+  > retrieval of cached sessions (currently not possible from IfHeader).
+  > open issue in JCR: scope of lock cannot be retrieved.
+
+- JCR lock-token currently not checked for compliance with RFC2518. If the
+  token is modified accordingly, setting the lock-token to the subsequent
+  session (currently in the WebdavRequestImpl) must be aware of that change....
+
+- transaction locks
+  - lock returned upon lock-discovery 
+  - remove after timeout (>> releasing cached sessions)
+  - define reasonable timeout or make timeout configurable
+  - createLock must respect existing locks in the subtree, for lock is always deep.
+
+observation
+
+- make sure all expired subscriptions are removed.
+- subscription: reasonable default/max timeout make it configurable...
+
+versioning
+
+- VersionItemResource. review regarding definition of a version resource 
+  rfc3253: 'A "version resource", or simply "version", is a resource 
+  that contains a copy of a particular state (content and dead properties) of a 
+  version-controlled resource. A version is created by "checking in" a checked-out 
+  resource. The server allocates a distinct new URL for each new version, and 
+  this URL will never be used to identify any resource other than that version. 
+  The content and dead properties of a version never change.'
+
+- Additional VERSION-CONTROL Semantics with workspace not implemented.

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt
------------------------------------------------------------------------------
    svn = 

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/todo.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iml?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iml (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iml Sun Mar  6 06:02:39 2005
@@ -0,0 +1,247 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="false" type="J2EE_WEB_MODULE">
+  <component name="ModuleRootManager" />
+  <component name="NewModuleRootManager">
+    <output url="file://$MODULE_DIR$/target/classes" />
+    <exploded url="file://$MODULE_DIR$/target/jackrabbit-server" />
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="jdk" jdkName="java version &quot;1.4.2_03&quot;" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="jcr-server" />
+    <orderEntry type="module" module-name="jcr-webdav" />
+    <orderEntry type="module" module-name="jcr-client" />
+    <orderEntry type="module-library">
+      <library name="jcr">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/jsr170/jars/jcr-0.16.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="jackrabbit">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/jackrabbit/jars/jackrabbit-0.16.2-dev.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="jdom">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/jdom/jars/jdom-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="log4j">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/log4j/jars/log4j-1.2.8.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="junit">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/junit/jars/junit-3.8.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="jcr-rmi">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/jcr-rmi/jars/jcr-rmi-0.16.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="concurrent">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/concurrent/jars/concurrent-1.3.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="commons-collections">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/commons-collections/jars/commons-collections-2.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="geronimo-spec-jta">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/geronimo-spec/jars/geronimo-spec-jta-1.0-M1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="lucene">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/lucene/jars/lucene-1.4.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="xercesImpl">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/xerces/jars/xercesImpl-2.6.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="cqfs-jackrabbit">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/cqfs/jars/cqfs-jackrabbit-3.5.6.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="cqfs">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/cqfs/jars/cqfs-3.5.6.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="commons-logging">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/commons-logging/jars/commons-logging-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library name="servletapi">
+        <CLASSES>
+          <root url="jar://T:/maven/repository/servletapi/jars/servletapi-2.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntryProperties />
+  </component>
+  <component name="WebModuleBuildComponent">
+    <setting name="EXPLODED_URL" value="file://$MODULE_DIR$/target/jackrabbit-server" />
+    <setting name="EXPLODED_ENABLED" value="true" />
+    <setting name="JAR_URL" value="file://" />
+    <setting name="JAR_ENABLED" value="false" />
+    <setting name="SYNC_EXPLODED_DIR" value="false" />
+    <setting name="BUILD_ON_FRAME_DEACTIVATION" value="false" />
+    <setting name="RUN_JASPER_VALIDATION" value="false" />
+  </component>
+  <component name="WebModuleProperties">
+    <containerElement type="module" name="jcr-client">
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/classes" />
+    </containerElement>
+    <containerElement type="module" name="jcr-server">
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/classes" />
+    </containerElement>
+    <containerElement type="module" name="jcr-webdav">
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/classes" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/commons-collections/jars/commons-collections-2.1.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/commons-collections-2.1.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/commons-logging/jars/commons-logging-1.0.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/commons-logging-1.0.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/concurrent/jars/concurrent-1.3.4.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/concurrent-1.3.4.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/cqfs/jars/cqfs-3.5.6.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/cqfs-3.5.6.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/cqfs/jars/cqfs-jackrabbit-3.5.6.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/cqfs-jackrabbit-3.5.6.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/geronimo-spec/jars/geronimo-spec-jta-1.0-M1.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/geronimo-spec-jta-1.0-M1.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/jackrabbit/jars/jackrabbit-0.16.2-dev.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/jackrabbit-0.16.2-dev.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/jsr170/jars/jcr-0.16.2.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/jcr-0.16.2.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/jdom/jars/jdom-1.0.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/jdom-1.0.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/junit/jars/junit-3.8.1.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/junit-3.8.1.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/log4j/jars/log4j-1.2.8.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/log4j-1.2.8.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/lucene/jars/lucene-1.4.3.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/lucene-1.4.3.jar" />
+    </containerElement>
+    <containerElement type="library" level="module">
+      <url>jar://T:/maven/repository/xerces/jars/xercesImpl-2.6.2.jar!/</url>
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib/xercesImpl-2.6.2.jar" />
+    </containerElement>
+    <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/webapp/WEB-INF/web.xml" version="2.3" />
+    <webroots>
+      <root url="file://$MODULE_DIR$/src/webapp" relative="/" />
+    </webroots>
+  </component>
+  <component name="WeblogicWebModuleProperties">
+    <option name="IS_RUN_APPC" value="false" />
+  </component>
+</module>
+

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.ipr
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.ipr?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.ipr (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.ipr Sun Mar  6 06:02:39 2005
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4" relativePaths="false">
+  <component name="AntConfiguration">
+    <defaultAnt bundledAnt="true" />
+  </component>
+  <component name="CodeStyleSettingsManager">
+    <option name="PER_PROJECT_SETTINGS" />
+    <option name="USE_PER_PROJECT_SETTINGS" value="false" />
+  </component>
+  <component name="CompilerConfiguration">
+    <option name="DEFAULT_COMPILER" value="Javac" />
+    <option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
+    <option name="DEPLOY_AFTER_MAKE" value="0" />
+    <resourceExtensions>
+      <entry name=".+\.(properties|xml|html|dtd|tld)" />
+      <entry name=".+\.(gif|png|jpeg|jpg)" />
+    </resourceExtensions>
+    <wildcardResourcePatterns>
+      <entry name="?*.properties" />
+      <entry name="?*.xml" />
+      <entry name="?*.gif" />
+      <entry name="?*.png" />
+      <entry name="?*.jpeg" />
+      <entry name="?*.jpg" />
+      <entry name="?*.html" />
+      <entry name="?*.dtd" />
+      <entry name="?*.tld" />
+    </wildcardResourcePatterns>
+  </component>
+  <component name="DataSourceManagerImpl" />
+  <component name="DependencyValidationManager" />
+  <component name="EntryPointsManager">
+    <entry_points />
+  </component>
+  <component name="ExportToHTMLSettings">
+    <option name="PRINT_LINE_NUMBERS" value="false" />
+    <option name="OPEN_IN_BROWSER" value="false" />
+    <option name="OUTPUT_DIRECTORY" />
+  </component>
+  <component name="GUI Designer component loader factory" />
+  <component name="JavacSettings">
+    <option name="DEBUGGING_INFO" value="true" />
+    <option name="GENERATE_NO_WARNINGS" value="false" />
+    <option name="DEPRECATION" value="true" />
+    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+    <option name="MAXIMUM_HEAP_SIZE" value="128" />
+    <option name="USE_GENERICS_COMPILER" value="false" />
+  </component>
+  <component name="JavadocGenerationManager">
+    <option name="OUTPUT_DIRECTORY" />
+    <option name="OPTION_SCOPE" value="protected" />
+    <option name="OPTION_HIERARCHY" value="true" />
+    <option name="OPTION_NAVIGATOR" value="true" />
+    <option name="OPTION_INDEX" value="true" />
+    <option name="OPTION_SEPARATE_INDEX" value="true" />
+    <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
+    <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
+    <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
+    <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
+    <option name="OPTION_DEPRECATED_LIST" value="true" />
+    <option name="OTHER_OPTIONS" value="" />
+    <option name="HEAP_SIZE" />
+    <option name="OPEN_IN_BROWSER" value="true" />
+  </component>
+  <component name="JikesSettings">
+    <option name="JIKES_PATH" value="" />
+    <option name="DEBUGGING_INFO" value="true" />
+    <option name="DEPRECATION" value="true" />
+    <option name="GENERATE_NO_WARNINGS" value="false" />
+    <option name="IS_EMACS_ERRORS_MODE" value="true" />
+    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+  </component>
+  <component name="Palette2">
+    <group name="Swing">
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false">
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+      </item>
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+      </item>
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false">
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+      </item>
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+        <initial-values>
+          <property name="text" value="Button" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="RadioButton" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="CheckBox" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+        <initial-values>
+          <property name="text" value="Label" />
+        </initial-values>
+      </item>
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+          <preferred-size width="150" height="-1" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false">
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+          <preferred-size width="150" height="50" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false">
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+          <preferred-size width="200" height="200" />
+        </default-constraints>
+      </item>
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false">
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+      </item>
+    </group>
+  </component>
+  <component name="ProjectModuleManager">
+    <modules />
+  </component>
+  <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" />
+  <component name="RmicSettings">
+    <option name="IS_EANABLED" value="false" />
+    <option name="DEBUGGING_INFO" value="true" />
+    <option name="GENERATE_NO_WARNINGS" value="false" />
+    <option name="GENERATE_IIOP_STUBS" value="false" />
+    <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+  </component>
+  <component name="copyright">
+    <option name="body" value="/*&#10; * Copyright (c) $today.year Your Corporation. All Rights Reserved.&#10; */" />
+    <option name="location" value="1" />
+    <option name="remove" value="true" />
+    <option name="replace" value="2" />
+  </component>
+  <component name="libraryTable" />
+  <component name="uidesigner-configuration">
+    <option name="INSTRUMENT_CLASSES" value="true" />
+    <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
+  </component>
+</project>
+

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iws
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iws?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iws (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/jackrabbit-server.iws Sun Mar  6 06:02:39 2005
@@ -0,0 +1,392 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4" relativePaths="false">
+  <component name="AspectsView" />
+  <component name="BookmarkManager" />
+  <component name="CheckinPanelState" />
+  <component name="Commander">
+    <leftPanel />
+    <rightPanel />
+    <splitter proportion="0.5" />
+  </component>
+  <component name="CompilerWorkspaceConfiguration">
+    <option name="COMPILE_IN_BACKGROUND" value="false" />
+    <option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
+    <option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
+  </component>
+  <component name="Cvs2Configuration">
+    <option name="ON_FILE_ADDING" value="0" />
+    <option name="ON_FILE_REMOVING" value="0" />
+    <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
+    <option name="SHOW_UPDATE_OPTIONS" value="true" />
+    <option name="SHOW_ADD_OPTIONS" value="true" />
+    <option name="SHOW_REMOVE_OPTIONS" value="true" />
+    <option name="MERGING_MODE" value="0" />
+    <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
+    <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
+    <option name="RESET_STICKY" value="false" />
+    <option name="CREATE_NEW_DIRECTORIES" value="true" />
+    <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
+    <option name="PROCESS_UNKNOWN_FILES" value="false" />
+    <option name="PROCESS_DELETED_FILES" value="false" />
+    <option name="SHOW_EDIT_DIALOG" value="true" />
+    <option name="RESERVED_EDIT" value="false" />
+    <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
+    <option name="SHOW_CHECKOUT_OPTIONS" value="true" />
+    <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
+      <value>
+        <option name="BRANCH" value="" />
+        <option name="DATE" value="" />
+        <option name="USE_BRANCH" value="false" />
+        <option name="USE_DATE" value="false" />
+      </value>
+    </option>
+    <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
+      <value>
+        <option name="BRANCH" value="" />
+        <option name="DATE" value="" />
+        <option name="USE_BRANCH" value="false" />
+        <option name="USE_DATE" value="false" />
+      </value>
+    </option>
+    <option name="SHOW_CHANGES_REVISION_SETTINGS">
+      <value>
+        <option name="BRANCH" value="" />
+        <option name="DATE" value="" />
+        <option name="USE_BRANCH" value="false" />
+        <option name="USE_DATE" value="false" />
+      </value>
+    </option>
+    <option name="SHOW_OUTPUT" value="false" />
+    <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
+    <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
+    <option name="ADD_WATCH_INDEX" value="0" />
+    <option name="REMOVE_WATCH_INDEX" value="0" />
+    <option name="UPDATE_KEYWORD_SUBSTITUTION" />
+    <option name="MAKE_NEW_FILES_READONLY" value="false" />
+    <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
+    <option name="TAG_AFTER_FILE_COMMIT" value="false" />
+    <option name="TAG_AFTER_FILE_COMMIT_NAME" value="" />
+    <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
+    <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
+    <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+    <option name="SHOW_CHECKIN_OPTIONS" value="true" />
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+    <option name="LAST_COMMIT_MESSAGE" value="" />
+    <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+    <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+  </component>
+  <component name="CvsTabbedWindow" />
+  <component name="DaemonCodeAnalyzer">
+    <disable_hints />
+  </component>
+  <component name="DebuggerManager">
+    <line_breakpoints />
+    <exception_breakpoints>
+      <breakpoint_any>
+        <option name="NOTIFY_CAUGHT" value="true" />
+        <option name="NOTIFY_UNCAUGHT" value="true" />
+        <option name="ENABLED" value="false" />
+        <option name="SUSPEND_VM" value="true" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="false" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="myCondition" value="" />
+        <option name="myLogMessage" value="" />
+      </breakpoint_any>
+    </exception_breakpoints>
+    <field_breakpoints />
+    <method_breakpoints />
+  </component>
+  <component name="ErrorTreeViewConfiguration">
+    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+    <option name="HIDE_WARNINGS" value="false" />
+  </component>
+  <component name="FileEditorManager" split-orientation="vertical" split-proportion="0.5">
+    <first-group />
+    <second-group />
+  </component>
+  <component name="HierarchyBrowserManager">
+    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+    <option name="SORT_ALPHABETICALLY" value="false" />
+    <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
+  </component>
+  <component name="InspectionManager">
+    <option name="AUTOSCROLL_TO_SOURCE" value="false" />
+    <option name="SPLITTER_PROPORTION" value="0.5" />
+    <profile name="Default" />
+  </component>
+  <component name="J2EEProjectPane" />
+  <component name="NamedScopeManager" />
+  <component name="PackagesPane" />
+  <component name="ProjectPane" />
+  <component name="ProjectView">
+    <navigator currentView="ProjectPane" splitterProportion="0.5">
+      <flattenPackages />
+      <showMembers />
+      <showModules />
+      <showLibraryContents />
+      <hideEmptyPackages />
+      <showStructure PackagesPane="false" ProjectPane="false" />
+      <autoscrollToSource />
+      <autoscrollFromSource />
+    </navigator>
+  </component>
+  <component name="PropertiesComponent">
+    <property name="MemberChooser.copyJavadoc" value="false" />
+    <property name="GoToClass.includeLibraries" value="false" />
+    <property name="MemberChooser.showClasses" value="true" />
+    <property name="MemberChooser.sorted" value="false" />
+    <property name="GoToFile.includeJavaFiles" value="false" />
+    <property name="GoToClass.toSaveIncludeLibraries" value="false" />
+  </component>
+  <component name="RunManager">
+    <activeType name="Application" />
+    <configuration selected="false" default="true" type="Remote" factoryName="Remote">
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
+      <option name="SERVER_MODE" value="false" />
+      <option name="SHMEM_ADDRESS" value="javadebug" />
+      <option name="HOST" value="localhost" />
+      <option name="PORT" value="5005" />
+    </configuration>
+    <configuration selected="false" default="true" type="Application" factoryName="Application">
+      <option name="MAIN_CLASS_NAME" />
+      <option name="VM_PARAMETERS" />
+      <option name="PROGRAM_PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <module name="" />
+    </configuration>
+    <configuration selected="false" default="true" type="JUnit" factoryName="JUnit">
+      <module name="" />
+      <option name="PACKAGE_NAME" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="METHOD_NAME" />
+      <option name="TEST_OBJECT" value="class" />
+      <option name="VM_PARAMETERS" />
+      <option name="PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ADDITIONAL_CLASS_PATH" />
+      <option name="TEST_SEARCH_SCOPE">
+        <value defaultName="wholeProject" />
+      </option>
+    </configuration>
+    <configuration selected="false" default="true" type="Applet" factoryName="Applet">
+      <module name="" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="HTML_FILE_NAME" />
+      <option name="HTML_USED" value="false" />
+      <option name="WIDTH" value="400" />
+      <option name="HEIGHT" value="300" />
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
+      <option name="VM_PARAMETERS" />
+    </configuration>
+  </component>
+  <component name="SelectInManager" />
+  <component name="StarteamConfiguration">
+    <option name="SERVER" value="" />
+    <option name="PORT" value="49201" />
+    <option name="USER" value="" />
+    <option name="PASSWORD" value="" />
+    <option name="PROJECT" value="" />
+    <option name="VIEW" value="" />
+    <option name="ALTERNATIVE_WORKING_PATH" value="" />
+    <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+    <option name="SHOW_CHECKIN_OPTIONS" value="true" />
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+    <option name="LAST_COMMIT_MESSAGE" value="" />
+    <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+    <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+  </component>
+  <component name="StructuralSearchPlugin" />
+  <component name="StructureViewFactory">
+    <option name="SORT_MODE" value="0" />
+    <option name="GROUP_INHERITED" value="true" />
+    <option name="AUTOSCROLL_MODE" value="true" />
+    <option name="SHOW_FIELDS" value="true" />
+    <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
+    <option name="GROUP_GETTERS_AND_SETTERS" value="true" />
+    <option name="SHOW_INHERITED" value="false" />
+    <option name="HIDE_NOT_PUBLIC" value="false" />
+  </component>
+  <component name="SvnConfiguration45">
+    <option name="USER" value="" />
+    <option name="PASSWORD" value="" />
+    <option name="AUTO_ADD_FILES" value="1" />
+    <option name="AUTO_DEL_FILES" value="1" />
+    <option name="MANAGE_ONLY_SRC_DIRECTORY" value="false" />
+    <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+    <option name="SHOW_CHECKIN_OPTIONS" value="true" />
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+    <option name="LAST_COMMIT_MESSAGE" value="" />
+    <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+    <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+  </component>
+  <component name="TodoView" selected-index="0">
+    <todo-panel id="selected-file">
+      <are-packages-shown value="false" />
+      <flatten-packages value="false" />
+      <is-autoscroll-to-source value="true" />
+    </todo-panel>
+    <todo-panel id="all">
+      <are-packages-shown value="true" />
+      <flatten-packages value="false" />
+      <is-autoscroll-to-source value="true" />
+    </todo-panel>
+  </component>
+  <component name="ToolWindowManager">
+    <frame x="579" y="32" width="1335" height="1163" extended-state="0" />
+    <editor active="false" />
+    <layout>
+      <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="7" />
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.24551831" order="0" />
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="1" />
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.24941543" order="1" />
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="6" />
+      <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="2" />
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="4" />
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" order="0" />
+      <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="0" />
+      <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="3" />
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="5" />
+    </layout>
+  </component>
+  <component name="VCS.FileViewConfiguration">
+    <option name="SELECTED_STATUSES" value="DEFAULT" />
+    <option name="SELECTED_COLUMNS" value="DEFAULT" />
+    <option name="SHOW_FILTERS" value="true" />
+    <option name="CUSTOMIZE_VIEW" value="true" />
+    <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
+  </component>
+  <component name="VcsManagerConfiguration">
+    <option name="ACTIVE_VCS_NAME" value="" />
+    <option name="STATE" value="0" />
+  </component>
+  <component name="VssConfiguration">
+    <CheckoutOptions>
+      <option name="COMMENT" value="" />
+      <option name="DO_NOT_GET_LATEST_VERSION" value="false" />
+      <option name="REPLACE_WRITABLE" value="false" />
+      <option name="RECURSIVE" value="false" />
+    </CheckoutOptions>
+    <CheckinOptions>
+      <option name="COMMENT" value="" />
+      <option name="KEEP_CHECKED_OUT" value="false" />
+      <option name="RECURSIVE" value="false" />
+    </CheckinOptions>
+    <AddOptions>
+      <option name="COMMENT" value="" />
+      <option name="STORE_ONLY_LATEST_VERSION" value="false" />
+      <option name="CHECK_OUT_IMMEDIATELY" value="false" />
+      <option name="FILE_TYPE" value="0" />
+    </AddOptions>
+    <UndocheckoutOptions>
+      <option name="MAKE_WRITABLE" value="false" />
+      <option name="REPLACE_LOCAL_COPY" value="0" />
+      <option name="RECURSIVE" value="false" />
+    </UndocheckoutOptions>
+    <GetOptions>
+      <option name="REPLACE_WRITABLE" value="0" />
+      <option name="MAKE_WRITABLE" value="false" />
+      <option name="RECURSIVE" value="false" />
+    </GetOptions>
+    <option name="CLIENT_PATH" value="" />
+    <option name="SRCSAFEINI_PATH" value="" />
+    <option name="USER_NAME" value="" />
+    <option name="PWD" value="" />
+    <option name="SHOW_CHECKOUT_OPTIONS" value="true" />
+    <option name="SHOW_ADD_OPTIONS" value="true" />
+    <option name="VSS_IS_INITIALIZED" value="false" />
+    <option name="SHOW_UNDOCHECKOUT_OPTIONS" value="true" />
+    <option name="SHOW_DIFF_OPTIONS" value="true" />
+    <option name="SHOW_GET_OPTIONS" value="true" />
+    <option name="REUSE_LAST_COMMENT" value="false" />
+    <option name="PUT_FOCUS_INTO_COMMENT" value="false" />
+    <option name="SHOW_CHECKIN_OPTIONS" value="true" />
+    <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+    <option name="LAST_COMMIT_MESSAGE" value="" />
+    <option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
+    <option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+    <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+    <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+    <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+  </component>
+  <component name="antWorkspaceConfiguration">
+    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+    <option name="FILTER_TARGETS" value="false" />
+  </component>
+  <component name="editorHistoryManager" />
+  <component name="ideajad">
+    <property name="annotate" value="false" />
+    <property name="annotateFully" value="false" />
+    <property name="braces" value="false" />
+    <property name="clear" value="false" />
+    <property name="confirmNavigationTriggeredDecompile" value="true" />
+    <property name="dead" value="true" />
+    <property name="defaultInitializers" value="false" />
+    <property name="dissassemblerOnly" value="false" />
+    <property name="fieldsFirst" value="true" />
+    <property name="fileExtension" value="java" />
+    <property name="fullyQualifiedNames" value="false" />
+    <property name="indentation" value="4" />
+    <property name="intRadix" value="10" />
+    <property name="lineNumbersAsComments" value="true" />
+    <property name="longRadix" value="10" />
+    <property name="maxStringLength" value="64" />
+    <property name="nocast" value="false" />
+    <property name="noclass" value="false" />
+    <property name="nocode" value="false" />
+    <property name="noconv" value="false" />
+    <property name="noctor" value="false" />
+    <property name="nodos" value="false" />
+    <property name="nofd" value="false" />
+    <property name="noinner" value="false" />
+    <property name="nolvt" value="false" />
+    <property name="nonlb" value="false" />
+    <property name="outputDirectory" value="" />
+    <property name="packFields" value="3" />
+    <property name="packImports" value="7" />
+    <property name="prefixNumericalClasses" value="_cls" />
+    <property name="prefixNumericalFields" value="_fld" />
+    <property name="prefixNumericalLocals" value="_lcl" />
+    <property name="prefixNumericalMethods" value="_mth" />
+    <property name="prefixNumericalParameters" value="_prm" />
+    <property name="prefixUnusedExceptions" value="_ex" />
+    <property name="readonly" value="false" />
+    <property name="safe" value="false" />
+    <property name="sort" value="false" />
+    <property name="spaceAfterKeyword" value="false" />
+    <property name="splitStringsAtNewline" value="false" />
+    <property name="useTabs" value="false" />
+  </component>
+</project>
+

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/maven.xml?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/maven.xml (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/maven.xml Sun Mar  6 06:02:39 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+   Copyright 2004-2005 The Apache Software Foundation or its licensors,
+                       as applicable.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<project
+    default="war"
+    xmlns:ant="jelly:ant"
+    xmlns:m="jelly:maven"
+>
+
+    <goal name="server-dist">
+        <attainGoal name="war"/>
+    </goal>
+</project>

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties Sun Mar  6 06:02:39 2005
@@ -0,0 +1,3 @@
+maven.javadoc.links=http://java.sun.com/j2se/1.4.2/docs/api/,http://www.day.com/maven/jsr170/javadocs/jcr-0.16.1-pfd/
+maven.repo.remote = http://www.ibiblio.org/maven/,http://www.day.com/maven/
+maven.multiproject.type = war
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties
------------------------------------------------------------------------------
    svn = 

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.xml?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.xml (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.xml Sun Mar  6 06:02:39 2005
@@ -0,0 +1,193 @@
+<?xml version="1.0"?>
+<!--
+   Copyright 2004-2005 The Apache Software Foundation or its licensors,
+                       as applicable.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+  -->
+<project>
+    <!-- ====================================================================== -->
+    <!-- P R O J E C T  D E S C R I P T I O N                                   -->
+    <!-- ====================================================================== -->
+    <extend>${basedir}/../project.xml</extend>
+    <id>jackrabbit-server</id>
+    <groupId>jcr-server</groupId>
+    <type>war</type>
+    <name>Jackrabbit-Server WebApplication</name>
+    
+    <!-- ====================================================================== -->
+    <!-- D E P E N D E N C I E S                                                -->
+    <!-- ====================================================================== -->
+    <dependencies>
+        <dependency>
+            <artifactId>jcr-server</artifactId>
+            <groupId>jcr-server</groupId>
+            <version>${pom.currentVersion}</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <artifactId>jcr-webdav</artifactId>
+            <groupId>jcr-server</groupId>
+            <version>${pom.currentVersion}</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <artifactId>jcr-client</artifactId>
+            <groupId>jcr-server</groupId>
+            <version>${pom.currentVersion}</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+
+        <dependency>
+            <groupId>jsr170</groupId>
+            <artifactId>jcr</artifactId>
+            <version>0.16.2</version>
+            <url>http://www.day.com/maven/jsr170/jars/jcr-0.16.2.jar</url>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <id>jackrabbit</id>
+            <version>0.16.2-dev</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <id>jdom</id>
+            <version>1.0</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <id>log4j</id>
+            <version>1.2.8</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+            <id>junit</id>
+            <version>3.8.1</version>
+        </dependency>
+        <dependency>
+            <id>jcr-rmi</id>
+            <version>0.16.2</version>
+            <properties>
+                <war.bundle>false</war.bundle>
+            </properties>
+        </dependency>
+        <!-- dependencies of jackrabbit -->
+        <dependency>
+          <id>concurrent</id>
+          <version>1.3.4</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <id>commons-collections</id>
+          <version>2.1</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <groupId>geronimo-spec</groupId>
+          <artifactId>geronimo-spec-jta</artifactId>
+          <version>1.0-M1</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <groupId>lucene</groupId>
+          <artifactId>lucene</artifactId>
+          <version>1.4.3</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <groupId>xerces</groupId>
+          <artifactId>xercesImpl</artifactId>
+          <version>2.6.2</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <!--
+          cqfs-jackrabbit and cqfs are optional runtime dependencies 
+          (an alternative FileSystem implementation); 
+          commons-logging is a dependency of cqfs
+        -->
+        <dependency>
+          <groupId>cqfs</groupId>
+          <artifactId>cqfs-jackrabbit</artifactId>
+          <version>3.5.6</version>
+          <url>http://www.day.com/maven/cqfs/jars/cqfs-jackrabbit-3.5.6.jar</url>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <groupId>cqfs</groupId>
+          <artifactId>cqfs</artifactId>
+          <version>3.5.6</version>
+          <url>http://www.day.com/maven/cqfs/jars/cqfs-3.5.6.jar</url>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <dependency>
+          <id>commons-logging</id>
+          <version>1.0</version>
+            <properties>
+                <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
+        <!-- used for eventual compiling -->
+        <dependency>
+            <id>servletapi</id>
+            <version>2.3</version>
+        </dependency>
+        
+    </dependencies>
+
+    <!-- ====================================================================== -->
+    <!-- B U I L D  D E S C R I P T I O N                                       -->
+    <!-- ====================================================================== -->
+    <build>
+        <sourceDirectory>${basedir}/src/java</sourceDirectory>
+        <resources>
+            <resource>
+                <directory>src/java</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                    <include>**/*.xsd</include>
+                    <include>**/*.properties</include>
+                    <include>**/*.dtd</include>
+                </includes>
+            </resource>
+        </resources>
+    </build>
+
+</project>

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties Sun Mar  6 06:02:39 2005
@@ -0,0 +1,20 @@
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=INFO, stdout
+#log4j.rootLogger=DEBUG, stdout, file
+#log4j.rootLogger=ERROR, stdout, file
+
+# 'stdout' is set to be a ConsoleAppender.
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+
+# 'stdout' uses PatternLayout
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)\n
+
+# 'file' is set to be a FileAppender.
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.File=jcr.log
+
+# 'file' uses PatternLayout.
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L)\n
+

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties
------------------------------------------------------------------------------
    svn = 

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/repository.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/repository.xml?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/repository.xml (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/repository.xml Sun Mar  6 06:02:39 2005
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Repository//EN" "file://config.dtd"> -->
+<!DOCTYPE Repository [
+    <!--
+    the Repository element configures a repository instance;
+    individual workspaces of the repository are configured through
+    separate configuration files called workspace.xml which are
+    located in a subfolder of the workspaces root directory
+    (see Workspaces element).
+
+    it consists of
+
+    a FileSystem element (the virtual file system
+    used by the repository to persist global state such as
+    registered namespaces, custom node types, etc..
+
+    a Workspaces element that specifies to the location of
+    workspaces root directory and the name of default workspace
+
+    a Workspace element that is used as a workspace configuration
+    template; it is used to create the initial workspace if there's
+    no workspace yet and for creating additional workspaces through
+    the api
+
+    a SearchIndex element that is used for configuring per workspace
+    Indexing-related settings
+
+    a Versioning element that is used for configuring
+    versioning-related settings
+    -->
+    <!ELEMENT Repository (FileSystem,Workspaces,Workspace,Versioning)>
+
+    <!--
+    a virtual file system
+    -->
+    <!ELEMENT FileSystem (param*)>
+    <!ATTLIST FileSystem
+      class CDATA #REQUIRED>
+
+    <!--
+    generic parameter (name/value pair)
+    -->
+    <!ELEMENT param EMPTY>
+    <!ATTLIST param
+      name CDATA #REQUIRED
+      value CDATA #REQUIRED>
+
+    <!--
+    the Workspaces element specifies the workspaces root directory
+    (rootPath attribute) and the name of the default workspace
+    (defaultWorkspace attribute).
+
+    individual workspaces are configured through individual workspace.xml
+    files located in a subfolder each of the workspaces root directory.
+    -->
+    <!ELEMENT Workspaces EMPTY>
+    <!ATTLIST Workspaces
+      rootPath CDATA #REQUIRED
+      defaultWorkspace CDATA #REQUIRED>
+
+    <!--
+    the Workspace element serves as a workspace configuration template;
+    it is used to create the initial workspace if there's no workspace yet
+    and for creating additional workspaces through the api
+    -->
+    <!ELEMENT Workspace (FileSystem,PersistenceManager,SearchIndex?)>
+    <!ATTLIST Workspace
+      name CDATA #REQUIRED>
+
+    <!--
+    the PersistenceManager element configures the persistence manager
+    to be used for the workspace; the class attribute specifies the
+    FQN of the class implementing PersistenceManager interface
+    -->
+    <!ELEMENT PersistenceManager (param*)>
+    <!ATTLIST PersistenceManager
+      class CDATA #REQUIRED>
+
+    <!--
+    the SearchIndex element specifies the locaction of the search index
+    (used by the QueryHandler); the class attribute specifies the
+    FQN of the class implementing the QueryHandler interface.
+    -->
+    <!ELEMENT SearchIndex (param*,FileSystem)>
+    <!ATTLIST SearchIndex
+      class CDATA #REQUIRED>
+
+    <!--
+    the Versioning element configures the persistence manager
+    to be used for persisting version state
+    -->
+    <!ELEMENT Versioning (FileSystem, PersistenceManager)>
+    <!ATTLIST Versioning
+      rootPath CDATA #REQUIRED
+    >
+]>
+<Repository>
+    <!--
+    virtual file system where the repository stores global state
+    (e.g. registered namespaces, custom node types, etc.)
+    -->
+    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+	<param name="path" value="${rep.home}/repository"/>
+    </FileSystem>
+    <!--
+    location of workspaces root directory and name of default workspace
+    -->
+    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
+    <!--
+    workspace configuration template:
+    used to create the initial workspace if there's no workspace yet
+    -->
+    <Workspace name="${wsp.name}">
+	<!--
+	virtual file system of the workspace:
+	class: FQN of class implementing FileSystem interface
+        -->
+	<FileSystem class="com.day.jackrabbit.fs.cq.CQFileSystem">
+	    <param name="path" value="${wsp.home}/wspStore.dat"/>
+	    <param name="autoRepair" value="false"/>
+	    <param name="blockSize" value="128"/>
+	    <param name="autoSync" value="false"/>
+	</FileSystem>
+	<!--
+	persistence of the workspace:
+	class: FQN of class implementing PersistenceManager interface
+        -->
+	<PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+	<!--
+	Search index and the file system it uses.
+        -->
+	<SearchIndex class="org.apache.jackrabbit.core.search.lucene.SearchIndex">
+	    <param name="useCompoundFile" value="true"/>
+	    <param name="minMergeDocs" value="1000"/>
+	    <param name="maxMergeDocs" value="10000"/>
+	    <param name="mergeFactor" value="10"/>
+
+	    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+		<param name="path" value="${wsp.home}/index"/>
+	    </FileSystem>
+	</SearchIndex>
+    </Workspace>
+
+    <!--
+    Configures the versioning
+    -->
+    <Versioning rootPath="${rep.home}/version">
+	<!--
+	Configures the filesystem to use for versioning for the respective
+	persistence manager
+        -->
+	<FileSystem class="com.day.jackrabbit.fs.cq.CQFileSystem">
+	    <param name="path" value="${rep.home}/version/version.dat"/>
+	    <param name="autoRepair" value="false"/>
+	    <param name="blockSize" value="128"/>
+	    <param name="autoSync" value="false"/>
+	</FileSystem>
+
+	<!--
+	Configures the persistence manager to be used for persisting version state.
+	Please note that the current versioning implementation is based on
+	a 'normal' persistence manager, but this could change in future
+	implementations.
+        -->
+	<PersistenceManager class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+
+    </Versioning>
+
+</Repository>

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/repository/repository.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/web.xml?view=auto&rev=156314
==============================================================================
--- incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/web.xml (added)
+++ incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/web.xml Sun Mar  6 06:02:39 2005
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
+<web-app>
+    <display-name>Jackrabbit JCR Server</display-name>
+
+    <!-- ====================================================================== -->
+    <!-- R E P O S I T O R Y   S T A R T U P  S E R V L E T                     -->
+    <!-- ====================================================================== -->
+    <servlet>
+	<servlet-name>RepositoryStartup</servlet-name>
+        <description>
+	    Repository servlet that starts the repository and registers it to JNDI ans RMI.
+	    If you already have the repository registered in this appservers JNDI context,
+	    or if its accessible via RMI, you do not need to use this servlet.
+	</description>
+	<servlet-class>org.apache.jackrabbit.server.RepositoryStartupServlet</servlet-class>
+
+	<init-param>
+	    <param-name>log4j-config</param-name>
+	    <param-value>/WEB-INF/repository/log4j.properties</param-value>
+            <description>initial log4j configuration</description>
+	</init-param>
+
+	<init-param>
+	    <param-name>repository-config</param-name>
+	    <param-value>/WEB-INF/repository/repository.xml</param-value>
+            <description>the repository config location</description>
+	</init-param>
+
+	<init-param>
+	    <param-name>repository-home</param-name>
+	    <param-value>jackrabbit/repository</param-value>
+            <description>the repository home</description>
+	</init-param>
+
+	<init-param>
+	    <param-name>repository-name</param-name>
+	    <param-value>jackrabbit.repository</param-value>
+            <description>Repository Name under which the repository is registered via JNDI/RMI</description>
+	</init-param>
+
+	<init-param>
+	    <param-name>rmi-port</param-name>
+	    <param-value>0</param-value>
+            <description>
+                The RMI port for registering the repository in the RMI Registry.
+                If equals 0, the default port is used. Omit this parameter, to
+                disable RMI server completely.
+            </description>
+	</init-param>
+
+	<!--
+	    JNDI environment variables for creating the initial context
+	    (all init parameters starting with java.naming.* will be added to the initial context environment).
+        -->
+	<init-param>
+	    <param-name>java.naming.provider.url</param-name>
+	    <param-value>http://www.apache.org/jackrabbit</param-value>
+	</init-param>
+	<init-param>
+	    <param-name>java.naming.factory.initial</param-name>
+	    <param-value>org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory</param-value>
+	</init-param>
+
+	<load-on-startup>1</load-on-startup>
+    </servlet>
+
+
+    <!-- ====================================================================== -->
+    <!-- R E P O S I T O R Y   S E R V L E T                                    -->
+    <!-- ====================================================================== -->
+    <servlet>
+	<servlet-name>Repository</servlet-name>
+        <description>
+	    This servlet provides other servlets and jsps a common way to access
+	    the repository. The repository can be accessed via JNDI, RMI or Webdav.
+	</description>
+	<servlet-class>org.apache.jackrabbit.client.RepositoryAccessServlet</servlet-class>
+
+	<init-param>
+	    <param-name>log4j-config</param-name>
+	    <param-value>/WEB-INF/repository/log4j.properties</param-value>
+	    <description>initial log4j configuration</description>
+	</init-param>
+
+	<init-param>
+	    <param-name>repository-name</param-name>
+	    <param-value>jackrabbit.repository</param-value>
+	    <description>Repository Name that is used to retrieve it via JNDI</description>
+	</init-param>
+
+	<!--
+	    JNDI environment variables for creating the initial context
+	    (all init parameters starting with java.naming.* will be added to the initial context environment).
+        -->
+	<init-param>
+	    <param-name>java.naming.provider.url</param-name>
+	    <param-value>http://www.apache.org/jackrabbit</param-value>
+	</init-param>
+	<init-param>
+	    <param-name>java.naming.factory.initial</param-name>
+	    <param-value>org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory</param-value>
+	</init-param>
+
+	<!--
+	    RMI url, if RMI remoting is needed
+	-->
+	<init-param>
+	    <param-name>rmi-uri</param-name>
+	    <param-value>///jackrabbit.repository</param-value>
+            <description>The URI for the RMI connection.</description>
+	</init-param>
+
+	<load-on-startup>2</load-on-startup>
+    </servlet>
+
+    <!-- ====================================================================== -->
+    <!-- W E B D A V  S E R V L E T                                              -->
+    <!-- ====================================================================== -->
+    <servlet>
+	<servlet-name>Webdav</servlet-name>
+        <description>
+            The webdav servlet that connects HTTP request to the repository.
+        </description>
+        <servlet-class>org.apache.jackrabbit.server.simple.WebdavServlet</servlet-class>
+
+	<init-param>
+            <param-name>resource-path-prefix</param-name>
+            <param-value>/repository</param-value>
+            <description>
+	    	defines the prefix for spooling resources out of the repository.
+            </description>
+	</init-param>
+	<load-on-startup>3</load-on-startup>
+    </servlet>
+
+    <!-- ====================================================================== -->
+    <!-- W E B D A V  S E R V E R  S E R V L E T                                  -->
+    <!-- ====================================================================== -->
+    <servlet>
+	<servlet-name>JCRWebdavServer</servlet-name>
+        <description>
+            The webdav servlet that connects HTTP request to the repository.
+        </description>
+        <servlet-class>org.apache.jackrabbit.server.JCRWebdavServerServlet</servlet-class>
+
+	<init-param>
+            <param-name>resource-path-prefix</param-name>
+            <param-value>/server</param-value>
+            <description>
+	    	defines the prefix for spooling resources out of the repository.
+            </description>
+	</init-param>
+	<load-on-startup>4</load-on-startup>
+    </servlet>
+
+    <!-- ====================================================================== -->
+    <!-- S E R V L E T   M A P P I N G                                          -->
+    <!-- ====================================================================== -->
+    <servlet-mapping>
+	<servlet-name>Webdav</servlet-name>
+	<url-pattern>/repository/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+	<servlet-name>JCRWebdavServer</servlet-name>
+	<url-pattern>/server/*</url-pattern>
+    </servlet-mapping>
+</web-app>
\ No newline at end of file

Propchange: incubator/jackrabbit/trunk/contrib/jcr-server/webapp/src/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message