git-svn-id: https://svn.argeo.org/commons/trunk@4227 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 27 Feb 2011 11:50:34 +0000 (11:50 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 27 Feb 2011 11:50:34 +0000 (11:50 +0000)
52 files changed:
eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/.project [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java [deleted file]
eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java [deleted file]
eclipse/plugins/pom.xml [deleted file]
server/plugins/org.argeo.jcr.ui.explorer/.classpath [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/.project [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/build.properties [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/query.png [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/log4j.properties [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/plugin.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/pom.xml [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java [new file with mode: 0644]
server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java [new file with mode: 0644]
server/plugins/pom.xml [new file with mode: 0644]

diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath b/eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath
deleted file mode 100644 (file)
index 92f19d2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry kind="src" path="src/main/java"/>
-       <classpathentry kind="output" path="target/classes"/>
-</classpath>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/.project b/eclipse/plugins/org.argeo.jcr.ui.explorer/.project
deleted file mode 100644 (file)
index 162cd6b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.jcr.ui.explorer</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs b/eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index 992c5d7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#Thu Feb 24 08:49:06 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index bd310b8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: JCR Explorer
-Bundle-SymbolicName: org.argeo.jcr.ui.explorer;singleton:=true
-Bundle-Version: 0.2.3.SNAPSHOT
-Bundle-Activator: org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPlugin
-Bundle-Vendor: Argeo
-Require-Bundle: org.eclipse.ui;resolution:=optional,
- org.eclipse.core.runtime,
- org.eclipse.rap.ui;resolution:=optional
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Import-Package: javax.jcr;version="2.0.0",
- org.argeo.eclipse.spring,
- org.argeo.eclipse.ui.jcr.commands,
- org.argeo.eclipse.ui.jcr.editors,
- org.argeo.eclipse.ui.jcr.views,
- org.argeo.jcr
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml
deleted file mode 100644 (file)
index c1c1f19..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-        http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-       <bean id="openGenericJcrQueryEditor"
-               class="org.argeo.eclipse.ui.jcr.commands.OpenGenericJcrQueryEditor"
-               scope="prototype">
-               <property name="editorId"
-                       value="org.argeo.slc.client.ui.dist.genericJcrQueryEditor" />
-       </bean>
-
-       <bean id="addFileFolder" class="org.argeo.eclipse.ui.jcr.commands.AddFileFolder"
-               scope="prototype" />
-
-       <bean id="refresh" class="org.argeo.eclipse.ui.jcr.commands.Refresh"
-               scope="prototype" />
-
-       <bean id="deleteNode" class="org.argeo.eclipse.ui.jcr.commands.DeleteNode"
-               scope="prototype" />
-
-       <bean id="importFileSystem" class="org.argeo.eclipse.ui.jcr.commands.ImportFileSystem"
-               scope="prototype" />
-
-       <bean id="initUserHome" class="org.argeo.eclipse.ui.jcr.commands.InitUserHome"
-               scope="prototype">
-               <property name="session" ref="nodeJcrSession" />
-       </bean>
-</beans>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml
deleted file mode 100644 (file)
index 8ddc5bf..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
-       xmlns:p="http://www.springframework.org/schema/p"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
-
-       <bean id="genericJcrQueryEditor"
-               class="org.argeo.eclipse.ui.jcr.editors.GenericJcrQueryEditor" scope="prototype">
-               <property name="session" ref="jcrSession" />
-       </bean>
-</beans>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml
deleted file mode 100644 (file)
index 2701948..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
-       xmlns:p="http://www.springframework.org/schema/p"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
-
-       <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister">
-       </bean>
-</beans>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml
deleted file mode 100644 (file)
index 487cebf..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
-       xmlns:osgi="http://www.springframework.org/schema/osgi"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
-       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
-       http://www.springframework.org/schema/beans   \r
-       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"\r
-       osgi:default-timeout="30000">\r
-\r
-       <reference id="nodeJcrSession" interface="javax.jcr.Session"\r
-               filter="(argeo.jcr.repository.alias=node)" />\r
-\r
-       <set id="repositories" interface="javax.jcr.Repository">\r
-               <listener ref="repositoryRegister" bind-method="register"\r
-                       unbind-method="unregister" />\r
-       </set>\r
-</beans:beans>
\ No newline at end of file
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml
deleted file mode 100644 (file)
index eed1f48..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-        http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-       <!-- Views -->
-       <bean id="browserView" class="org.argeo.eclipse.ui.jcr.views.GenericJcrBrowser"
-               scope="prototype">
-               <property name="repositoryRegister" ref="repositoryRegister" />
-       </bean>
-</beans>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties
deleted file mode 100644 (file)
index 7b6db78..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/main/java/
-output.. = target/classes/
-bin.includes = META-INF/,\
-               .,\
-               plugin.xml
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser b/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser
deleted file mode 100644 (file)
index d804c1d..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif
deleted file mode 100644 (file)
index 252d7eb..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif
deleted file mode 100644 (file)
index 6c7320c..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png
deleted file mode 100644 (file)
index d7c890c..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif
deleted file mode 100644 (file)
index bba3dbc..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png
deleted file mode 100644 (file)
index 54c089d..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png
deleted file mode 100644 (file)
index a3884fb..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif
deleted file mode 100644 (file)
index 0ae6dec..0000000
Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif and /dev/null differ
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties
deleted file mode 100644 (file)
index 46b724c..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo=DEBUG
-log4j.logger.org.springframework.security=WARN
-
-log4j.logger.org.apache.catalina=INFO
-log4j.logger.org.apache.coyote=INFO
-log4j.logger.org.apache.tomcat=INFO
-log4j.logger.org.springframework.osgi.web.deployer.tomcat=WARN
-
-log4j.logger.org.apache.directory.server=INFO
-log4j.logger.org.apache.directory.server.core.partition=ERROR
-log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR
-
-log4j.logger.org.apache.jackrabbit=WARN
-log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR
-
-## Appenders
-# console is set to be a ConsoleAppender.
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-
-# console uses PatternLayout.
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product b/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product
deleted file mode 100644 (file)
index 0980e1d..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?pde version="3.5"?>
-
-<product application="org.argeo.security.ui.application.secureUi" useFeatures="false" includeLaunchers="true">
-
-   <configIni use="default">
-   </configIni>
-
-   <launcherArgs>
-      <programArgs>-console</programArgs>
-      <vmArgs>-Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective</vmArgs>
-      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
-   </launcherArgs>
-
-   <launcher>
-      <solaris/>
-      <win useIco="false">
-         <bmp/>
-      </win>
-   </launcher>
-
-   <vm>
-   </vm>
-
-   <plugins>
-      <plugin id="com.ibm.icu"/>
-      <plugin id="com.springsource.antlr"/>
-      <plugin id="com.springsource.com.mysql.jdbc"/>
-      <plugin id="com.springsource.com.sun.syndication"/>
-      <plugin id="com.springsource.edu.emory.mathcs.backport"/>
-      <plugin id="com.springsource.edu.oswego.cs.dl.util.concurrent"/>
-      <plugin id="com.springsource.javax.activation"/>
-      <plugin id="com.springsource.javax.annotation"/>
-      <plugin id="com.springsource.javax.ejb"/>
-      <plugin id="com.springsource.javax.el"/>
-      <plugin id="com.springsource.javax.mail"/>
-      <plugin id="com.springsource.javax.management.j2ee"/>
-      <plugin id="com.springsource.javax.persistence"/>
-      <plugin id="com.springsource.javax.servlet"/>
-      <plugin id="com.springsource.javax.servlet.jsp"/>
-      <plugin id="com.springsource.javax.servlet.jsp.jstl"/>
-      <plugin id="com.springsource.javax.transaction"/>
-      <plugin id="com.springsource.javax.xml.bind"/>
-      <plugin id="com.springsource.javax.xml.rpc"/>
-      <plugin id="com.springsource.javax.xml.soap"/>
-      <plugin id="com.springsource.javax.xml.stream"/>
-      <plugin id="com.springsource.javax.xml.ws"/>
-      <plugin id="com.springsource.jdbm"/>
-      <plugin id="com.springsource.junit"/>
-      <plugin id="com.springsource.org.aopalliance"/>
-      <plugin id="com.springsource.org.apache.catalina"/>
-      <plugin id="com.springsource.org.apache.commons.codec"/>
-      <plugin id="com.springsource.org.apache.commons.collections"/>
-      <plugin id="com.springsource.org.apache.commons.compress"/>
-      <plugin id="com.springsource.org.apache.commons.dbcp"/>
-      <plugin id="com.springsource.org.apache.commons.fileupload"/>
-      <plugin id="com.springsource.org.apache.commons.httpclient"/>
-      <plugin id="com.springsource.org.apache.commons.io"/>
-      <plugin id="com.springsource.org.apache.commons.lang"/>
-      <plugin id="com.springsource.org.apache.commons.pool"/>
-      <plugin id="com.springsource.org.apache.coyote" fragment="true"/>
-      <plugin id="com.springsource.org.apache.directory.server.changepw"/>
-      <plugin id="com.springsource.org.apache.directory.server.core" fragment="true"/>
-      <plugin id="com.springsource.org.apache.directory.server.core.shared"/>
-      <plugin id="com.springsource.org.apache.directory.server.jndi"/>
-      <plugin id="com.springsource.org.apache.directory.server.kerberos"/>
-      <plugin id="com.springsource.org.apache.directory.server.kerberos.shared"/>
-      <plugin id="com.springsource.org.apache.directory.server.ldap"/>
-      <plugin id="com.springsource.org.apache.directory.server.ntp"/>
-      <plugin id="com.springsource.org.apache.directory.server.protocol.shared"/>
-      <plugin id="com.springsource.org.apache.directory.shared.asn1"/>
-      <plugin id="com.springsource.org.apache.directory.shared.ldap"/>
-      <plugin id="com.springsource.org.apache.el"/>
-      <plugin id="com.springsource.org.apache.jasper" fragment="true"/>
-      <plugin id="com.springsource.org.apache.jasper.org.eclipse.jdt"/>
-      <plugin id="com.springsource.org.apache.juli.extras"/>
-      <plugin id="com.springsource.org.apache.log4j"/>
-      <plugin id="com.springsource.org.apache.lucene"/>
-      <plugin id="com.springsource.org.apache.mina"/>
-      <plugin id="com.springsource.org.apache.regexp"/>
-      <plugin id="com.springsource.org.apache.taglibs.standard"/>
-      <plugin id="com.springsource.org.apache.ws.commons.schema"/>
-      <plugin id="com.springsource.org.apache.xalan"/>
-      <plugin id="com.springsource.org.apache.xerces" fragment="true"/>
-      <plugin id="com.springsource.org.apache.xml.resolver"/>
-      <plugin id="com.springsource.org.apache.xml.serializer"/>
-      <plugin id="com.springsource.org.apache.xmlbeans"/>
-      <plugin id="com.springsource.org.apache.xmlcommons"/>
-      <plugin id="com.springsource.org.codehaus.jackson"/>
-      <plugin id="com.springsource.org.codehaus.jackson.mapper"/>
-      <plugin id="com.springsource.org.cyberneko.html"/>
-      <plugin id="com.springsource.org.dom4j"/>
-      <plugin id="com.springsource.org.h2"/>
-      <plugin id="com.springsource.org.jaxen"/>
-      <plugin id="com.springsource.org.jdom"/>
-      <plugin id="com.springsource.org.objectweb.asm"/>
-      <plugin id="com.springsource.org.postgresql.jdbc3"/>
-      <plugin id="com.springsource.org.xmlpull"/>
-      <plugin id="com.springsource.slf4j.api"/>
-      <plugin id="com.springsource.slf4j.log4j" fragment="true"/>
-      <plugin id="com.springsource.slf4j.org.apache.commons.logging"/>
-      <plugin id="org.argeo.basic.nodeps"/>
-      <plugin id="org.argeo.dep.osgi.boilerpipe"/>
-      <plugin id="org.argeo.dep.osgi.bouncycastle.jdk15"/>
-      <plugin id="org.argeo.dep.osgi.catalina.start"/>
-      <plugin id="org.argeo.dep.osgi.directory.shared.asn.codec" fragment="true"/>
-      <plugin id="org.argeo.dep.osgi.drewnoakes.metadata_extractor"/>
-      <plugin id="org.argeo.dep.osgi.jackrabbit"/>
-      <plugin id="org.argeo.dep.osgi.jcr"/>
-      <plugin id="org.argeo.dep.osgi.mina.filter.ssl" fragment="true"/>
-      <plugin id="org.argeo.dep.osgi.netcdf"/>
-      <plugin id="org.argeo.dep.osgi.pdfbox"/>
-      <plugin id="org.argeo.dep.osgi.poi"/>
-      <plugin id="org.argeo.dep.osgi.springframework.ldap"/>
-      <plugin id="org.argeo.dep.osgi.tagsoup"/>
-      <plugin id="org.argeo.dep.osgi.tika"/>
-      <plugin id="org.argeo.eclipse.ui"/>
-      <plugin id="org.argeo.eclipse.ui.jcr"/>
-      <plugin id="org.argeo.jackrabbit.webapp"/>
-      <plugin id="org.argeo.jcr.ui.explorer"/>
-      <plugin id="org.argeo.node.repo.jackrabbit"/>
-      <plugin id="org.argeo.security.core"/>
-      <plugin id="org.argeo.security.equinox"/>
-      <plugin id="org.argeo.security.ldap"/>
-      <plugin id="org.argeo.security.manager.ldap"/>
-      <plugin id="org.argeo.security.mvc"/>
-      <plugin id="org.argeo.security.services"/>
-      <plugin id="org.argeo.security.ui"/>
-      <plugin id="org.argeo.security.ui.application"/>
-      <plugin id="org.argeo.server.ads"/>
-      <plugin id="org.argeo.server.ads.server"/>
-      <plugin id="org.argeo.server.catalina" fragment="true"/>
-      <plugin id="org.argeo.server.core"/>
-      <plugin id="org.argeo.server.jackrabbit"/>
-      <plugin id="org.argeo.server.jcr"/>
-      <plugin id="org.argeo.server.jcr.mvc"/>
-      <plugin id="org.argeo.server.json"/>
-      <plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
-      <plugin id="org.argeo.server.tomcat" fragment="true"/>
-      <plugin id="org.eclipse.core.commands"/>
-      <plugin id="org.eclipse.core.contenttype"/>
-      <plugin id="org.eclipse.core.databinding"/>
-      <plugin id="org.eclipse.core.databinding.observable"/>
-      <plugin id="org.eclipse.core.databinding.property"/>
-      <plugin id="org.eclipse.core.expressions"/>
-      <plugin id="org.eclipse.core.jobs"/>
-      <plugin id="org.eclipse.core.runtime"/>
-      <plugin id="org.eclipse.equinox.app"/>
-      <plugin id="org.eclipse.equinox.common"/>
-      <plugin id="org.eclipse.equinox.preferences"/>
-      <plugin id="org.eclipse.equinox.registry"/>
-      <plugin id="org.eclipse.equinox.security"/>
-      <plugin id="org.eclipse.help"/>
-      <plugin id="org.eclipse.jface"/>
-      <plugin id="org.eclipse.jface.databinding"/>
-      <plugin id="org.eclipse.osgi"/>
-      <plugin id="org.eclipse.swt"/>
-      <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.ui"/>
-      <plugin id="org.eclipse.ui.forms"/>
-      <plugin id="org.eclipse.ui.workbench"/>
-      <plugin id="org.springframework.aop"/>
-      <plugin id="org.springframework.beans"/>
-      <plugin id="org.springframework.context"/>
-      <plugin id="org.springframework.core"/>
-      <plugin id="org.springframework.osgi.core"/>
-      <plugin id="org.springframework.osgi.extender"/>
-      <plugin id="org.springframework.osgi.io"/>
-      <plugin id="org.springframework.osgi.web"/>
-      <plugin id="org.springframework.osgi.web.extender"/>
-      <plugin id="org.springframework.oxm"/>
-      <plugin id="org.springframework.security.core"/>
-      <plugin id="org.springframework.transaction"/>
-      <plugin id="org.springframework.web"/>
-      <plugin id="org.springframework.web.servlet"/>
-      <plugin id="org.springframework.xml"/>
-   </plugins>
-
-   <configurations>
-      <plugin id="org.argeo.dep.osgi.catalina.start" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.jackrabbit.webapp" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.node.repo.jackrabbit" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.security.equinox" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.security.manager.ldap" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.security.services" autoStart="true" startLevel="0" />
-      <plugin id="org.argeo.server.ads.server" autoStart="true" startLevel="0" />
-      <plugin id="org.springframework.osgi.extender" autoStart="true" startLevel="0" />
-      <plugin id="org.springframework.osgi.web.extender" autoStart="true" startLevel="0" />
-   </configurations>
-
-</product>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties
deleted file mode 100644 (file)
index 4981c93..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-argeo.osgi.start=org.argeo.dep.osgi.catalina.start,\
-org.argeo.jackrabbit.webapp,\
-org.argeo.node.repo.jackrabbit,\
-org.argeo.security.equinox,\
-org.argeo.security.manager.ldap,\
-org.argeo.security.services,\
-org.argeo.server.ads.server,\
-org.springframework.osgi.extender,\
-org.springframework.osgi.web.extender
-
-log4j.configuration=file:../../log4j.properties
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml
deleted file mode 100644 (file)
index ffe7aaf..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-   <extension
-         point="org.eclipse.ui.perspectives">
-      <perspective
-            class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
-            icon="icons/nodes.gif"
-            id="org.argeo.jcr.ui.explorer.perspective"
-            name="JCR Explorer">
-      </perspective>
-   </extension>
-   <extension
-         point="org.eclipse.ui.views">
-          <view
-          class="org.argeo.eclipse.spring.SpringExtensionFactory"
-          icon="icons/browser.gif"
-          id="org.argeo.jcr.ui.explorer.browserView"
-          name="JCR Browser">
-          </view>
-   </extension>
-   <extension
-           point="org.eclipse.ui.editors">
-            <editor
-                 class="org.argeo.eclipse.spring.SpringExtensionFactory"
-              id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
-              name="JCR Query"
-              icon="icons/query.png"
-              default="false">
-        </editor>
-     </extension>
-       <extension
-         point="org.eclipse.ui.commands">
-               <command
-            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
-            name="New generic JCR query">
-       </command>
-  <command
-        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-        id="org.argeo.jcr.ui.explorer.addFileFolder"
-        name="Add file folder...">
-  </command>
-  <command
-        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-        id="org.argeo.jcr.ui.explorer.initUserHome"
-        name="Initialize user home">
-  </command>
-  <command
-        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-        id="org.argeo.jcr.ui.explorer.refresh"
-        name="Refresh">
-  </command>
-  <command
-        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-        id="org.argeo.jcr.ui.explorer.deleteNode"
-        name="Delete node">
-  </command>
-  <command
-        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-        id="org.argeo.jcr.ui.explorer.importFileSystem"
-        name="Import files...">
-  </command>
-    </extension>
-       <extension point="org.eclipse.ui.menus">
-               <menuContribution
-                allPopups="false"
-                locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
-                <command
-                      commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
-                      icon="icons/query.png"
-                      style="push">
-                </command>
-                            <command
-                                  commandId="org.argeo.jcr.ui.explorer.initUserHome"
-                                  style="push"
-                                  tooltip="Initializes the user specific area within this node">
-                            </command>
-          </menuContribution>
-  <menuContribution
-        allPopups="false"
-        locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
-     <command
-           commandId="org.argeo.jcr.ui.explorer.refresh"
-           icon="icons/refresh.png"
-           style="push">
-     </command>
-     <command
-           commandId="org.argeo.jcr.ui.explorer.addFileFolder"
-           icon="icons/add.gif"
-           style="push">
-     </command>
-     <command
-           commandId="org.argeo.jcr.ui.explorer.deleteNode"
-           icon="icons/remove.gif"
-           style="push">
-     </command>
-     <command
-           commandId="org.argeo.jcr.ui.explorer.importFileSystem"
-           icon="icons/import_fs.png"
-           style="push"
-           tooltip="Import files from the files sytem to the repository">
-     </command>
-  </menuContribution>
-       </extension>
-</plugin>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml
deleted file mode 100644 (file)
index d63fd3c..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons.eclipse</groupId>
-               <version>0.2.3-SNAPSHOT</version>
-               <artifactId>plugins</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.jcr.ui.explorer</artifactId>
-       <name>Commons JCR Explorer</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>resolve-pde-sources</id>
-                                               <goals>
-                                                       <goal>pde-sources</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                                       <execution>
-                                               <id>check-osgi</id>
-                                               <phase>test</phase>
-                                               <goals>
-                                                       <goal>equinox</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <onlyCheck>true</onlyCheck>
-                                                       <argsToAppend>
-                                                               <arg>-clean</arg>
-                                                       </argsToAppend>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <dependency>
-                       <groupId>org.argeo.commons.eclipse</groupId>
-                       <artifactId>org.argeo.eclipse.ui.jcr</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-               </dependency>
-
-               <!-- RCP only dependency, needed at compile time -->
-               <dependency>
-                       <groupId>org.argeo.commons.eclipse</groupId>
-                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-                       <scope>provided</scope>
-               </dependency>
-
-
-               <!-- Testing and target platform -->
-               <dependency>
-                       <groupId>org.argeo.commons.osgi</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.javax</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xmlcommons</groupId>
-                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <!-- LDAP server and security services -->
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.ads</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.ui.application</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <!-- Tomcat -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web.extender</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web</artifactId>
-               </dependency>
-               <!-- Jackrabbit -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jackrabbit</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jcr.mvc</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.jackrabbit.webapp</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>com.h2database</groupId>
-                       <artifactId>com.springsource.org.h2</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>com.mysql.jdbc</groupId>
-                       <artifactId>com.springsource.com.mysql.jdbc</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.postgresql</groupId>
-                       <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
-</project>
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java b/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java
deleted file mode 100644 (file)
index 020bf06..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.argeo.eclipse.ui.jcr.explorer;
-
-import org.eclipse.ui.IFolderLayout;
-import org.eclipse.ui.IPageLayout;
-import org.eclipse.ui.IPerspectiveFactory;
-
-public class JcrExplorerPerspective implements IPerspectiveFactory {
-       public static String BROWSER_VIEW_ID = JcrExplorerPlugin.ID
-                       + ".browserView";
-
-       public void createInitialLayout(IPageLayout layout) {
-               layout.setEditorAreaVisible(true);
-
-               IFolderLayout upperLeft = layout.createFolder(JcrExplorerPlugin.ID
-                               + ".upperLeft", IPageLayout.LEFT, 0.4f, layout.getEditorArea());
-               upperLeft.addView(BROWSER_VIEW_ID);
-       }
-
-}
diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java b/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java
deleted file mode 100644 (file)
index b5e9af3..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-package org.argeo.eclipse.ui.jcr.explorer;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class JcrExplorerPlugin extends AbstractUIPlugin {
-
-       // The plug-in ID
-       public static final String ID = "org.argeo.jcr.ui.explorer"; //$NON-NLS-1$
-
-       // The shared instance
-       private static JcrExplorerPlugin plugin;
-
-       /**
-        * The constructor
-        */
-       public JcrExplorerPlugin() {
-       }
-
-       /*
-        * (non-Javadoc)
-        * 
-        * @see
-        * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
-        * )
-        */
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               plugin = this;
-       }
-
-       /*
-        * (non-Javadoc)
-        * 
-        * @see
-        * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
-        * )
-        */
-       public void stop(BundleContext context) throws Exception {
-               plugin = null;
-               super.stop(context);
-       }
-
-       /**
-        * Returns the shared instance
-        * 
-        * @return the shared instance
-        */
-       public static JcrExplorerPlugin getDefault() {
-               return plugin;
-       }
-
-       public static ImageDescriptor getImageDescriptor(String path) {
-               return imageDescriptorFromPlugin(ID, path);
-       }
-
-}
diff --git a/eclipse/plugins/pom.xml b/eclipse/plugins/pom.xml
deleted file mode 100644 (file)
index 3b7006a..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons.eclipse</groupId>
-               <version>0.2.3-SNAPSHOT</version>
-               <artifactId>eclipse</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>plugins</artifactId>
-       <name>Commons Eclipse plugins</name>
-       <packaging>pom</packaging>
-       <modules>
-               <module>org.argeo.jcr.ui.explorer</module>
-       </modules>
-       <build>
-               <resources>
-                       <resource>
-                               <directory>src/main/resources</directory>
-                       </resource>
-                       <resource>
-                               <directory>.</directory>
-                               <includes>
-                                       <include>plugin.xml</include>
-                                       <include>META-INF/**</include>
-                                       <include>icons/**</include>
-                               </includes>
-                       </resource>
-               </resources>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-source-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                       </plugin>
-               </plugins>
-       </build>
-</project>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/.classpath b/server/plugins/org.argeo.jcr.ui.explorer/.classpath
new file mode 100644 (file)
index 0000000..92f19d2
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="src" path="src/main/java"/>
+       <classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/.project b/server/plugins/org.argeo.jcr.ui.explorer/.project
new file mode 100644 (file)
index 0000000..162cd6b
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.jcr.ui.explorer</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs b/server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..992c5d7
--- /dev/null
@@ -0,0 +1,8 @@
+#Thu Feb 24 08:49:06 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..bd310b8
--- /dev/null
@@ -0,0 +1,18 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: JCR Explorer
+Bundle-SymbolicName: org.argeo.jcr.ui.explorer;singleton:=true
+Bundle-Version: 0.2.3.SNAPSHOT
+Bundle-Activator: org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPlugin
+Bundle-Vendor: Argeo
+Require-Bundle: org.eclipse.ui;resolution:=optional,
+ org.eclipse.core.runtime,
+ org.eclipse.rap.ui;resolution:=optional
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
+Import-Package: javax.jcr;version="2.0.0",
+ org.argeo.eclipse.spring,
+ org.argeo.eclipse.ui.jcr.commands,
+ org.argeo.eclipse.ui.jcr.editors,
+ org.argeo.eclipse.ui.jcr.views,
+ org.argeo.jcr
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml
new file mode 100644 (file)
index 0000000..c1c1f19
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+        http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+       <bean id="openGenericJcrQueryEditor"
+               class="org.argeo.eclipse.ui.jcr.commands.OpenGenericJcrQueryEditor"
+               scope="prototype">
+               <property name="editorId"
+                       value="org.argeo.slc.client.ui.dist.genericJcrQueryEditor" />
+       </bean>
+
+       <bean id="addFileFolder" class="org.argeo.eclipse.ui.jcr.commands.AddFileFolder"
+               scope="prototype" />
+
+       <bean id="refresh" class="org.argeo.eclipse.ui.jcr.commands.Refresh"
+               scope="prototype" />
+
+       <bean id="deleteNode" class="org.argeo.eclipse.ui.jcr.commands.DeleteNode"
+               scope="prototype" />
+
+       <bean id="importFileSystem" class="org.argeo.eclipse.ui.jcr.commands.ImportFileSystem"
+               scope="prototype" />
+
+       <bean id="initUserHome" class="org.argeo.eclipse.ui.jcr.commands.InitUserHome"
+               scope="prototype">
+               <property name="session" ref="nodeJcrSession" />
+       </bean>
+</beans>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml
new file mode 100644 (file)
index 0000000..8ddc5bf
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
+       xmlns:p="http://www.springframework.org/schema/p"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+       <bean id="genericJcrQueryEditor"
+               class="org.argeo.eclipse.ui.jcr.editors.GenericJcrQueryEditor" scope="prototype">
+               <property name="session" ref="jcrSession" />
+       </bean>
+</beans>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml
new file mode 100644 (file)
index 0000000..2701948
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
+       xmlns:p="http://www.springframework.org/schema/p"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+       <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister">
+       </bean>
+</beans>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..487cebf
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xmlns:osgi="http://www.springframework.org/schema/osgi"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+       http://www.springframework.org/schema/beans   \r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"\r
+       osgi:default-timeout="30000">\r
+\r
+       <reference id="nodeJcrSession" interface="javax.jcr.Session"\r
+               filter="(argeo.jcr.repository.alias=node)" />\r
+\r
+       <set id="repositories" interface="javax.jcr.Repository">\r
+               <listener ref="repositoryRegister" bind-method="register"\r
+                       unbind-method="unregister" />\r
+       </set>\r
+</beans:beans>
\ No newline at end of file
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml
new file mode 100644 (file)
index 0000000..eed1f48
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+        http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+       <!-- Views -->
+       <bean id="browserView" class="org.argeo.eclipse.ui.jcr.views.GenericJcrBrowser"
+               scope="prototype">
+               <property name="repositoryRegister" ref="repositoryRegister" />
+       </bean>
+</beans>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/build.properties b/server/plugins/org.argeo.jcr.ui.explorer/build.properties
new file mode 100644 (file)
index 0000000..7b6db78
--- /dev/null
@@ -0,0 +1,5 @@
+source.. = src/main/java/
+output.. = target/classes/
+bin.includes = META-INF/,\
+               .,\
+               plugin.xml
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser b/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser
new file mode 100644 (file)
index 0000000..d804c1d
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif
new file mode 100644 (file)
index 0000000..252d7eb
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif
new file mode 100644 (file)
index 0000000..6c7320c
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png
new file mode 100644 (file)
index 0000000..d7c890c
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif
new file mode 100644 (file)
index 0000000..bba3dbc
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png
new file mode 100644 (file)
index 0000000..54c089d
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png
new file mode 100644 (file)
index 0000000..a3884fb
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif
new file mode 100644 (file)
index 0000000..0ae6dec
Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif differ
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/log4j.properties b/server/plugins/org.argeo.jcr.ui.explorer/log4j.properties
new file mode 100644 (file)
index 0000000..46b724c
--- /dev/null
@@ -0,0 +1,25 @@
+log4j.rootLogger=WARN, console
+
+## Levels
+log4j.logger.org.argeo=DEBUG
+log4j.logger.org.springframework.security=WARN
+
+log4j.logger.org.apache.catalina=INFO
+log4j.logger.org.apache.coyote=INFO
+log4j.logger.org.apache.tomcat=INFO
+log4j.logger.org.springframework.osgi.web.deployer.tomcat=WARN
+
+log4j.logger.org.apache.directory.server=INFO
+log4j.logger.org.apache.directory.server.core.partition=ERROR
+log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR
+
+log4j.logger.org.apache.jackrabbit=WARN
+log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR
+
+## Appenders
+# console is set to be a ConsoleAppender.
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+
+# console uses PatternLayout.
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product
new file mode 100644 (file)
index 0000000..0980e1d
--- /dev/null
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product application="org.argeo.security.ui.application.secureUi" useFeatures="false" includeLaunchers="true">
+
+   <configIni use="default">
+   </configIni>
+
+   <launcherArgs>
+      <programArgs>-console</programArgs>
+      <vmArgs>-Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective</vmArgs>
+      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+   </launcherArgs>
+
+   <launcher>
+      <solaris/>
+      <win useIco="false">
+         <bmp/>
+      </win>
+   </launcher>
+
+   <vm>
+   </vm>
+
+   <plugins>
+      <plugin id="com.ibm.icu"/>
+      <plugin id="com.springsource.antlr"/>
+      <plugin id="com.springsource.com.mysql.jdbc"/>
+      <plugin id="com.springsource.com.sun.syndication"/>
+      <plugin id="com.springsource.edu.emory.mathcs.backport"/>
+      <plugin id="com.springsource.edu.oswego.cs.dl.util.concurrent"/>
+      <plugin id="com.springsource.javax.activation"/>
+      <plugin id="com.springsource.javax.annotation"/>
+      <plugin id="com.springsource.javax.ejb"/>
+      <plugin id="com.springsource.javax.el"/>
+      <plugin id="com.springsource.javax.mail"/>
+      <plugin id="com.springsource.javax.management.j2ee"/>
+      <plugin id="com.springsource.javax.persistence"/>
+      <plugin id="com.springsource.javax.servlet"/>
+      <plugin id="com.springsource.javax.servlet.jsp"/>
+      <plugin id="com.springsource.javax.servlet.jsp.jstl"/>
+      <plugin id="com.springsource.javax.transaction"/>
+      <plugin id="com.springsource.javax.xml.bind"/>
+      <plugin id="com.springsource.javax.xml.rpc"/>
+      <plugin id="com.springsource.javax.xml.soap"/>
+      <plugin id="com.springsource.javax.xml.stream"/>
+      <plugin id="com.springsource.javax.xml.ws"/>
+      <plugin id="com.springsource.jdbm"/>
+      <plugin id="com.springsource.junit"/>
+      <plugin id="com.springsource.org.aopalliance"/>
+      <plugin id="com.springsource.org.apache.catalina"/>
+      <plugin id="com.springsource.org.apache.commons.codec"/>
+      <plugin id="com.springsource.org.apache.commons.collections"/>
+      <plugin id="com.springsource.org.apache.commons.compress"/>
+      <plugin id="com.springsource.org.apache.commons.dbcp"/>
+      <plugin id="com.springsource.org.apache.commons.fileupload"/>
+      <plugin id="com.springsource.org.apache.commons.httpclient"/>
+      <plugin id="com.springsource.org.apache.commons.io"/>
+      <plugin id="com.springsource.org.apache.commons.lang"/>
+      <plugin id="com.springsource.org.apache.commons.pool"/>
+      <plugin id="com.springsource.org.apache.coyote" fragment="true"/>
+      <plugin id="com.springsource.org.apache.directory.server.changepw"/>
+      <plugin id="com.springsource.org.apache.directory.server.core" fragment="true"/>
+      <plugin id="com.springsource.org.apache.directory.server.core.shared"/>
+      <plugin id="com.springsource.org.apache.directory.server.jndi"/>
+      <plugin id="com.springsource.org.apache.directory.server.kerberos"/>
+      <plugin id="com.springsource.org.apache.directory.server.kerberos.shared"/>
+      <plugin id="com.springsource.org.apache.directory.server.ldap"/>
+      <plugin id="com.springsource.org.apache.directory.server.ntp"/>
+      <plugin id="com.springsource.org.apache.directory.server.protocol.shared"/>
+      <plugin id="com.springsource.org.apache.directory.shared.asn1"/>
+      <plugin id="com.springsource.org.apache.directory.shared.ldap"/>
+      <plugin id="com.springsource.org.apache.el"/>
+      <plugin id="com.springsource.org.apache.jasper" fragment="true"/>
+      <plugin id="com.springsource.org.apache.jasper.org.eclipse.jdt"/>
+      <plugin id="com.springsource.org.apache.juli.extras"/>
+      <plugin id="com.springsource.org.apache.log4j"/>
+      <plugin id="com.springsource.org.apache.lucene"/>
+      <plugin id="com.springsource.org.apache.mina"/>
+      <plugin id="com.springsource.org.apache.regexp"/>
+      <plugin id="com.springsource.org.apache.taglibs.standard"/>
+      <plugin id="com.springsource.org.apache.ws.commons.schema"/>
+      <plugin id="com.springsource.org.apache.xalan"/>
+      <plugin id="com.springsource.org.apache.xerces" fragment="true"/>
+      <plugin id="com.springsource.org.apache.xml.resolver"/>
+      <plugin id="com.springsource.org.apache.xml.serializer"/>
+      <plugin id="com.springsource.org.apache.xmlbeans"/>
+      <plugin id="com.springsource.org.apache.xmlcommons"/>
+      <plugin id="com.springsource.org.codehaus.jackson"/>
+      <plugin id="com.springsource.org.codehaus.jackson.mapper"/>
+      <plugin id="com.springsource.org.cyberneko.html"/>
+      <plugin id="com.springsource.org.dom4j"/>
+      <plugin id="com.springsource.org.h2"/>
+      <plugin id="com.springsource.org.jaxen"/>
+      <plugin id="com.springsource.org.jdom"/>
+      <plugin id="com.springsource.org.objectweb.asm"/>
+      <plugin id="com.springsource.org.postgresql.jdbc3"/>
+      <plugin id="com.springsource.org.xmlpull"/>
+      <plugin id="com.springsource.slf4j.api"/>
+      <plugin id="com.springsource.slf4j.log4j" fragment="true"/>
+      <plugin id="com.springsource.slf4j.org.apache.commons.logging"/>
+      <plugin id="org.argeo.basic.nodeps"/>
+      <plugin id="org.argeo.dep.osgi.boilerpipe"/>
+      <plugin id="org.argeo.dep.osgi.bouncycastle.jdk15"/>
+      <plugin id="org.argeo.dep.osgi.catalina.start"/>
+      <plugin id="org.argeo.dep.osgi.directory.shared.asn.codec" fragment="true"/>
+      <plugin id="org.argeo.dep.osgi.drewnoakes.metadata_extractor"/>
+      <plugin id="org.argeo.dep.osgi.jackrabbit"/>
+      <plugin id="org.argeo.dep.osgi.jcr"/>
+      <plugin id="org.argeo.dep.osgi.mina.filter.ssl" fragment="true"/>
+      <plugin id="org.argeo.dep.osgi.netcdf"/>
+      <plugin id="org.argeo.dep.osgi.pdfbox"/>
+      <plugin id="org.argeo.dep.osgi.poi"/>
+      <plugin id="org.argeo.dep.osgi.springframework.ldap"/>
+      <plugin id="org.argeo.dep.osgi.tagsoup"/>
+      <plugin id="org.argeo.dep.osgi.tika"/>
+      <plugin id="org.argeo.eclipse.ui"/>
+      <plugin id="org.argeo.eclipse.ui.jcr"/>
+      <plugin id="org.argeo.jackrabbit.webapp"/>
+      <plugin id="org.argeo.jcr.ui.explorer"/>
+      <plugin id="org.argeo.node.repo.jackrabbit"/>
+      <plugin id="org.argeo.security.core"/>
+      <plugin id="org.argeo.security.equinox"/>
+      <plugin id="org.argeo.security.ldap"/>
+      <plugin id="org.argeo.security.manager.ldap"/>
+      <plugin id="org.argeo.security.mvc"/>
+      <plugin id="org.argeo.security.services"/>
+      <plugin id="org.argeo.security.ui"/>
+      <plugin id="org.argeo.security.ui.application"/>
+      <plugin id="org.argeo.server.ads"/>
+      <plugin id="org.argeo.server.ads.server"/>
+      <plugin id="org.argeo.server.catalina" fragment="true"/>
+      <plugin id="org.argeo.server.core"/>
+      <plugin id="org.argeo.server.jackrabbit"/>
+      <plugin id="org.argeo.server.jcr"/>
+      <plugin id="org.argeo.server.jcr.mvc"/>
+      <plugin id="org.argeo.server.json"/>
+      <plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
+      <plugin id="org.argeo.server.tomcat" fragment="true"/>
+      <plugin id="org.eclipse.core.commands"/>
+      <plugin id="org.eclipse.core.contenttype"/>
+      <plugin id="org.eclipse.core.databinding"/>
+      <plugin id="org.eclipse.core.databinding.observable"/>
+      <plugin id="org.eclipse.core.databinding.property"/>
+      <plugin id="org.eclipse.core.expressions"/>
+      <plugin id="org.eclipse.core.jobs"/>
+      <plugin id="org.eclipse.core.runtime"/>
+      <plugin id="org.eclipse.equinox.app"/>
+      <plugin id="org.eclipse.equinox.common"/>
+      <plugin id="org.eclipse.equinox.preferences"/>
+      <plugin id="org.eclipse.equinox.registry"/>
+      <plugin id="org.eclipse.equinox.security"/>
+      <plugin id="org.eclipse.help"/>
+      <plugin id="org.eclipse.jface"/>
+      <plugin id="org.eclipse.jface.databinding"/>
+      <plugin id="org.eclipse.osgi"/>
+      <plugin id="org.eclipse.swt"/>
+      <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.ui"/>
+      <plugin id="org.eclipse.ui.forms"/>
+      <plugin id="org.eclipse.ui.workbench"/>
+      <plugin id="org.springframework.aop"/>
+      <plugin id="org.springframework.beans"/>
+      <plugin id="org.springframework.context"/>
+      <plugin id="org.springframework.core"/>
+      <plugin id="org.springframework.osgi.core"/>
+      <plugin id="org.springframework.osgi.extender"/>
+      <plugin id="org.springframework.osgi.io"/>
+      <plugin id="org.springframework.osgi.web"/>
+      <plugin id="org.springframework.osgi.web.extender"/>
+      <plugin id="org.springframework.oxm"/>
+      <plugin id="org.springframework.security.core"/>
+      <plugin id="org.springframework.transaction"/>
+      <plugin id="org.springframework.web"/>
+      <plugin id="org.springframework.web.servlet"/>
+      <plugin id="org.springframework.xml"/>
+   </plugins>
+
+   <configurations>
+      <plugin id="org.argeo.dep.osgi.catalina.start" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.jackrabbit.webapp" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.node.repo.jackrabbit" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.security.equinox" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.security.manager.ldap" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.security.services" autoStart="true" startLevel="0" />
+      <plugin id="org.argeo.server.ads.server" autoStart="true" startLevel="0" />
+      <plugin id="org.springframework.osgi.extender" autoStart="true" startLevel="0" />
+      <plugin id="org.springframework.osgi.web.extender" autoStart="true" startLevel="0" />
+   </configurations>
+
+</product>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties
new file mode 100644 (file)
index 0000000..4981c93
--- /dev/null
@@ -0,0 +1,11 @@
+argeo.osgi.start=org.argeo.dep.osgi.catalina.start,\
+org.argeo.jackrabbit.webapp,\
+org.argeo.node.repo.jackrabbit,\
+org.argeo.security.equinox,\
+org.argeo.security.manager.ldap,\
+org.argeo.security.services,\
+org.argeo.server.ads.server,\
+org.springframework.osgi.extender,\
+org.springframework.osgi.web.extender
+
+log4j.configuration=file:../../log4j.properties
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/plugin.xml b/server/plugins/org.argeo.jcr.ui.explorer/plugin.xml
new file mode 100644 (file)
index 0000000..ffe7aaf
--- /dev/null
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.perspectives">
+      <perspective
+            class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
+            icon="icons/nodes.gif"
+            id="org.argeo.jcr.ui.explorer.perspective"
+            name="JCR Explorer">
+      </perspective>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views">
+          <view
+          class="org.argeo.eclipse.spring.SpringExtensionFactory"
+          icon="icons/browser.gif"
+          id="org.argeo.jcr.ui.explorer.browserView"
+          name="JCR Browser">
+          </view>
+   </extension>
+   <extension
+           point="org.eclipse.ui.editors">
+            <editor
+                 class="org.argeo.eclipse.spring.SpringExtensionFactory"
+              id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
+              name="JCR Query"
+              icon="icons/query.png"
+              default="false">
+        </editor>
+     </extension>
+       <extension
+         point="org.eclipse.ui.commands">
+               <command
+            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+            id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+            name="New generic JCR query">
+       </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.addFileFolder"
+        name="Add file folder...">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.initUserHome"
+        name="Initialize user home">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.refresh"
+        name="Refresh">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.deleteNode"
+        name="Delete node">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.importFileSystem"
+        name="Import files...">
+  </command>
+    </extension>
+       <extension point="org.eclipse.ui.menus">
+               <menuContribution
+                allPopups="false"
+                locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
+                <command
+                      commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+                      icon="icons/query.png"
+                      style="push">
+                </command>
+                            <command
+                                  commandId="org.argeo.jcr.ui.explorer.initUserHome"
+                                  style="push"
+                                  tooltip="Initializes the user specific area within this node">
+                            </command>
+          </menuContribution>
+  <menuContribution
+        allPopups="false"
+        locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
+     <command
+           commandId="org.argeo.jcr.ui.explorer.refresh"
+           icon="icons/refresh.png"
+           style="push">
+     </command>
+     <command
+           commandId="org.argeo.jcr.ui.explorer.addFileFolder"
+           icon="icons/add.gif"
+           style="push">
+     </command>
+     <command
+           commandId="org.argeo.jcr.ui.explorer.deleteNode"
+           icon="icons/remove.gif"
+           style="push">
+     </command>
+     <command
+           commandId="org.argeo.jcr.ui.explorer.importFileSystem"
+           icon="icons/import_fs.png"
+           style="push"
+           tooltip="Import files from the files sytem to the repository">
+     </command>
+  </menuContribution>
+       </extension>
+</plugin>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/pom.xml b/server/plugins/org.argeo.jcr.ui.explorer/pom.xml
new file mode 100644 (file)
index 0000000..d63fd3c
--- /dev/null
@@ -0,0 +1,162 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.eclipse</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>plugins</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.jcr.ui.explorer</artifactId>
+       <name>Commons JCR Explorer</name>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>resolve-pde-sources</id>
+                                               <goals>
+                                                       <goal>pde-sources</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                                       <argsToAppend>
+                                                               <arg>-clean</arg>
+                                                       </argsToAppend>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.commons.eclipse</groupId>
+                       <artifactId>org.argeo.eclipse.ui.jcr</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+
+               <!-- RCP only dependency, needed at compile time -->
+               <dependency>
+                       <groupId>org.argeo.commons.eclipse</groupId>
+                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+                       <scope>provided</scope>
+               </dependency>
+
+
+               <!-- Testing and target platform -->
+               <dependency>
+                       <groupId>org.argeo.commons.osgi</groupId>
+                       <artifactId>org.argeo.osgi.boot</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.javax</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.xmlcommons</groupId>
+                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <!-- LDAP server and security services -->
+               <dependency>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.dep.ads</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.ui.application</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <!-- Tomcat -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.osgi</groupId>
+                       <artifactId>org.springframework.osgi.web.extender</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.osgi</groupId>
+                       <artifactId>org.springframework.osgi.web</artifactId>
+               </dependency>
+               <!-- Jackrabbit -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.jackrabbit</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.jcr.mvc</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.jackrabbit.webapp</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>com.h2database</groupId>
+                       <artifactId>com.springsource.org.h2</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>com.mysql.jdbc</groupId>
+                       <artifactId>com.springsource.com.mysql.jdbc</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.postgresql</groupId>
+                       <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
+                       <scope>test</scope>
+               </dependency>
+       </dependencies>
+</project>
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java
new file mode 100644 (file)
index 0000000..020bf06
--- /dev/null
@@ -0,0 +1,19 @@
+package org.argeo.eclipse.ui.jcr.explorer;
+
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+
+public class JcrExplorerPerspective implements IPerspectiveFactory {
+       public static String BROWSER_VIEW_ID = JcrExplorerPlugin.ID
+                       + ".browserView";
+
+       public void createInitialLayout(IPageLayout layout) {
+               layout.setEditorAreaVisible(true);
+
+               IFolderLayout upperLeft = layout.createFolder(JcrExplorerPlugin.ID
+                               + ".upperLeft", IPageLayout.LEFT, 0.4f, layout.getEditorArea());
+               upperLeft.addView(BROWSER_VIEW_ID);
+       }
+
+}
diff --git a/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java
new file mode 100644 (file)
index 0000000..b5e9af3
--- /dev/null
@@ -0,0 +1,61 @@
+package org.argeo.eclipse.ui.jcr.explorer;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class JcrExplorerPlugin extends AbstractUIPlugin {
+
+       // The plug-in ID
+       public static final String ID = "org.argeo.jcr.ui.explorer"; //$NON-NLS-1$
+
+       // The shared instance
+       private static JcrExplorerPlugin plugin;
+
+       /**
+        * The constructor
+        */
+       public JcrExplorerPlugin() {
+       }
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see
+        * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+        * )
+        */
+       public void start(BundleContext context) throws Exception {
+               super.start(context);
+               plugin = this;
+       }
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see
+        * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+        * )
+        */
+       public void stop(BundleContext context) throws Exception {
+               plugin = null;
+               super.stop(context);
+       }
+
+       /**
+        * Returns the shared instance
+        * 
+        * @return the shared instance
+        */
+       public static JcrExplorerPlugin getDefault() {
+               return plugin;
+       }
+
+       public static ImageDescriptor getImageDescriptor(String path) {
+               return imageDescriptorFromPlugin(ID, path);
+       }
+
+}
diff --git a/server/plugins/pom.xml b/server/plugins/pom.xml
new file mode 100644 (file)
index 0000000..3b7006a
--- /dev/null
@@ -0,0 +1,44 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.eclipse</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>eclipse</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>plugins</artifactId>
+       <name>Commons Eclipse plugins</name>
+       <packaging>pom</packaging>
+       <modules>
+               <module>org.argeo.jcr.ui.explorer</module>
+       </modules>
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+                       <resource>
+                               <directory>.</directory>
+                               <includes>
+                                       <include>plugin.xml</include>
+                                       <include>META-INF/**</include>
+                                       <include>icons/**</include>
+                               </includes>
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                       </plugin>
+               </plugins>
+       </build>
+</project>