You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by wo...@apache.org on 2019/03/17 21:44:47 UTC
svn commit: r1855719 [6/6] - in /jackrabbit/trunk: ./
jackrabbit-standalone-components/ jackrabbit-standalone-components/src/
jackrabbit-standalone-components/src/main/
jackrabbit-standalone-components/src/main/java/
jackrabbit-standalone-components/sr...
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/WEB-INF/web.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ -->
+
+<!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>Apache Jackrabbit</display-name>
+
+ <!-- ====================================================================== -->
+ <!-- R E P O S I T O R Y S E R V L E T -->
+ <!-- ====================================================================== -->
+ <servlet>
+ <servlet-name>Repository</servlet-name>
+ <servlet-class>org.apache.jackrabbit.j2ee.RepositoryAccessServlet</servlet-class>
+
+ <init-param>
+ <param-name>repository.context.attribute.name</param-name>
+ <param-value>javax.jcr.Repository</param-value>
+ </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.j2ee.SimpleWebdavServlet</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>
+ <init-param>
+ <param-name>resource-config</param-name>
+ <param-value>/WEB-INF/config.xml</param-value>
+ <description>
+ Defines various dav-resource configuration parameters.
+ </description>
+ </init-param>
+ <!--
+ Optional parameter to define the behaviour of the referrer-based CSRF protection
+ -->
+ <!--
+ <init-param>
+ <param-name>csrf-protection</param-name>
+ <param-value>host1.domain.com,host2.domain.org</param-value>
+ <description>
+ Defines the behaviour of the referrer based CSRF protection
+ 1) If omitted or left empty the (default) behaviour is to allow only requests with
+ an empty referrer header or a referrer host equal to the server host
+ 2) May also contain a comma separated list of additional allowed referrer hosts
+ 3) If set to 'disabled' no referrer checking will be performed at all
+ </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 servlet used to remote JCR calls over HTTP.
+ </description>
+ <servlet-class>org.apache.jackrabbit.j2ee.JcrRemotingServlet</servlet-class>
+ <init-param>
+ <param-name>missing-auth-mapping</param-name>
+ <param-value></param-value>
+ <description>
+ Defines how a missing authorization header should be handled.
+ 1) If this init-param is missing, a 401 response is generated.
+ This is suitable for clients (eg. WebDAV clients) for which
+ sending a proper authorization header is not possible if the
+ server never sent a 401.
+ 2) If this init-param is present with an empty value,
+ null-credentials are returned, thus forcing an null login
+ on the repository.
+ 3) If this init-param is present with the value 'guestcredentials'
+ java.jcr.GuestCredentials are used to login to the repository.
+ 4) If this init-param has a 'user:password' value, the respective
+ simple credentials are generated.
+ </description>
+ </init-param>
+ <!--
+ Optional parameter to define the value of the 'WWW-Authenticate' header
+ -->
+ <!--
+ <init-param>
+ <param-name>authenticate-header</param-name>
+ <param-value>Basic realm="Jackrabbit Webdav Server"</param-value>
+ <description>
+ Defines the value of the 'WWW-Authenticate' header.
+ </description>
+ </init-param>
+ -->
+ <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>
+ <!--
+ Init parameters specific for JcrRemotingServlet
+ -->
+ <!--
+ <init-param>
+ <param-name>home</param-name>
+ <param-value></param-value>
+ <description>JcrRemotingServlet: Optional home directory for JcrRemotingServlet temporary files (default: "jackrabbit")</description>
+ </init-param>
+ <init-param>
+ <param-name>temp-directory</param-name>
+ <param-value></param-value>
+ <description>JcrRemotingServlet: Optional temporary directory name (under home, default: "tmp")</description>
+ </init-param>
+ <init-param>
+ <param-name>batchread-config</param-name>
+ <param-value>/WEB-INF/batchread.properties</param-value>
+ <description>JcrRemotingServlet: Optional mapping from node type names to default depth.</description>
+ </init-param>
+ <init-param>
+ <param-name>concurrency-level</param-name>
+ <param-value>50</param-value>
+ <description>Number of concurrent requests expected. Default value is 50.</description>
+ </init-param>
+ -->
+ <!--
+ Optional parameter to define the behaviour of the referrer-based CSRF protection
+ -->
+ <!--
+ <init-param>
+ <param-name>csrf-protection</param-name>
+ <param-value>host1.domain.com,host2.domain.org</param-value>
+ <description>
+ Defines the behaviour of the referrer based CSRF protection
+ 1) If omitted or left empty the (default) behaviour is to allow only requests with
+ an empty referrer header or a referrer host equal to the server host
+ 2) May also contain a comma separated list of additional allowed referrer hosts
+ 3) If set to 'disabled' no referrer checking will be performed at all
+ </description>
+ </init-param>
+ -->
+ <load-on-startup>5</load-on-startup>
+ </servlet>
+
+ <!-- ====================================================================== -->
+ <!-- R M I B I N D I N G S E R V L E T -->
+ <!-- ====================================================================== -->
+ <servlet>
+ <servlet-name>RMI</servlet-name>
+ <servlet-class>org.apache.jackrabbit.servlet.remote.RemoteBindingServlet</servlet-class>
+ </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>
+ <servlet-mapping>
+ <servlet-name>RMI</servlet-name>
+ <url-pattern>/rmi</url-pattern>
+ </servlet-mapping>
+
+ <!-- ====================================================================== -->
+ <!-- W E L C O M E F I L E S -->
+ <!-- ====================================================================== -->
+ <welcome-file-list>
+ <welcome-file>index.jsp</welcome-file>
+ </welcome-file-list>
+
+ <error-page>
+ <exception-type>org.apache.jackrabbit.j2ee.JcrApiNotFoundException</exception-type>
+ <location>/error/classpath.jsp</location>
+ </error-page>
+ <error-page>
+ <exception-type>javax.jcr.RepositoryException</exception-type>
+ <location>/error/repository.jsp</location>
+ </error-page>
+
+</web-app>
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback-cli.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback-cli.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback-cli.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback-cli.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ -->
+<configuration>
+
+ <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%level %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <root level="WARN">
+ <appender-ref ref="console"/>
+ </root>
+
+</configuration>
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/logback.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+ -->
+<configuration>
+
+ <appender name="jackrabbit" class="ch.qos.logback.core.FileAppender">
+ <file>${jackrabbit.log}</file>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %-40([%thread] %F:%L) %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <appender name="jetty" class="ch.qos.logback.core.FileAppender">
+ <file>${jetty.log}</file>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %-40([%thread] %F:%L) %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="org.eclipse.log" level="${log.level}" additivity="false">
+ <appender-ref ref="jetty"/>
+ </logger>
+
+ <root level="${log.level}">
+ <appender-ref ref="jackrabbit"/>
+ </root>
+
+</configuration>
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line-rules.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line-rules.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line-rules.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line-rules.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<!DOCTYPE digester-rules PUBLIC
+ "-//Jakarta Apache //DTD digester-rules XML V1.0//EN"
+ "digester-rules.dtd">
+<digester-rules>
+
+ <pattern value="commands/command">
+ <object-create-rule classname="org.apache.jackrabbit.standalone.cli.CommandLine"/>
+ <set-properties-rule/>
+ <call-method-rule pattern="alias" methodname="addAlias" paramcount="1" />
+ <call-param-rule pattern="alias" paramnumber="0" attrname="name"/>
+ <set-next-rule methodname="add" paramtype="java.lang.Object"/>
+ </pattern>
+
+ <pattern value="commands/command/argument">
+ <object-create-rule classname="org.apache.jackrabbit.standalone.cli.Argument" />
+ <set-next-rule methodname="addArgument" />
+ <set-properties-rule>
+ <alias attr-name="arg-name" prop-name="argName"/>
+ <alias attr-name="context-key" prop-name="contextKey"/>
+ <alias attr-name="default" prop-name="value"/>
+ </set-properties-rule>
+ </pattern>
+
+ <pattern value="commands/command/option">
+ <object-create-rule classname="org.apache.jackrabbit.standalone.cli.Option" />
+ <set-properties-rule>
+ <alias attr-name="arg-name" prop-name="argName"/>
+ <alias attr-name="context-key" prop-name="contextKey"/>
+ <alias attr-name="default" prop-name="value"/>
+ </set-properties-rule>
+ <set-next-rule methodname="addOption" />
+ </pattern>
+
+ <pattern value="commands/command/flag">
+ <object-create-rule classname="org.apache.jackrabbit.standalone.cli.Flag" />
+ <set-properties-rule>
+ <alias attr-name="context-key" prop-name="contextKey"/>
+ </set-properties-rule>
+ <set-next-rule methodname="addFlag" />
+ </pattern>
+
+</digester-rules>
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command-line.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,963 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<!DOCTYPE commands [
+ <!ELEMENT commands (command+)>
+
+ <!ELEMENT command (alias*, argument*, option*, flag*)>
+ <!ATTLIST command
+ name NMTOKEN #REQUIRED
+ description CDATA #IMPLIED
+ impl NMTOKEN #IMPLIED >
+
+ <!ELEMENT alias EMPTY>
+ <!ATTLIST alias
+ name NMTOKEN #REQUIRED>
+
+ <!ELEMENT option EMPTY>
+ <!ATTLIST option
+ name NMTOKEN #REQUIRED
+ context-key NMTOKEN #IMPLIED
+ arg-name CDATA #IMPLIED
+ required NMTOKEN #IMPLIED
+ default CDATA #IMPLIED
+ description CDATA #IMPLIED>
+
+ <!ELEMENT argument EMPTY>
+ <!ATTLIST argument
+ name NMTOKEN #REQUIRED
+ context-key NMTOKEN #IMPLIED
+ position NMTOKEN #REQUIRED
+ arg-name CDATA #IMPLIED
+ required NMTOKEN #IMPLIED
+ default CDATA #IMPLIED
+ description CDATA #IMPLIED>
+
+ <!ELEMENT flag EMPTY>
+ <!ATTLIST flag
+ name NMTOKEN #REQUIRED
+ context-key NMTOKEN #IMPLIED
+ description CDATA #IMPLIED>
+
+ ]>
+<commands>
+
+ <command name="addlocktoken" impl="addLockToken">
+ <alias name="addtoken"/>
+ <argument
+ name="token"
+ position="0"
+ required="true"/>
+ </command>
+
+ <command name="addmixin" impl="addMixin">
+ <alias name="addmix"/>
+ <argument
+ name="mixin"
+ position="0"
+ required="true"/>
+ <argument
+ name="path"
+ position="1"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="addnode" impl="addNode">
+ <alias name="add"/>
+ <argument
+ name="name"
+ position="0"
+ context-key="relPath"
+ arg-name="common.jcrname"
+ description="common.jcrname.desc"
+ required="true"/>
+ <argument
+ name="type"
+ position="1"
+ arg-name="common.nodetype"
+ description="common.nodetype.desc" />
+ </command>
+
+ <command name="addversionlabel" impl="addVersionLabel">
+ <alias name="addvlabel"/>
+ <argument name="version"
+ position="0" />
+ <argument name="label"
+ position="1" />
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ <flag name="moveLabel"/>
+ </command>
+
+ <command name="cat">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <argument
+ name="idx"
+ position="1"
+ arg-name="common.index"
+ description="common.index.desc"
+ context-key="index"/>
+ </command>
+
+ <command name="checkin">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="checkout">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="clearworkspace" impl="clearWorkspace">
+ <alias name="clear"/>
+ </command>
+
+ <command name="createworkspace" impl="createWorkspace">
+ <alias name="createw"/>
+ <argument
+ name="name"
+ position="0"
+ required="true"/>
+ </command>
+
+ <command name="clone">
+ <argument
+ name="scrWorkspace"
+ position="0"
+ required="true"
+ arg-name="word.name"
+ description="common.source"/>
+ <argument
+ name="srcAbsPath"
+ position="1"
+ required="true"/>
+ <argument
+ name="destAbsPath"
+ position="2"
+ required="true"/>
+ <flag name="removeExisting"/>
+ </command>
+
+ <command name="copy">
+ <argument
+ name="srcAbsPath"
+ position="0"
+ arg-name="common.jcrabspath"
+ required="true"/>
+ <argument
+ name="destAbsPath"
+ position="1"
+ arg-name="common.jcrabspath"
+ required="true"/>
+ <option
+ name="fromWorkspace"
+ context-key="srcWorkspace"/>
+ </command>
+
+ <command name="connect" impl="connectToRmiServer">
+ <argument
+ name="url"
+ position="0"
+ required="true"/>
+ </command>
+
+ <command name="jndi" impl="connectToJndiServer">
+ <argument
+ name="url"
+ position="0"
+ required="true"/>
+ </command>
+
+ <command name="currentnode" impl="currentNode">
+ <alias name="cd"/>
+ <alias name="cn"/>
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="dump">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="exportdocview" impl="exportDocViewToFile">
+ <alias name="exportdoc"/>
+ <argument
+ name="srcAbsPath"
+ position="0"
+ arg-name="common.jcrabspath"
+ description="common.exportview.from"
+ required="true"/>
+ <argument
+ name="desFsPath"
+ position="1"
+ arg-name="common.fspath"
+ description="common.exportview.to"
+ required="true"/>
+ <flag
+ name="overwrite"
+ description="word.overwrite"/>
+ <flag
+ name="skipBinary"
+ description="common.exportview.skipBinary" />
+ <flag
+ name="noRecurse"
+ description="common.exportview.noRecurse"/>
+ </command>
+
+ <command name="exportfilesystem" impl="exportFileSystem">
+ <alias name="exportfs"/>
+ <argument
+ name="srcJcrPath"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <argument
+ name="destFsPath"
+ position="1"
+ arg-name="common.fspath"
+ description="word.destination"
+ required="true"/>
+ <flag name="overwrite"
+ description="word.overwrite"/>
+ </command>
+
+ <command name="exportproperty" impl="exportPropertyToFile">
+ <alias name="exportprop"/>
+ <alias name="exportp"/>
+ <argument
+ name="name"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <argument
+ name="destFsPath"
+ position="1"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ <option
+ name="idx"
+ arg-name="common.index"
+ description="common.index.desc"
+ context-key="index"/>
+ <flag
+ name="overwrite"
+ description="word.overwrite"/>
+ </command>
+
+ <command name="exportsysview" impl="exportSysViewToFile">
+ <alias name="exportsys"/>
+ <argument
+ name="srcAbsPath"
+ position="0"
+ arg-name="common.jcrabspath"
+ description="common.exportview.from"
+ required="true"/>
+ <argument
+ name="desFsPath"
+ position="1"
+ arg-name="common.fspath"
+ description="common.exportview.to"
+ required="true"/>
+ <flag
+ name="overwrite"
+ description="word.overwrite"/>
+ <flag
+ name="skipBinary"
+ description="common.exportview.skipBinary"/>
+ <flag
+ name="noRecurse"
+ description="common.exportview.noRecurse"/>
+ </command>
+
+ <command name="help">
+ <argument
+ name="command"
+ position="0"
+ required="false" />
+ </command>
+
+ <command name="importfilesystem" impl="importFileSystem">
+ <alias name="importfs"/>
+ <argument
+ name="srcFsPath"
+ position="0"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ </command>
+
+ <command name="importxml" impl="importXmlFromFile">
+ <alias name="import"/>
+ <argument
+ name="srcFsPath"
+ position="0"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ <argument
+ name="destJcrPath"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ position="1"/>
+ <option
+ name="uuidBehaviour"
+ arg-name="common.uuidBehaviour"
+ description="common.uuidBehaviour.desc"
+ default="0"/>
+ </command>
+
+ <command name="lock">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ <flag name="deep"/>
+ <flag name="session" context-key="sessionScoped"/>
+ </command>
+
+ <command name="login">
+ <argument
+ name="user"
+ position="0"
+ arg-name="word.user"
+ default="anonymous"/>
+ <argument
+ name="password"
+ position="1"
+ arg-name="word.password"
+ default="anonymous"/>
+ <option
+ name="workspace"
+ arg-name="word.name"/>
+ </command>
+
+ <command name="logout"/>
+
+ <command name="lscollect" impl="lsCollect">
+ <alias name="collect"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"
+ required="true"/>
+ <option
+ name="path"
+ context-key="srcPath"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ <option
+ name="depth"
+ arg-name="word.int"
+ description="word.int"
+ default="1"/>
+ <option
+ name="maxItems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ </command>
+
+ <command name="lscollectnodes" impl="lsCollectNodes">
+ <alias name="lscollectn"/>
+ <alias name="collectn"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"
+ required="true"/>
+ <option
+ name="depth"
+ arg-name="word.int"
+ description="word.int"
+ default="1"/>
+ <option
+ name="maxItems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ <flag name="uuid" description="cmd.lsnodes.uuid"/>
+ <flag name="nsize" description="cmd.lsnodes.nsize"/>
+ <flag name="psize" description="cmd.lsnodes.psize"/>
+ <flag name="rsize" description="cmd.lsnodes.rsize"/>
+ <flag name="m" description="cmd.lsnodes.m"/>
+ <flag name="v" description="cmd.lsnodes.v"/>
+ <flag name="l" description="cmd.lsnodes.l"/>
+ <flag name="r" description="cmd.lsnodes.r"/>
+ <flag name="locked" description="cmd.lsnodes.locked"/>
+ <flag name="hasLock" description="cmd.lsnodes.hasLock"/>
+ <flag name="locktoken"
+ context-key="lockToken"
+ description="cmd.lsnodes.locktoken"/>
+ <flag name="new" description="cmd.lsnodes.new"/>
+ <flag name="mod" description="cmd.lsnodes.mod"/>
+ <flag name="path" description="cmd.lsnodes.path"/>
+ </command>
+
+ <command name="lscollectproperties" impl="lsCollectProperties">
+ <alias name="collectp"/>
+ <alias name="collectprop"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"
+ required="true"/>
+ <option
+ name="depth"
+ arg-name="word.depth"
+ description="word.depth"
+ default="1"/>
+ <option
+ name="maxitems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ </command>
+
+ <command name="lsitems" impl="lsItems">
+ <alias name="ls"/>
+ <alias name="dir"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"/>
+ <option
+ name="maxItems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ </command>
+
+ <command name="lsproperties" impl="lsProperties">
+ <alias name="lsp"/>
+ <alias name="lsprop"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"/>
+ <option
+ name="maxItems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ </command>
+
+ <command name="lsnodes" impl="lsNodes">
+ <alias name="lsn"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"/>
+ <option
+ name="maxItems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ <flag name="path" description="cmd.lsnodes.path"/>
+ <flag name="uuid" description="cmd.lsnodes.uuid"/>
+ <flag name="m" context-key="mixin" description="cmd.lsnodes.m"/>
+ <flag name="nsize" context-key="nodeSize" description="cmd.lsnodes.nsize"/>
+ <flag name="psize" context-key="propertiesSize" description="cmd.lsnodes.psize"/>
+ <flag name="rsize" context-key="referencesSize" description="cmd.lsnodes.rsize"/>
+ <flag name="v" context-key="versionable" description="cmd.lsnodes.v"/>
+ <flag name="l" context-key="lockable" description="cmd.lsnodes.l"/>
+ <flag name="r" context-key="referenceable" description="cmd.lsnodes.r"/>
+ <flag name="locked" description="cmd.lsnodes.locked"/>
+ <flag name="haslock" context-key="hasLock" description="cmd.lsnodes.hasLock"/>
+ <flag name="locktoken" context-key="lockToken"/>
+ <flag name="new" description="cmd.lsnodes.new"/>
+ <flag name="mod" context-key="modified" description="cmd.lsnodes.mod"/>
+ </command>
+
+ <command name="lsreferences" impl="lsReferences">
+ <alias name="lsr"/>
+ <alias name="lsref"/>
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="lsversions" impl="lsVersions">
+ <alias name="lsv"/>
+ <alias name="lsver"/>
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="merge">
+ <argument
+ name="srcWorkspace"
+ arg-name="word.source"
+ description="word.source"
+ position="0" />
+ <argument name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ position="1" />
+ <flag name="bestEffort"/>
+ </command>
+
+ <command name="move">
+ <argument
+ name="srcAbsPath"
+ position="0"
+ arg-name="common.jcrabspath"
+ description="common.jcrabspath.desc"
+ required="true"/>
+ <argument
+ name="destAbsPath"
+ position="1"
+ arg-name="common.jcrabspath"
+ description="common.jcrabspath.desc"
+ required="true"/>
+ </command>
+
+ <command name="orderbefore" impl="orderBefore">
+ <alias name="order"/>
+ <argument
+ name="srcChild"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <argument
+ name="destChild"
+ position="1"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <option
+ name="parent"
+ context-key="parentPath"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="refresh">
+ <argument
+ name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ position="0"/>
+ <flag name="keepChanges" description="phrase.keepchanges"/>
+ </command>
+
+ <command name="refreshlock" impl="refreshLock">
+ <alias name="refreshl"/>
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="registernamespace" impl="registerNamespace">
+ <alias name="registerns"/>
+ <alias name="regns"/>
+ <argument
+ name="prefix"
+ position="0"
+ arg-name="word.prefix"
+ description="word.prefix"/>
+ <argument
+ name="uri"
+ position="1"
+ arg-name="word.uri"
+ description="word.uri"/>
+ </command>
+
+ <command name="registernodetype" impl="registerNodeType">
+ <alias name="registernt"/>
+ <alias name="regnt"/>
+ <argument
+ name="srcFsPath"
+ position="0"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ <argument
+ name="encoding"
+ position="1"
+ arg-name="common.encoding"
+ description="common.encoding.desc"
+ required="false"/>
+ </command>
+
+ <command name="removeitem" impl="removeItem">
+ <alias name="remove"/>
+ <alias name="delete"/>
+ <alias name="rm"/>
+ <alias name="del"/>
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath"/>
+ </command>
+
+ <command name="removeitems" impl="removeItems">
+ <alias name="rmitems"/>
+ <alias name="delitems"/>
+ <alias name="deleteitems"/>
+ <argument
+ name="pattern"
+ position="0"
+ arg-name="common.namepattern"
+ description="common.namepattern.desc"
+ required="true"/>
+ <option
+ name="root"
+ context-key="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="removelocktoken" impl="removeLockToken">
+ <alias name="removetoken"/>
+ <argument
+ name="token"
+ position="0"
+ arg-name="phrase.locktoken"
+ description="phrase.locktoken"
+ required="true"/>
+ </command>
+
+ <command name="removemixin" impl="removeMixin">
+ <alias name="removemix"/>
+ <alias name="deletemix"/>
+ <alias name="delmix"/>
+ <argument
+ name="mixin"
+ position="0"
+ arg-name="word.mixin"
+ description="word.mixin"
+ required="true"/>
+ <argument
+ name="path"
+ position="1"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="removeversion" impl="removeVersion">
+ <alias name="removev"/>
+ <argument name="name"
+ position="0"
+ arg-name="word.name"
+ description="word.name"/>
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="removeversionlabel" impl="removeVersionLabel">
+ <alias name="removevlabel"/>
+ <alias name="delvlabel"/>
+ <argument name="label"
+ arg-name="word.label"
+ description="word.label"
+ position="0" />
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="removeversionbylabel" impl="removeVersionByLabel">
+ <alias name="removevbylabel"/>
+ <alias name="delvbylabel"/>
+ <alias name="removevbyl"/>
+ <alias name="delvbyl"/>
+ <argument name="label"
+ arg-name="word.label"
+ description="word.label"
+ position="0" />
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="rename">
+ <argument
+ name="srcPath"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ <argument
+ name="destPath"
+ position="1"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"
+ required="true"/>
+ </command>
+
+ <command name="restore">
+ <argument name="version"
+ position="0"
+ arg-name="word.version"
+ description="word.version"/>
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ <flag name="removeexisting"
+ context-key="removeExisting"
+ description="phrase.removeExisting"/>
+ </command>
+
+ <command name="restorebylabel" impl="restoreByLabel">
+ <alias name="restorebyl"/>
+ <argument name="label"
+ arg-name="word.label"
+ description="word.label"
+ position="0" />
+ <option name="path"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ <flag name="removeexisting"
+ context-key="removeExisting"
+ description="phrase.removeExisting"/>
+ </command>
+
+ <command name="save">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="setmultivalueproperty" impl="setMultiValueProperty">
+ <alias name="setmultiprop"/>
+ <argument
+ name="name"
+ position="0"
+ arg-name="word.name"
+ description="word.name"
+ required="true"/>
+ <argument
+ name="value"
+ position="1"
+ arg-name="word.value"
+ description="word.value"
+ required="true"/>
+ <option
+ name="type"
+ arg-name="common.nodetype"
+ description="common.nodetype.desc" />
+ <option
+ name="regexp"
+ context-key="regExp"
+ arg-name="phrase.regexp"
+ description="phrase.regexp"
+ default=","/>
+ </command>
+
+ <command name="setnamespaceprefix" impl="setNamespacePrefix">
+ <alias name="setnsprefix"/>
+ <argument
+ name="prefix"
+ position="0"
+ arg-name="word.prefix"
+ description="word.prefix"/>
+ <argument
+ name="uri"
+ position="1"
+ arg-name="word.uri"
+ description="word.uri"/>
+ </command>
+
+ <command name="setproperty" impl="setProperty">
+ <alias name="setprop"/>
+ <alias name="setp"/>
+ <argument
+ name="name"
+ position="0"
+ arg-name="word.name"
+ description="word.name"
+ required="true"/>
+ <argument
+ name="value"
+ position="1"
+ arg-name="word.value"
+ description="word.value"
+ required="true"/>
+ <option
+ name="type"
+ arg-name="common.nodetype"
+ description="common.nodetype.desc" />
+ <option
+ name="parent"
+ context-key="parentPath"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc" />
+ </command>
+
+ <command name="setpropertyfromfile" impl="setPropertyFromFile">
+ <alias name="setpropfromfile"/>
+ <alias name="setfsprop"/>
+ <argument
+ name="name"
+ position="0"
+ arg-name="word.name"
+ description="word.name"
+ required="true"/>
+ <argument
+ name="fsPath"
+ position="1"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ context-key="value"
+ required="true"/>
+ <option
+ name="type"
+ arg-name="common.nodetype"
+ description="common.nodetype"/>
+ <option
+ name="parentPath"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="source">
+ <argument
+ name="file"
+ position="0"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ </command>
+
+ <command name="sqlquery" impl="sqlQuery">
+ <alias name="sql"/>
+ <argument
+ name="statement"
+ position="0"
+ arg-name="word.stmt"
+ description="word.stmt"
+ required="true"/>
+ <option
+ name="maxitems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ <flag name="uuid" description="cmd.lsnodes.uuid"/>
+ <flag name="nsize" description="cmd.lsnodes.nsize"/>
+ <flag name="psize" description="cmd.lsnodes.psize"/>
+ <flag name="rsize" description="cmd.lsnodes.rsize"/>
+ <flag name="m" description="cmd.lsnodes.m"/>
+ <flag name="v" description="cmd.lsnodes.v"/>
+ <flag name="l" description="cmd.lsnodes.l"/>
+ <flag name="r" description="cmd.lsnodes.r"/>
+ <flag name="locked" description="cmd.lsnodes.locked"/>
+ <flag name="hasLock" description="cmd.lsnodes.hasLock"/>
+ <flag name="new" description="cmd.lsnodes.new"/>
+ <flag name="mod" description="cmd.lsnodes.mod"/>
+ <flag name="path" description="cmd.lsnodes.path"/>
+ <flag name="locktocken" description="cmd.lsnodes.locktoken"/>
+ </command>
+
+ <command name="startjackrabbit" impl="startJackrabbit">
+ <alias name="startjr"/>
+ <alias name="start"/>
+ <argument
+ name="config"
+ position="0"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ <argument
+ name="home"
+ position="1"
+ arg-name="common.fspath"
+ description="common.fspath.desc"
+ required="true"/>
+ </command>
+
+ <command name="stopjackrabbit" impl="stopJackrabbit">
+ <alias name="stopjr"/>
+ <alias name="stop"/>
+ </command>
+
+ <command name="unlock">
+ <argument
+ name="path"
+ position="0"
+ arg-name="common.jcrpath"
+ description="common.jcrpath.desc"/>
+ </command>
+
+ <command name="xpathquery" impl="xpathQuery">
+ <alias name="xpath"/>
+ <argument
+ name="statement"
+ position="0"
+ arg-name="word.stmt"
+ description="word.stmt"
+ required="true"/>
+ <option
+ name="maxitems"
+ arg-name="word.int"
+ description="phrase.maxitems"/>
+ <flag name="uuid" description="cmd.lsnodes.uuid"/>
+ <flag name="nsize" description="cmd.lsnodes.nsize"/>
+ <flag name="psize" description="cmd.lsnodes.psize"/>
+ <flag name="rsize" description="cmd.lsnodes.rsize"/>
+ <flag name="m" description="cmd.lsnodes.m"/>
+ <flag name="v" description="cmd.lsnodes.v"/>
+ <flag name="l" description="cmd.lsnodes.l"/>
+ <flag name="r" description="cmd.lsnodes.r"/>
+ <flag name="locked" description="cmd.lsnodes.locked"/>
+ <flag name="hasLock" description="cmd.lsnodes.hasLock"/>
+ <flag name="new" description="cmd.lsnodes.new"/>
+ <flag name="mod" description="cmd.lsnodes.mod"/>
+ <flag name="path" description="cmd.lsnodes.path"/>
+ <flag name="locktoken" description="cmd.lsnodes.locktoken"/>
+ </command>
+
+ <command name="info">
+ <alias name="status"/>
+ </command>
+
+</commands>
\ No newline at end of file
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command.xml?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command.xml (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/command.xml Sun Mar 17 21:44:46 2019
@@ -0,0 +1,292 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<chains>
+ <catalog>
+
+ <command name="addMixin"
+ className="org.apache.jackrabbit.standalone.cli.mixin.AddMixin"/>
+
+ <command name="addNode"
+ className="org.apache.jackrabbit.standalone.cli.core.AddNode"/>
+
+ <command name="addLockToken"
+ className="org.apache.jackrabbit.standalone.cli.lock.AddLockToken"/>
+
+ <command name="addVersionLabel"
+ className="org.apache.jackrabbit.standalone.cli.version.AddVersionLabel"/>
+
+ <command name="cat"
+ className="org.apache.jackrabbit.standalone.cli.info.Cat"/>
+
+ <command name="checkin"
+ className="org.apache.jackrabbit.standalone.cli.version.Checkin"/>
+
+ <command name="checkout"
+ className="org.apache.jackrabbit.standalone.cli.version.Checkout"/>
+
+ <command name="clearWorkspace"
+ className="org.apache.jackrabbit.standalone.cli.core.ClearWorkspace"/>
+
+ <command name="clone"
+ className="org.apache.jackrabbit.standalone.cli.core.Clone"/>
+
+ <command name="collectItems"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectItems"/>
+
+ <command name="collectNodes"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectNodes"/>
+
+ <command name="collectProperties"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectProperties"/>
+
+ <command name="connectToRmiServer"
+ className="org.apache.jackrabbit.standalone.cli.ext.ConnectToRmiServer"/>
+
+ <command name="connectToJndiServer"
+ className="org.apache.jackrabbit.standalone.cli.ext.ConnectToJNDIServer"/>
+
+ <command name="copy"
+ className="org.apache.jackrabbit.standalone.cli.core.Copy"/>
+
+ <command name="createWorkspace"
+ className="org.apache.jackrabbit.standalone.cli.ext.CreateWorkspace"/>
+
+ <command name="currentNode"
+ className="org.apache.jackrabbit.standalone.cli.core.CurrentNode"/>
+
+ <command name="describe"
+ className="org.apache.jackrabbit.standalone.cli.info.Describe"/>
+
+ <command name="dump"
+ className="org.apache.jackrabbit.standalone.cli.info.Dump"/>
+
+ <command name="exportFileSystem"
+ className="org.apache.jackrabbit.standalone.cli.fs.ExportFileSystem"/>
+
+ <command name="exportPropertyToFile"
+ className="org.apache.jackrabbit.standalone.cli.fs.ExportPropertyToFile"/>
+
+ <command name="exportDocViewToFile"
+ className="org.apache.jackrabbit.standalone.cli.xml.ExportDocViewToFile"/>
+
+ <command name="exportSysViewToFile"
+ className="org.apache.jackrabbit.standalone.cli.xml.ExportSysViewToFile"/>
+
+ <command name="help"
+ className="org.apache.jackrabbit.standalone.cli.info.Help"/>
+
+ <command name="importFileSystem"
+ className="org.apache.jackrabbit.standalone.cli.fs.ImportFileSystem"/>
+
+ <chain name="importXmlFromFile">
+ <command name="fileToInputStream"
+ className="org.apache.jackrabbit.standalone.cli.fs.FileToInputStream"
+ destKey="inputStream"/>
+ <command name="importXmlFromInputStream"
+ className="org.apache.jackrabbit.standalone.cli.xml.ImportXmlFromInputStream"/>
+ </chain >
+
+ <command name="lock"
+ className="org.apache.jackrabbit.standalone.cli.lock.Lock"/>
+
+ <command name="login"
+ className="org.apache.jackrabbit.standalone.cli.core.Login"/>
+
+ <command name="logout"
+ className="org.apache.jackrabbit.standalone.cli.core.Logout"/>
+
+ <chain name="lsCollect">
+ <command name="collectItems"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectItems"
+ destKey="collected"/>
+ <command name="lsCollectedItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedItems"
+ fromKey="collected"/>
+ <command name="remove"
+ className="org.apache.commons.chain.generic.RemoveCommand"
+ fromKey="collected"/>
+ </chain>
+
+ <chain name="lsCollectNodes">
+ <command name="collectNodes"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectNodes"
+ destKey="collected"/>
+ <command name="lsCollectedNodes"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedNodes"
+ fromKey="collected"/>
+ <command name="remove"
+ className="org.apache.commons.chain.generic.RemoveCommand"
+ fromKey="collected"/>
+ </chain>
+
+ <chain name="lsCollectProperties">
+ <command name="collectProperties"
+ className="org.apache.jackrabbit.standalone.cli.collect.CollectProperties"
+ destKey="collected"/>
+ <command name="lsCollectedNodes"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedProperties"
+ fromKey="collected"/>
+ <command name="remove"
+ className="org.apache.commons.chain.generic.RemoveCommand"
+ fromKey="collected"/>
+ </chain>
+
+ <command name="lsCollectedItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedItems"/>
+
+ <command name="lsCollectedNodes"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedNodes"/>
+
+ <command name="lsCollectedItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedProperties"/>
+
+ <command name="lsItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsItems"/>
+
+ <command name="lsNamespaces"
+ className="org.apache.jackrabbit.standalone.cli.info.LsNamespaces"/>
+
+ <command name="lsNodes"
+ className="org.apache.jackrabbit.standalone.cli.info.LsNodes"/>
+
+ <command name="lsProperties"
+ className="org.apache.jackrabbit.standalone.cli.info.LsProperties"/>
+
+ <command name="lsReferences"
+ className="org.apache.jackrabbit.standalone.cli.info.LsReferences"/>
+
+ <command name="lsVersions"
+ className="org.apache.jackrabbit.standalone.cli.info.LsVersions"/>
+
+ <command name="merge"
+ className="org.apache.jackrabbit.standalone.cli.version.Merge"/>
+
+ <command name="move"
+ className="org.apache.jackrabbit.standalone.cli.core.Move"/>
+
+ <command name="orderBefore"
+ className="org.apache.jackrabbit.standalone.cli.core.OrderBefore"/>
+
+ <command name="readValue"
+ className="org.apache.jackrabbit.standalone.cli.core.ReadValue"/>
+
+ <command name="refresh"
+ className="org.apache.jackrabbit.standalone.cli.core.Refresh"/>
+
+ <command name="refreshLock"
+ className="org.apache.jackrabbit.standalone.cli.lock.RefreshLock"/>
+
+ <command name="registerNamespace"
+ className="org.apache.jackrabbit.standalone.cli.namespace.RegisterNamespace"/>
+
+ <command name="registerNodeType"
+ className="org.apache.jackrabbit.standalone.cli.nodetype.RegisterNodeType"/>
+
+ <command name="removeItem"
+ className="org.apache.jackrabbit.standalone.cli.core.RemoveItem"/>
+
+ <command name="removeItems"
+ className="org.apache.jackrabbit.standalone.cli.core.RemoveItems"/>
+
+ <command name="removeLock"
+ className="org.apache.jackrabbit.standalone.cli.lock.RemoveLockToken"/>
+
+ <command name="removeLockToken"
+ className="org.apache.jackrabbit.standalone.cli.lock.RemoveLockToken"/>
+
+ <command name="removeMixin"
+ className="org.apache.jackrabbit.standalone.cli.mixin.RemoveMixin"/>
+
+ <command name="removeVersion"
+ className="org.apache.jackrabbit.standalone.cli.version.RemoveVersion"/>
+
+ <command name="removeVersionByLabel"
+ className="org.apache.jackrabbit.standalone.cli.version.RemoveVersionByLabel"/>
+
+ <command name="removeVersionLabel"
+ className="org.apache.jackrabbit.standalone.cli.version.RemoveVersionLabel"/>
+
+ <command name="rename"
+ className="org.apache.jackrabbit.standalone.cli.core.Rename"/>
+
+ <command name="restore"
+ className="org.apache.jackrabbit.standalone.cli.version.Restore"/>
+
+ <command name="restoreByLabel"
+ className="org.apache.jackrabbit.standalone.cli.version.RestoreByLabel"/>
+
+ <command name="save"
+ className="org.apache.jackrabbit.standalone.cli.core.Save"/>
+
+ <command name="setMultiValueProperty"
+ className="org.apache.jackrabbit.standalone.cli.core.SetMultivalueProperty"/>
+
+ <command name="setProperty"
+ className="org.apache.jackrabbit.standalone.cli.core.SetProperty"/>
+
+ <chain name="setPropertyFromFile">
+ <command name="fileToInputStream"
+ className="org.apache.jackrabbit.standalone.cli.fs.FileToInputStream"
+ srcFsPathKey="value"
+ destKey="inputStream"/>
+ <command name="setBinaryProperty"
+ className="org.apache.jackrabbit.standalone.cli.core.SetBinaryProperty"
+ valueKey="inputStream"/>
+ </chain >
+
+ <command name="source"
+ className="org.apache.jackrabbit.standalone.cli.SourceCommand"/>
+
+ <chain name="sqlQuery">
+ <command name="sqlQuery"
+ className="org.apache.jackrabbit.standalone.cli.query.SQLQuery"
+ destKey="collected"/>
+ <command name="lsCollectedItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedItems"
+ fromKey="collected"/>
+ <command name="remove"
+ className="org.apache.commons.chain.generic.RemoveCommand"
+ fromKey="collected"/>
+ </chain>
+
+ <command name="setNamespacePrefix"
+ className="org.apache.jackrabbit.standalone.cli.namespace.SetNamespacePrefix"/>
+
+ <command name="unlock"
+ className="org.apache.jackrabbit.standalone.cli.lock.Unlock"/>
+
+ <command name="unregisterNamespace"
+ className="org.apache.jackrabbit.standalone.cli.namespace.UnregisterNamespace"/>
+
+ <chain name="xpathQuery">
+ <command name="xpathQuery"
+ className="org.apache.jackrabbit.standalone.cli.query.XPathQuery"
+ destKey="collected"/>
+ <command name="lsCollectedItems"
+ className="org.apache.jackrabbit.standalone.cli.info.LsCollectedItems"
+ fromKey="collected"/>
+ <command name="remove"
+ className="org.apache.commons.chain.generic.RemoveCommand"
+ fromKey="collected"/>
+ </chain>
+
+ <command name="info"
+ className="org.apache.jackrabbit.standalone.cli.info.Info"/>
+
+ </catalog>
+</chains>
\ No newline at end of file
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/digester-rules.dtd
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/digester-rules.dtd?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/digester-rules.dtd (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/digester-rules.dtd Sun Mar 17 21:44:46 2019
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+
+<!--
+ "Digester" component of the Jakarta Commons Subproject
+ DTD for the definition of Digester rules in XML.
+ $Id: digester-rules.dtd 155412 2005-02-26 12:58:36Z dirkv $
+
+ Applications wishing to reference this DTD in their own documents
+ should use the following DOCTYPE declaration:
+
+ <!DOCTYPE digester-rules PUBLIC
+ "-//Jakarta Apache //DTD digester-rules XML V1.0//EN"
+ "digester-rules.dtd">
+
+-->
+
+<!-- This document type defines an XML format for defining Digester rules.
+ Digester is a framework for pattern-matching-based parsing of XML into
+ Java objects. See http://jakarta.apache.org/commons/digester.html. -->
+
+<!ENTITY % rule-elements "bean-property-setter-rule | call-method-rule |
+ call-param-rule | object-param-rule |
+ factory-create-rule | object-create-rule |
+ set-properties-rule | set-nested-properties-rule |
+ set-property-rule | set-top-rule |
+ set-next-rule | set-root-rule" >
+
+<!-- digester-rules is the root element. -->
+<!ELEMENT digester-rules (pattern | include | %rule-elements; )*>
+
+
+<!-- <pattern> defines a matching pattern, or part of a matching pattern. Any
+ rule nested in a pattern element prepends its parent's to its pattern.
+ Patterns may be recursively nested.
+ Example:
+ <pattern value="foo">
+ <pattern value="bar">
+ <object-create-rule pattern="baz" classname="Fubar" />
+ </pattern>
+ </pattern>
+
+ The above sample fragment defines an ObjectCreateRule associated
+ with the pattern "foo/bar/baz".
+
+ Note that the use of pattern elements is optional; an alternative is for
+ each rule element to contain a 'pattern' attribute. -->
+<!ELEMENT pattern (pattern | include | %rule-elements; )*>
+<!ATTLIST pattern
+ value CDATA #REQUIRED>
+
+
+<!--
+ <include> allows one set of digester rules to be included inside
+ another. The 'path' attribute contains the URI of the document to
+ include. Inclusion behaves as if the included rules document is
+ 'macro-expanded' within the outer document.
+ Programmatically initialized rules can be included as well, via the
+ 'class' attribute. The 'class' attribute should contain the name
+ of a class that implements
+ org.apache.commons.digester.xmlrules.DigesterRulesSource.
+-->
+<!ELEMENT include EMPTY>
+<!ATTLIST include
+ path CDATA #IMPLIED
+ class CDATA #IMPLIED>
+
+
+<!-- Each 'rule' element below corresponds to a concrete subclass
+ of org.apache.framework.digester.Rule.
+ Each 'rule' element has an optional 'pattern' attribute, which
+ defines the pattern for that rule instance. If the rule element
+ is nested inside one or more <pattern> elements, those patterns
+ will be prepended to the pattern specified in the rule's 'pattern'
+ attribute. -->
+
+<!-- Bean Property Setter Rule -->
+<!ELEMENT bean-property-setter-rule EMPTY>
+<!ATTLIST bean-property-setter-rule
+ pattern CDATA #IMPLIED
+ propertyname CDATA #IMPLIED>
+
+<!-- CallMethodRule
+ -
+ - Note that paramtypes is ignored unless paramcount is defined.
+ -->
+<!ELEMENT call-method-rule EMPTY>
+<!ATTLIST call-method-rule
+ pattern CDATA #IMPLIED
+ targetoffset CDATA #IMPLIED
+ methodname CDATA #REQUIRED
+ paramcount CDATA #IMPLIED
+ paramtypes CDATA #IMPLIED>
+
+<!--
+ CallParamRule
+ attrname - set param from attribute value (cannot be combined with from-stack)
+ from-stack - set param from stack (cannot be combined with attrname)
+ -->
+<!ELEMENT call-param-rule EMPTY>
+<!ATTLIST call-param-rule
+ pattern CDATA #IMPLIED
+ paramnumber CDATA #REQUIRED
+ attrname CDATA #IMPLIED
+ from-stack CDATA #IMPLIED
+ stack-index CDATA #IMPLIED>
+
+<!--
+ ObjectParamRule
+ attrname
+ - an arbitrary Object defined programatically, assigned if the
+ element pattern AND specified attribute name are matched
+ param
+ - an arbitrary Object defined programatically, assigned when the
+ element pattern associated with the Rule is matched
+ type
+ - class name for object
+ value
+ - initial value for the object
+ -->
+<!ELEMENT object-param-rule EMPTY>
+<!ATTLIST object-param-rule
+ pattern CDATA #IMPLIED
+ paramnumber CDATA #REQUIRED
+ param CDATA #REQUIRED
+ attrname CDATA #IMPLIED
+ type CDATA #REQUIRED
+ value CDATA #IMPLIED>
+
+<!--
+ FactoryCreateRule
+
+ ignore-exceptions - if this attribute is (ignore case) 'true' then any exceptions
+ thrown by the object create rule will be ignore.
+ This will allow processing to continue.
+ -->
+<!ELEMENT factory-create-rule EMPTY>
+<!ATTLIST factory-create-rule
+ pattern CDATA #IMPLIED
+ classname CDATA #REQUIRED
+ attrname CDATA #IMPLIED
+ ignore-exceptions CDATA #IMPLIED>
+
+<!-- ObjectCreateRule -->
+<!ELEMENT object-create-rule EMPTY>
+<!ATTLIST object-create-rule
+ pattern CDATA #IMPLIED
+ classname CDATA #REQUIRED
+ attrname CDATA #IMPLIED>
+
+<!-- SetPropertiesRule -->
+<!ELEMENT set-properties-rule (alias)*>
+<!ATTLIST set-properties-rule
+ pattern CDATA #IMPLIED>
+
+<!-- SetNestedPropertiesRule -->
+<!ELEMENT set-nested-properties-rule (alias)*>
+<!ATTLIST set-nested-properties-rule
+ pattern CDATA #IMPLIED
+ allow-unknown-child-elements CDATA #IMPLIED>
+
+<!-- An alias is a custom attribute->property name mapping -->
+<!ELEMENT alias EMPTY>
+<!ATTLIST alias
+ attr-name CDATA #REQUIRED
+ prop-name CDATA #IMPLIED>
+
+<!-- SetPropertyRule -->
+<!ELEMENT set-property-rule EMPTY>
+<!ATTLIST set-property-rule
+ pattern CDATA #IMPLIED
+ name CDATA #IMPLIED
+ value CDATA #IMPLIED>
+
+<!-- SetTopRule -->
+<!ELEMENT set-top-rule EMPTY>
+<!ATTLIST set-top-rule
+ pattern CDATA #IMPLIED
+ methodname CDATA #REQUIRED
+ paramtype CDATA #IMPLIED>
+
+<!-- SetNextRule -->
+<!ELEMENT set-next-rule EMPTY>
+<!ATTLIST set-next-rule
+ pattern CDATA #IMPLIED
+ methodname CDATA #REQUIRED
+ paramtype CDATA #IMPLIED>
+
+<!-- SetRootRule -->
+<!ELEMENT set-root-rule EMPTY>
+<!ATTLIST set-root-rule
+ pattern CDATA #IMPLIED
+ methodname CDATA #REQUIRED
+ paramtype CDATA #IMPLIED>
+
Added: jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/resources.properties
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/resources.properties?rev=1855719&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/resources.properties (added)
+++ jackrabbit/trunk/jackrabbit-standalone-components/src/main/resources/org/apache/jackrabbit/standalone/cli/resources.properties Sun Mar 17 21:44:46 2019
@@ -0,0 +1,279 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+cmd.addlocktoken = Add the given Lock token to the current Session
+cmd.addlocktoken.token = lock token
+cmd.addlocktoken.token.desc = the lock token
+cmd.addmixin = Add a mixin to the given Node
+cmd.addmixin.mixin = mixin name
+cmd.addmixin.mixin.desc = a mixin node type name
+cmd.addmixin.path = path
+cmd.addmixin.path.desc = path to the given node
+cmd.addnode = Add a node to the current working Node
+cmd.addversionlabel = Add a label to the given Version
+cmd.addversionlabel.label = label
+cmd.addversionlabel.label.desc = label to add
+cmd.addversionlabel.moveLabel =
+cmd.addversionlabel.moveLabel.desc = move label
+cmd.addversionlabel.version = version
+cmd.addversionlabel.version.desc = the version name on which the label will be applied
+cmd.cat = Display the content of a Property or a Node of type nt:file or nt:resource.
+cmd.checkin = Check in the given versionable node
+cmd.checkout = Checkout the given versionable Node
+cmd.clearworkspace = Remove all the content from the current working Workspace
+cmd.clone = Clone the given Node to another Workspace
+cmd.clone.destAbsPath = absolute path
+cmd.clone.destAbsPath.desc = absolute path to the destination node
+cmd.clone.removeExisting = boolean
+cmd.clone.removeExisting.desc = remove node if present at the destination path
+cmd.clone.srcAbsPath = absolute path
+cmd.clone.srcAbsPath.desc = source node
+cmd.connect = Connect to a remote repository through jcr-rmi
+cmd.connect.url = url
+cmd.connect.url.desc = String with the url where a jcr-rmi server instance is running
+cmd.copy = Copy a Node.\r\nIf the source Workspace is unset it will create a copy of the given Node from the current working Workspace.
+cmd.copy.destAbsPath = path
+cmd.copy.destAbsPath.desc = absolute path to the destination
+cmd.copy.fromWorkspace = name
+cmd.copy.fromWorkspace.desc = workspace name
+cmd.copy.srcAbsPath = path
+cmd.copy.srcAbsPath.desc = absolute path to the source node
+cmd.createworkspace = Create a Workspace
+cmd.createworkspace.name = name
+cmd.createworkspace.name.desc = workspace name
+cmd.currentnode = Set the current working Node
+cmd.dump = Dump stored data from the current working Node
+cmd.exportdocview = Serialize the Node to the given file using the Document View Format
+cmd.exportfilesystem = Export a Node of type nt:file or nt:folder to the given file system path
+cmd.exportproperty = Export a Property Value of the current working Node to the file system.
+cmd.exportsysview = Serialize the Node to the given file using the System View Format
+cmd.help = Show available Commands. If a Command is specified it will show its description, usage and parameters.
+cmd.help.command = name
+cmd.help.command.desc = name of the command to describe
+cmd.info = Show status information, including repository, username, workspace and session status
+cmd.importfilesystem = Import data from the file system. If the given path refers to a file it's imported to a Node of type nt:file under the current working Node. If the given path refers to a folder, the given folder and all the subtree is imported.
+cmd.importxml = Imports the xml view from the given file to the current working Node
+cmd.jndi = Connect to a repository through jndi
+cmd.lock = Lock the given Node
+cmd.lock.deep.desc = A deep lock applies to its holding node and all its descendants.
+cmd.lock.session.desc = session scoped locks expire with the session
+cmd.login = Login to the current working Repository
+cmd.login.password.desc = password [default = anonymous]
+cmd.login.user.desc = registered user name [default=anonymous]
+cmd.login.workspace.desc = workspace
+cmd.logout = Logout from the current working Repository
+cmd.lscollect = List collected items under the current node
+cmd.lscollectnodes = List collected nodes under the current working node
+cmd.lscollectproperties = List collected properties under the current working node
+cmd.lsitems = Lists nodes and properties under the current working node
+cmd.lsnodes = List nodes under the current working node
+cmd.lsnodes.hasLock = Show whether the current working node has a lock
+cmd.lsnodes.l = Show whether the current working node is lockable
+cmd.lsnodes.locked = Show whether the current working node is locked
+cmd.lsnodes.locktoken = token
+cmd.lsnodes.locktoken.desc = lock token
+cmd.lsnodes.m = Show the full list o mixin that apply to the current working node
+cmd.lsnodes.mod = Show whether the current working node is modified
+cmd.lsnodes.new = Show whether the current working node is new
+cmd.lsnodes.nsize = Show the number of nodes under the current working node
+cmd.lsnodes.path = Show the full path to the node
+cmd.lsnodes.psize = Show the number of properties under the current working node
+cmd.lsnodes.r = Show whether the current working node is referenceable
+cmd.lsnodes.rsize = Show the number of references that point to the current working node
+cmd.lsnodes.uuid = uuid
+cmd.lsnodes.v = Show whether the current working node is versionable
+cmd.lsproperties = List properties under the current working node
+cmd.lsreferences = List references to the given node
+cmd.lsversions = list versions of the given node
+cmd.merge = merge versions
+cmd.merge.bestEffort.desc = merge best effort
+cmd.move = Move a Node
+cmd.move.from = source, absolute or relative path
+cmd.move.to = destination, only absolute path
+cmd.orderbefore = Set the order of the given Node
+cmd.refresh = Refresh the Item if specified or the Session to reflect the current saved state
+cmd.refresh.keepChanges = keep or discard the changes flag
+cmd.refreshlock = Reset the Lock timer
+cmd.registernamespace = Register a namespace
+cmd.registernodetype = Register node types from a cnd file
+cmd.removeitem = Remove the item at the given path
+cmd.removeitems = Remove any Item under the given Node that match the given name pattern
+cmd.removelocktoken = Remove the given Lock token to the current Session
+cmd.removemixin = Remove a mixin from the given Node
+cmd.removeversion = Remove a Version from the VersionHistory
+cmd.removeversionbylabel = Remove the Version from the VersionHistory that match the given label
+cmd.removeversionlabel = Remove a label from the VersionHistory
+cmd.rename = Rename a Node
+cmd.rename.from = source node
+cmd.rename.to = destination node
+cmd.restore = Restore a Node to the state of the given Version
+cmd.restorebylabel = Restore a Node to the state of the Version with the specified label
+cmd.save = Save the current working Node if specified, or the current working Session
+cmd.setmultivalueproperty = Set a multivalue Property to the current working Node. The default regular expression is ",".
+cmd.setmultivalueproperty.regExp = Regular expression used to split the value into tokens.
+cmd.setnamespaceprefix = Sets a namespace prefix
+cmd.setproperty = Set a Property Value to the current working Node
+cmd.setproperty.name = property name
+cmd.setproperty.type = property type. Default is String.
+cmd.setproperty.value = property value
+cmd.setpropertyfromfile = Set a Property Value with the content of the given file.
+cmd.setpropertyfromfile.path = path to the file
+cmd.source = Executes a script from the given file
+cmd.sqlquery = SQL query
+cmd.sqlquery.statement = SQL statement
+cmd.sqlquery.target = target variables to store the nodes included in te query result
+cmd.startjackrabbit = Start a Jackrabbit instance and set it as the current working Repository
+cmd.startjackrabbit.config = Repository config file, usually called repository.xml
+cmd.startjackrabbit.home = Repository location
+cmd.stopjackrabbit = Stop Jackrabbit
+cmd.unlock = Unlock the current working Node
+cmd.xpathquery = XPath query
+cmd.xpathquery.statement = statement
+
+common.encoding = Encoding
+common.encoding.desc = see http://en.wikipedia.org/wiki/Character_encoding
+common.exportview.from = Source node
+common.exportview.noRecurse = if it's true it doesn't include the child nodes
+common.exportview.skipBinary = if it's true the binary properties will be serialized as if they are empty
+common.exportview.to = Target file where the xml view will be stored
+common.fspath = path
+common.fspath.desc = file system path
+common.index = index of the value to show
+common.index.desc = The indexing
+common.jcrabspath = jcr absolute path
+common.jcrabspath.desc = a path string representing the absolute path in the current workspace.
+common.jcrname = jcr name
+common.jcrname.desc = a valid jcr item name
+common.jcrpath = jcr path
+common.jcrpath.desc = a path string representing either a relative or absolute path in the current workspace.
+common.jcrrelpath = jcr relative path
+common.jcrrelpath.desc = a path string representing the relative path in the current workspace.
+common.namepattern = pattern
+common.namepattern.desc = name pattern
+common.nodetype = node type
+common.nodetype.desc = valid node type name
+common.source = source
+common.uuidBehaviour = int
+common.uuidBehaviour.desc = The flag uuidBehavior.
+
+exception = exception
+
+exception.alias.already.in.use = Alias "{0}" already in use.
+exception.already.logged.in = You are already logged in. Please logout.
+exception.cat.unsupported.type = Unsupported type to display contents "{0}".
+exception.file.exists = File already exists. {0}.
+exception.file.not.created = The file was not created. {0}.
+exception.file.not.found = File not found. {0}.
+exception.folder.not.created = The folder was not created. {0}.
+exception.fspath.is.null = The file system path is unset.
+exception.illegalargument = illegal argument
+exception.illegalargument.no.iterator.under = Illegal argument. There is no iterator under {0}.
+exception.illegalargument.not.a.command = Illegal argument. "{0}" is not a command.
+exception.illegalargument.null = Null arguments are illegal.
+exception.jackrabbit.command = jackrabbit specific command
+exception.missing.paramater = missing parameter "{0}"
+exception.more.arguments.than.expected = more arguments than expected
+exception.no.command.for.name = No Command for name "{0}".
+exception.no.current.node = The current working node isn't set. Please start a jcr implementation before trying to get the current working node.
+exception.no.current.repository = the current working repository is unset
+exception.no.current.session = the current working session is unset
+exception.no.flag.for.name = no flag for name "{0}"
+exception.no.node.at = there is not a Node at "{0}".
+exception.no.opt.for.name = no option for name "{0}"
+exception.not.file.or.folder = The given node is not nt:file nor nt:folder. {0}.
+exception.occurred = an exception occurred
+exception.only.absolute.path = only absolute paths are allowed
+exception.parse.input.empty = input is empty
+exception.repository.not.in.context = The repository can't be found in the application context. You need to start a jcr implementation before trying to login.
+exception.unabletoinit = Unable to init
+
+importxml.uuidBehaviour = uuid creation behaviour
+
+phrase.commandlist = command list
+phrase.commandreference = command reference
+phrase.display.stacktrace = display stack trace
+phrase.elapsedtime = elapsed time
+phrase.haslock = has lock
+phrase.jackrabbit.command = jackrabbit specific command
+phrase.keepchanges = keep changes
+phrase.locktoken = lock token
+phrase.maxitems = max number of items to show
+phrase.not.available = not available
+phrase.not.connected = not connected
+phrase.not.logged.in = not logged in
+phrase.regexp = regular expression
+phrase.removeExisting = remove existing
+
+word.alias = alias
+word.argument = argument
+word.arguments = arguments
+word.boolean = boolean
+word.classname = class name
+word.commandname = command name
+word.commands = commands
+word.default = default
+word.depth = depth
+word.description = description
+word.destination = destination
+word.elapsedtime = elapsed time
+word.flag = flag
+word.flags = flags
+word.folder = folder
+word.from = from
+word.in = in
+word.int = int
+word.label = label
+word.labels = labels
+word.length = length
+word.listed = listed
+word.lockable = lockable
+word.locked = locked
+word.locktoken = lock token
+word.message = message
+word.mixin = mixin
+word.modified = modified
+word.multiple = multiple
+word.name = name
+word.new = new
+word.node = node
+word.nodes = nodes
+word.nodetype = node type
+word.options = options
+word.overview = overview
+word.overwrite = overwrite
+word.password = password
+word.path = path
+word.pattern = pattern
+word.prefix = prefix
+word.preview = preview
+word.properties = properties
+word.property = property
+word.referenceable = referenceable
+word.references = references
+word.required = required
+word.running = running
+word.savenode = Save the current working node
+word.source = source
+word.stmt = statement
+word.total = total
+word.type = type
+word.uri = uri
+word.usage = usage
+word.user = user
+word.value = value
+word.version = version
+word.versionable = versionable
+word.versions = versions
+word.welcome = welcome
Modified: jackrabbit/trunk/jackrabbit-standalone/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone/pom.xml?rev=1855719&r1=1855718&r2=1855719&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-standalone/pom.xml Sun Mar 17 21:44:46 2019
@@ -76,11 +76,6 @@
<dependencies>
<dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation</artifactId>
<scope>provided</scope>
@@ -99,62 +94,9 @@
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
- <artifactId>jackrabbit-jcr2dav</artifactId>
+ <artifactId>jackrabbit-standalone-components</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jsp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-util</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>commons-chain</groupId>
- <artifactId>commons-chain</artifactId>
- <version>1.2</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>commons-digester</groupId>
- <artifactId>commons-digester</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>jline</groupId>
- <artifactId>jline</artifactId>
- <version>0.9.94</version>
- </dependency>
- <dependency>
- <groupId>commons-jexl</groupId>
- <artifactId>commons-jexl</artifactId>
- <version>1.1</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
</dependencies>
</project>
Modified: jackrabbit/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/pom.xml?rev=1855719&r1=1855718&r2=1855719&view=diff
==============================================================================
--- jackrabbit/trunk/pom.xml (original)
+++ jackrabbit/trunk/pom.xml Sun Mar 17 21:44:46 2019
@@ -58,6 +58,7 @@
<module>jackrabbit-jcr2dav</module>
<module>jackrabbit-jcr-client</module>
<module>jackrabbit-bundle</module>
+ <module>jackrabbit-standalone-components</module>
<module>jackrabbit-standalone</module>
</modules>