Remove unused directories
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Dec 2011 14:05:31 +0000 (14:05 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Dec 2011 14:05:31 +0000 (14:05 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4922 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

52 files changed:
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.classpath [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.project [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.settings/org.eclipse.jdt.core.prefs [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/META-INF/MANIFEST.MF [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/applicationContext.xml [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/service-servlet.xml [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/web.xml [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/build.properties [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/log4j.properties [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/plugin.xml [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_jetty.properties [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_tomcat.properties [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Activator.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Application.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationActionBarAdvisor.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchAdvisor.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchWindowAdvisor.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Perspective.java [deleted file]
sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/views/TestDownloadView.java [deleted file]
sandbox/pom.xml [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/.classpath [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/.project [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.eclipse.jdt.core.prefs [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.maven.ide.eclipse.prefs [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy00.xls [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy01.xls [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/pom.xml [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/repository.xml [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/FirstHop.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/SecondHop.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/ThirdHop.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/Base.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/CommandLineQuery.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/ReadData.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/RemoveData.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/StoreData.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/org/argeo/sandbox/jackrabbit/WebDavTest.java [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/resources/log4j.properties [deleted file]
sandbox/runtime/org.argeo.sandbox.jackrabbit/test.xml [deleted file]
sandbox/runtime/pom.xml [deleted file]
server/demo/org.argeo.server.demo.log4j/META-INF/MANIFEST.MF [deleted file]
server/demo/org.argeo.server.demo.log4j/log4j.properties [deleted file]
server/demo/org.argeo.server.demo.miniwebapp/META-INF/MANIFEST.MF [deleted file]
server/demo/org.argeo.server.demo.miniwebapp/WEB-INF/web.xml [deleted file]
server/demo/org.argeo.server.demo.miniwebapp/index.jsp [deleted file]
server/demo/org.argeo.server.osgi.monitor/META-INF/MANIFEST.MF [deleted file]
server/demo/org.argeo.server.osgi.monitor/WEB-INF/applicationContext.xml [deleted file]
server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi-servlet.xml [deleted file]
server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi.xml [deleted file]
server/demo/org.argeo.server.osgi.monitor/WEB-INF/web.xml [deleted file]
server/demo/pom.xml [deleted file]
server/pom.xml

diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.classpath b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.classpath
deleted file mode 100644 (file)
index 4a46cfa..0000000
+++ /dev/null
@@ -1,9 +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/JavaSE-1.6" />
-       <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/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.project b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.project
deleted file mode 100644 (file)
index 25ecae5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.sandbox.ui.rap</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/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.settings/org.eclipse.jdt.core.prefs b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index 480cda7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#Mon Jun 20 10:19:50 CEST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/META-INF/MANIFEST.MF b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index b8e12e7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Manifest-Version: 1.0\r
-Bundle-ManifestVersion: 2\r
-Bundle-Name: Rap sandbox\r
-Bundle-SymbolicName: org.argeo.sandbox.ui.rap;singleton:=true\r
-Bundle-Version: 0.3.3.SNAPSHOT\r
-Bundle-Activator: org.argeo.sandbox.ui.rap.Activator\r
-Bundle-Vendor: Argeo\r
-Require-Bundle: org.eclipse.rap.ui\r
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6\r
-Bundle-ActivationPolicy: lazy\r
-Import-Package: javax.servlet;version="2.4.0",\r
- javax.servlet.http;version="2.4.0",\r
- org.eclipse.equinox.http.servlet;version="1.1.0"\r
-\r
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/applicationContext.xml b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/applicationContext.xml
deleted file mode 100644 (file)
index db1c6dd..0000000
+++ /dev/null
@@ -1,8 +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:aop="http://www.springframework.org/schema/aop"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-
-</beans>
\ No newline at end of file
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/service-servlet.xml b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/service-servlet.xml
deleted file mode 100644 (file)
index 7a05219..0000000
+++ /dev/null
@@ -1,28 +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:aop="http://www.springframework.org/schema/aop"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-
-
-       <bean id="urlMapping"
-               class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
-               <property name="mappings">
-                       <props>
-                               <prop key="*">osgiServiceController</prop>
-                       </props>
-               </property>
-       </bean>
-
-       <bean id="osgiServiceController"
-               class="org.springframework.web.servlet.mvc.ServletWrappingController">
-               <property name="servletClass">
-                       <value>org.eclipse.equinox.http.servlet.HttpServiceServlet</value>
-               </property>
-               <property name="servletName">
-                       <value>osgiService</value>
-               </property>
-       </bean>
-</beans>
\ No newline at end of file
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/web.xml b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/web.xml
deleted file mode 100644 (file)
index daa71c9..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
-       version="2.5">
-
-       <display-name>Argeo OSGi TEST Webapp</display-name>
-
-       <!-- General -->
-       <context-param>
-               <param-name>contextConfigLocation</param-name>
-               <param-value>/WEB-INF/applicationContext.xml</param-value>
-       </context-param>
-
-       <listener>
-               <display-name>Spring Context</display-name>
-               <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-       </listener>
-       <context-param>
-               <param-name>contextClass</param-name>
-               <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-       </context-param>
-
-       <!-- OSGi Http Service -->
-       <servlet>
-               <servlet-name>service</servlet-name>
-               <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
-               <init-param>
-                       <param-name>contextClass</param-name>
-                       <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-               </init-param>
-               <load-on-startup>1</load-on-startup>
-       </servlet>
-
-       <servlet-mapping>
-               <servlet-name>service</servlet-name>
-               <url-pattern>/*</url-pattern>
-       </servlet-mapping>
-</web-app>
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/build.properties b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/build.properties
deleted file mode 100644 (file)
index 885c233..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/main/java/
-output.. = target/classes/
-bin.includes = plugin.xml,\
-               META-INF/,\
-               WEB-INF/,\
-               .
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/log4j.properties b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/log4j.properties
deleted file mode 100644 (file)
index b60e906..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo.sandbox.ui=TRACE
-
-# Apache Tomcat
-log4j.logger.org.apache.catalina=DEBUG
-log4j.logger.org.apache.coyote=INFO
-log4j.logger.org.apache.tomcat=INFO
-
-## 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 - [%t] %c%n
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/plugin.xml b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/plugin.xml
deleted file mode 100644 (file)
index 8b95c1b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-       <!-- Enable RAP workbench and provide an entry point -->
-   <extension
-         point="org.eclipse.rap.ui.entrypoint">
-      <entrypoint
-            class="org.argeo.sandbox.ui.rap.Application"
-            parameter="hello"
-            id="org.argeo.sandbox.ui.rap.Application">
-      </entrypoint>
-   </extension>
-   <extension
-         id="basicWebapp"
-         name="Argeo basic Web App"
-         point="org.eclipse.core.runtime.applications">
-      <application cardinality="singleton-global"
-         thread="main"
-         visible="true">
-         <run
-               class="org.argeo.sandbox.ui.rap.Application">
-         </run>
-      </application>
-   </extension>
-   
-   <extension
-         point="org.eclipse.ui.perspectives">
-      <perspective
-            name="RAP Perspective"
-            class="org.argeo.sandbox.ui.rap.Perspective"
-            id="org.argeo.sandbox.ui.downloadTries">
-      </perspective>
-       </extension>
-       <extension point="org.eclipse.ui.views">
-               <view
-                       name="test download view" 
-                       class="org.argeo.sandbox.ui.rap.views.TestDownloadView" 
-                       id ="org.argeo.sandbox.ui.testDownloadView">
-               </view>
-       </extension>
-</plugin>
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_jetty.properties b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_jetty.properties
deleted file mode 100644 (file)
index 962aa31..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-argeo.osgi.start=\
-org.springframework.osgi.extender,\
-com.springsource.javax.servlet,\
-org.eclipse.core.runtime,\
-org.eclipse.equinox.common,\
-org.eclipse.equinox.http.registry,\
-org.eclipse.equinox.launcher,\
-org.eclipse.equinox.http.jetty,\
-org.mortbay.jetty.server,\
-org.springframework.osgi.web.extender,\
-org.argeo.sandbox.ui.rap
-
-
-##org.argeo.eclipse.ui,\
-
-org.argeo.security.ui.initialPerspective=org.argeo.sandbox.ui.downloadTries
-
-eclipse.ignoreApp=true
-osgi.noShutdown=true
-
-log4j.configuration=file:../../log4j.properties
-
-#org.eclipse.equinox.http.jetty.log.stderr.threshold=debug
-org.osgi.service.http.port=9090
-# Demo test URL used with tomcat :  http://localhost:9090/org.argeo.sandbox.ui/rap?startup=hello
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_tomcat.properties b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_tomcat.properties
deleted file mode 100644 (file)
index db4c914..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-argeo.osgi.start=\
-org.springframework.osgi.extender,\
-com.springsource.javax.servlet,\
-org.eclipse.core.runtime,\
-org.eclipse.equinox.common,\
-org.eclipse.equinox.http.registry,\
-org.eclipse.equinox.launcher,\
-org.argeo.dep.osgi.catalina.start,\
-org.argeo.server.tomcat,\
-org.springframework.osgi.web.extender,\
-org.argeo.sandbox.ui.rap
-
-
-##org.argeo.eclipse.ui,\
-
-org.argeo.security.ui.initialPerspective=org.argeo.sandbox.ui.downloadTries
-
-eclipse.ignoreApp=true
-osgi.noShutdown=true
-
-log4j.configuration=file:../../log4j.properties
-
-# Demo test URL used with tomcat :  http://localhost:7070/org.argeo.rap.webapp/sebi
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Activator.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Activator.java
deleted file mode 100644 (file)
index 4e0cae2..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-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 Activator extends AbstractUIPlugin {
-
-       // The plug-in ID
-       public static final String PLUGIN_ID = "org.argeo.sandbox.ui"; //$NON-NLS-1$
-
-       // The shared instance
-       private static Activator plugin;
-
-       /**
-        * The constructor
-        */
-       public Activator() {
-       }
-
-       /*
-        * (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 Activator getDefault() {
-               return plugin;
-       }
-
-       /**
-        * Returns an image descriptor for the image file at the given plug-in
-        * relative path
-        * 
-        * @param path
-        *            the path
-        * @return the image descriptor
-        */
-       public static ImageDescriptor getImageDescriptor(String path) {
-               return imageDescriptorFromPlugin(PLUGIN_ID, path);
-       }
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Application.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Application.java
deleted file mode 100644 (file)
index 401f1b1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-import org.eclipse.rwt.lifecycle.IEntryPoint;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.application.WorkbenchAdvisor;
-
-/**
- * This class controls all aspects of the application's execution
- * and is contributed through the plugin.xml.
- */
-public class Application implements IEntryPoint {
-
-       public int createUI() {
-               Display display = PlatformUI.createDisplay();
-               WorkbenchAdvisor advisor = new ApplicationWorkbenchAdvisor();
-               return PlatformUI.createAndRunWorkbench( display, advisor );
-       }
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationActionBarAdvisor.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationActionBarAdvisor.java
deleted file mode 100644 (file)
index 55b7471..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-
-/**
- * Creates, adds and disposes actions for the menus and action bars of
- * each workbench window.
- */
-public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
-
-    public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
-        super(configurer);
-    }
-
-    protected void makeActions(IWorkbenchWindow window) {
-    }
-
-    protected void fillMenuBar(IMenuManager menuBar) {
-    }
-    
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchAdvisor.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchAdvisor.java
deleted file mode 100644 (file)
index 4e98d3c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchAdvisor;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-/**
- * This workbench advisor creates the window advisor, and specifies the
- * perspective id for the initial window.
- */
-public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
-
-       private static final String PERSPECTIVE_ID = Perspective.ID;
-
-       public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
-                       IWorkbenchWindowConfigurer configurer) {
-               return new ApplicationWorkbenchWindowAdvisor(configurer);
-       }
-
-       public String getInitialWindowPerspectiveId() {
-               return PERSPECTIVE_ID;
-       }
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchWindowAdvisor.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchWindowAdvisor.java
deleted file mode 100644 (file)
index 0fd160d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.ui.application.ActionBarAdvisor;
-import org.eclipse.ui.application.IActionBarConfigurer;
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-/**
- * Configures the initial size and appearance of a workbench window.
- */
-public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
-
-    public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
-        super(configurer);
-    }
-
-    public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
-        return new ApplicationActionBarAdvisor(configurer);
-    }
-    
-    public void preWindowOpen() {
-        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
-        configurer.setInitialSize(new Point(400, 300));
-        configurer.setShowCoolBar(false);
-        configurer.setShowStatusLine(false);
-        configurer.setTitle("Hello RAP");
-    }
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Perspective.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Perspective.java
deleted file mode 100644 (file)
index dbc9560..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.argeo.sandbox.ui.rap;
-
-import org.argeo.sandbox.ui.rap.views.TestDownloadView;
-import org.eclipse.ui.IFolderLayout;
-import org.eclipse.ui.IPageLayout;
-import org.eclipse.ui.IPerspectiveFactory;
-
-/**
- * Configures the perspective layout. This class is contributed through the
- * plugin.xml.
- */
-public class Perspective implements IPerspectiveFactory {
-
-       public final static String ID = "org.argeo.sandbox.ui.downloadTries";
-
-       public void createInitialLayout(IPageLayout layout) {
-               String editorArea = layout.getEditorArea();
-               layout.setEditorAreaVisible(true);
-               layout.setFixed(false);
-
-               // Create the main ui layout
-               IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
-                               0.4f, editorArea);
-
-               // add the views to the corresponding place holder
-               left.addView(TestDownloadView.ID);
-       }
-}
diff --git a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/views/TestDownloadView.java b/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/views/TestDownloadView.java
deleted file mode 100644 (file)
index 180d58d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package org.argeo.sandbox.ui.rap.views;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.ui.part.ViewPart;
-
-public class TestDownloadView extends ViewPart {
-       public final static String ID = "org.argeo.sandbox.ui.testDownloadView";
-
-       @Override
-       public void createPartControl(Composite parent) {
-               Label label = new Label(parent, SWT.None);
-               label.setText("Test dowload");
-       }
-
-       @Override
-       public void setFocus() {
-               // TODO Auto-generated method stub
-       }
-
-}
diff --git a/sandbox/pom.xml b/sandbox/pom.xml
deleted file mode 100644 (file)
index e3ada3d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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</groupId>
-               <version>0.3.4-SNAPSHOT</version>
-               <artifactId>argeo-commons</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>sandbox</artifactId>
-       <name>Commons Sandbox</name>
-       <packaging>pom</packaging>
-       <modules>
-               <module>runtime</module>
-       </modules>
-</project>
\ No newline at end of file
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.classpath b/sandbox/runtime/org.argeo.sandbox.jackrabbit/.classpath
deleted file mode 100644 (file)
index 12a0b50..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" output="target/classes" path="src/main/java"/>
-       <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
-       <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="output" path="target/classes"/>
-</classpath>
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.project b/sandbox/runtime/org.argeo.sandbox.jackrabbit/.project
deleted file mode 100644 (file)
index c4fb1ac..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.sandbox.jackrabbit</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>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.eclipse.jdt.core.prefs b/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index eb14ec4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#Wed Nov 18 14:52:46 CET 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.maven.ide.eclipse.prefs b/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.maven.ide.eclipse.prefs
deleted file mode 100644 (file)
index 7674ae3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#Wed Nov 18 14:52:42 CET 2009
-activeProfiles=
-eclipse.preferences.version=1
-fullBuildGoals=process-test-resources
-includeModules=false
-resolveWorkspaceProjects=true
-resourceFilterGoals=process-resources resources\:testResources
-skipCompilerPlugin=true
-version=1
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy00.xls b/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy00.xls
deleted file mode 100644 (file)
index e5846fe..0000000
Binary files a/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy00.xls and /dev/null differ
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy01.xls b/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy01.xls
deleted file mode 100644 (file)
index b5c6b55..0000000
Binary files a/sandbox/runtime/org.argeo.sandbox.jackrabbit/dummy01.xls and /dev/null differ
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/pom.xml b/sandbox/runtime/org.argeo.sandbox.jackrabbit/pom.xml
deleted file mode 100644 (file)
index deae4b6..0000000
+++ /dev/null
@@ -1,115 +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.sandbox</groupId>
-               <version>0.3.4-SNAPSHOT</version>
-               <artifactId>runtime</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <artifactId>org.argeo.sandbox.jackrabbit</artifactId>
-       <name>Commons Sandbox Jackrabbit</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                               <version>${version.maven-argeo-osgi}</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <bundlesPomArtifactId>org.argeo.server.demo</bundlesPomArtifactId>
-                                       <execDir>target/exec</execDir>
-                                       <osgiBootArtifactId>org.argeo.osgi.boot</osgiBootArtifactId>
-                                       <failOnUnresolved>false</failOnUnresolved>
-                                       <argsToAppend>
-                                               <arg>-clean</arg>
-                                       </argsToAppend>
-                                       <systemProperties>
-                                               <argeo.osgi.start>
-                                                       org.argeo.dep.osgi.jackrabbit,
-                                                       org.springframework.osgi.extender,
-                                                       org.springframework.osgi.web.extender,
-                                                       org.argeo.dep.osgi.catalina.start,
-                                                       org.argeo.server.jackrabbit.webdav,
-                                                       org.argeo.server.jackrabbit.repo
-                                               </argeo.osgi.start>
-                                               <argeo.osgi.bundles>
-                                                       ${basedir}/../../../server/modules;in=*;ex=pom.xml;ex=target;ex=.*,
-                                                       ${basedir}/../../../server/demo;in=*;ex=pom.xml;ex=target;ex=.*,
-                                                       ${basedir}/../../../server/runtime;in=*/target/classes,
-                                               </argeo.osgi.bundles>
-                                               
-                                               
-                                               
-                                       </systemProperties>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-
-                               <extensions>true</extensions>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jackrabbit</artifactId>
-                       <version>${project.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
-                       <version>${project.version}</version>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.basic</groupId>
-                       <artifactId>org.argeo.basic.dep.log4j</artifactId>
-                       <version>${project.version}</version>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.derby</groupId>
-                       <artifactId>com.springsource.org.apache.derby</artifactId>
-               </dependency>
-
-               <!-- TEST -->
-               <dependency>
-                       <groupId>org.argeo.commons.osgi</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>${project.version}</version>
-                       <scope>test</scope>
-               </dependency>
-               <!--  Commons Dep -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
-                       <version>${project.version}</version>
-                       <scope>test</scope>
-                       <type>pom</type>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.json</artifactId>
-                       <version>${project.version}</version>
-                       <scope>test</scope>
-               </dependency>
-               <!-- Spring -->
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.extender</artifactId>
-               </dependency>
-
-               <!--  -->
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web.extender</artifactId>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.apache.xerces</groupId>
-                       <artifactId>com.springsource.org.apache.xerces</artifactId>
-               </dependency>
-       </dependencies>
-</project>
\ No newline at end of file
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/repository.xml b/sandbox/runtime/org.argeo.sandbox.jackrabbit/repository.xml
deleted file mode 100644 (file)
index 666919d..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0"?>
-<!--
-   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 Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
-                            "http://jackrabbit.apache.org/dtd/repository-1.6.dtd">
-<!-- Example Repository Configuration File
-     Used by
-     - org.apache.jackrabbit.core.config.RepositoryConfigTest.java
-     -
--->
-<Repository>
-    <!--
-        virtual file system where the repository stores global state
-        (e.g. registered namespaces, custom node types, etc.)
-    -->
-    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
-        <param name="path" value="${rep.home}/repository"/>
-    </FileSystem>
-
-    <!--
-        security configuration
-    -->
-    <Security appName="Jackrabbit">
-        <!--
-            security manager:
-            class: FQN of class implementing the JackrabbitSecurityManager interface
-        -->
-        <SecurityManager class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager" workspaceName="security">
-            <!--
-            workspace access:
-            class: FQN of class implementing the WorkspaceAccessManager interface
-            -->
-            <!-- <WorkspaceAccessManager class="..."/> -->
-            <!-- <param name="config" value="${rep.home}/security.xml"/> -->
-        </SecurityManager>
-
-        <!--
-            access manager:
-            class: FQN of class implementing the AccessManager interface
-        -->
-        <AccessManager class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
-            <!-- <param name="config" value="${rep.home}/access.xml"/> -->
-        </AccessManager>
-
-        <LoginModule class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
-           <!-- 
-              anonymous user name ('anonymous' is the default value)
-            -->
-           <param name="anonymousId" value="anonymous"/>
-           <!--
-              administrator user id (default value if param is missing is 'admin')
-            -->
-           <param name="adminId" value="admin"/>
-        </LoginModule>
-    </Security>
-
-    <!--
-        location of workspaces root directory and name of default workspace
-    -->
-    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
-    <!--
-        workspace configuration template:
-        used to create the initial workspace if there's no workspace yet
-    -->
-    <Workspace name="${wsp.name}">
-        <!--
-            virtual file system of the workspace:
-            class: FQN of class implementing the FileSystem interface
-        -->
-        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
-            <param name="path" value="${wsp.home}"/>
-        </FileSystem>
-        <!--
-            persistence manager of the workspace:
-            class: FQN of class implementing the PersistenceManager interface
-        -->
-        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
-          <param name="url" value="jdbc:derby:${wsp.home}/db;create=true"/>
-          <param name="schemaObjectPrefix" value="${wsp.name}_"/>
-        </PersistenceManager>
-        <!--
-            Search index and the file system it uses.
-            class: FQN of class implementing the QueryHandler interface
-        -->
-        <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
-            <param name="path" value="${wsp.home}/index"/>
-            <param name="extractorPoolSize" value="2"/>
-            <param name="supportHighlighting" value="true"/>
-        </SearchIndex>
-    </Workspace>
-
-    <!--
-        Configures the versioning
-    -->
-    <Versioning rootPath="${rep.home}/version">
-        <!--
-            Configures the filesystem to use for versioning for the respective
-            persistence manager
-        -->
-        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
-            <param name="path" value="${rep.home}/version" />
-        </FileSystem>
-
-        <!--
-            Configures the persistence manager to be used for persisting version state.
-            Please note that the current versioning implementation is based on
-            a 'normal' persistence manager, but this could change in future
-            implementations.
-        -->
-        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
-          <param name="url" value="jdbc:derby:${rep.home}/version/db;create=true"/>
-          <param name="schemaObjectPrefix" value="version_"/>
-        </PersistenceManager>
-    </Versioning>
-
-    <!--
-        Search index for content that is shared repository wide
-        (/jcr:system tree, contains mainly versions)
-    -->
-    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
-        <param name="path" value="${rep.home}/repository/index"/>
-        <param name="extractorPoolSize" value="2"/>
-        <param name="supportHighlighting" value="true"/>
-    </SearchIndex>
-</Repository>
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/FirstHop.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/FirstHop.java
deleted file mode 100644 (file)
index 33750f2..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jcr.Repository;
-import javax.jcr.Session;
-import org.apache.jackrabbit.core.TransientRepository;
-
-/**
- * First hop example. Logs in to a content repository and prints a
- * status message.
- */
-public class FirstHop {
-
-    /**
-     * The main entry point of the example application.
-     *
-     * @param args command line arguments (ignored)
-     * @throws Exception if an error occurs
-     */
-    public static void main(String[] args) throws Exception {
-        Repository repository = new TransientRepository();
-        Session session = repository.login();
-        try {
-            String user = session.getUserID();
-            String name = repository.getDescriptor(Repository.REP_NAME_DESC);
-            System.out.println(
-                    "Logged in as " + user + " to a " + name + " repository.");
-        } finally {
-            session.logout();
-        }
-    }
-
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/SecondHop.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/SecondHop.java
deleted file mode 100644 (file)
index 6ad0423..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jcr.Repository;
-import javax.jcr.Session;
-import javax.jcr.SimpleCredentials;
-import javax.jcr.Node;
-import org.apache.jackrabbit.core.TransientRepository;
-
-/**
- * Second hop example. Stores, retrieves, and removes example content.
- */
-public class SecondHop {
-
-    /**
-     * The main entry point of the example application.
-     *
-     * @param args command line arguments (ignored)
-     * @throws Exception if an error occurs
-     */
-    public static void main(String[] args) throws Exception {
-        Repository repository = new TransientRepository();
-        Session session = repository.login(
-                new SimpleCredentials("username", "password".toCharArray()));
-        try {
-            Node root = session.getRootNode();
-
-            // Store content
-            Node hello = root.addNode("hello");
-            Node world = hello.addNode("world");
-            world.setProperty("message", "Hello, World!");
-            session.save();
-
-            // Retrieve content
-            Node node = root.getNode("hello/world");
-            System.out.println(node.getPath());
-            System.out.println(node.getProperty("message").getString());
-
-            // Remove content
-            root.getNode("hello").remove();
-            session.save();
-        } finally {
-            session.logout();
-        }
-    }
-
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/ThirdHop.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/ThirdHop.java
deleted file mode 100644 (file)
index bfdfa36..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import javax.jcr.*;
-import org.apache.jackrabbit.core.TransientRepository;
-import java.io.FileInputStream;
-
-/**
- * Third Jackrabbit example application. Imports an example XML file
- * and outputs the contents of the entire workspace.
- */
-public class ThirdHop {
-
-    /** Runs the ThirdHop example. */
-    public static void main(String[] args) throws Exception {
-        // Set up a Jackrabbit repository with the specified
-        // configuration file and repository directory
-        Repository repository = new TransientRepository();
-
-        // Login to the default workspace as a dummy user
-        Session session = repository.login(
-            new SimpleCredentials("username", "password".toCharArray()));
-        try {
-            // Use the root node as a starting point
-            Node root = session.getRootNode();
-
-            // Import the XML file unless already imported
-            if (!root.hasNode("importxml")) {
-                System.out.print("Importing xml... ");
-                // Create an unstructured node under which to import the XML
-                Node node = root.addNode("importxml", "nt:unstructured");
-                // Import the file "test.xml" under the created node
-                FileInputStream xml = new FileInputStream("test.xml");
-                session.importXML(
-                    "/importxml", xml, ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
-                xml.close();
-                // Save the changes to the repository
-                session.save();
-                System.out.println("done.");
-            }
-
-            dump(root);
-        } finally {
-            session.logout();
-        }
-    }
-
-    /** Recursively outputs the contents of the given node. */
-    private static void dump(Node node) throws RepositoryException {
-        // First output the node path
-        System.out.println(node.getPath());
-        // Skip the virtual (and large!) jcr:system subtree
-        if (node.getName().equals("jcr:system")) {
-            return;
-        }
-
-        // Then output the properties
-        PropertyIterator properties = node.getProperties();
-        while (properties.hasNext()) {
-            Property property = properties.nextProperty();
-            if (property.getDefinition().isMultiple()) {
-                // A multi-valued property, print all values
-                Value[] values = property.getValues();
-                for (int i = 0; i < values.length; i++) {
-                    System.out.println(
-                        property.getPath() + " = " + values[i].getString());
-                }
-            } else {
-                // A single-valued property
-                System.out.println(
-                    property.getPath() + " = " + property.getString());
-            }
-        }
-
-        // Finally output all the child nodes recursively
-        NodeIterator nodes = node.getNodes();
-        while (nodes.hasNext()) {
-            dump(nodes.nextNode());
-        }
-    }
-
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/Base.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/Base.java
deleted file mode 100644 (file)
index cb86274..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package jcr;
-
-import java.io.IOException;
-
-import javax.jcr.Repository;
-import javax.jcr.RepositoryException;
-import javax.jcr.Session;
-import javax.jcr.SimpleCredentials;
-
-import org.apache.jackrabbit.core.TransientRepository;
-
-public abstract class Base {
-    public Repository getRepository() throws IOException {
-        return new TransientRepository();
-    }
-
-    public Session getReadonlySession(Repository repository) throws RepositoryException {
-        return repository.login();
-    }
-
-    public Session getSession(Repository repository) throws RepositoryException {
-        return repository.login(new SimpleCredentials("username", "password".toCharArray()));
-    }
-
-    public void logout(Session session) {
-        session.logout();
-    }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/CommandLineQuery.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/CommandLineQuery.java
deleted file mode 100644 (file)
index b4403b7..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package jcr;
-
-import javax.jcr.*;
-import javax.jcr.nodetype.PropertyDefinition;
-import javax.jcr.query.QueryManager;
-import javax.jcr.query.Query;
-import javax.jcr.query.QueryResult;
-import java.io.IOException;
-import java.io.BufferedReader;
-import java.io.InputStreamReader;
-
-public class CommandLineQuery extends Base {
-    public CommandLineQuery() {
-    }
-
-    public static void main(String[] args) throws IOException, RepositoryException {
-        CommandLineQuery clq=new CommandLineQuery();
-        clq.run();
-    }
-
-    private void run() throws IOException, RepositoryException {
-        Repository repository=getRepository();
-        Session session=getReadonlySession(repository);
-        Workspace workspace=session.getWorkspace();
-        QueryManager qm=workspace.getQueryManager();
-        BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
-        for(;;) {
-            System.out.print("JCRQL> ");
-            String queryString=reader.readLine();
-            if(queryString.equals("quit")) {
-                break;
-            }
-            if(queryString.length()==0 || queryString.startsWith("#")) {
-                continue;
-            }
-
-            int resultCounter=0;
-            try {
-                Query query=qm.createQuery(queryString, Query.XPATH);
-                QueryResult queryResult=query.execute();
-                NodeIterator nodeIterator=queryResult.getNodes();
-                while(nodeIterator.hasNext()) {
-                    Node node=nodeIterator.nextNode();
-                    dump(node);
-                    resultCounter++;
-                }
-            } catch(Exception e) {
-                e.printStackTrace();
-            }
-
-            System.out.println("result count: "+resultCounter);
-        }
-        logout(session);
-    }
-
-    private void dump(Node node) throws RepositoryException {
-        StringBuilder sb=new StringBuilder();
-        String sep=",";
-        sb.append(node.getName());
-        sb.append("["+node.getPath());
-        PropertyIterator propIterator=node.getProperties();
-        while(propIterator.hasNext()) {
-            Property prop=propIterator.nextProperty();
-            sb.append(sep);
-            sb.append("@"+prop.getName()+"=\""+prop.getString()+"\"");
-        }
-        sb.append("]");
-        System.out.println(sb.toString());
-    }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/ReadData.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/ReadData.java
deleted file mode 100644 (file)
index 06e0e1c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package jcr;
-
-import javax.jcr.*;
-import java.io.IOException;
-
-public class ReadData extends Base {
-    public ReadData() {
-    }
-
-    public static void main(String[] args) throws IOException, RepositoryException {
-        ReadData readdata = new ReadData();
-        readdata.run();
-    }
-
-    private void run() throws IOException, RepositoryException {
-        Repository repository = getRepository();
-
-        Session session = getSession(repository);
-
-        Node rootnode = session.getRootNode();
-
-        Node childnode = null;
-        try {
-            childnode = rootnode.getNode("foo");
-            try {
-                Property prop = childnode.getProperty("bar");
-                System.out.println("value of /foo@bar: " + prop.getString());
-            } catch (PathNotFoundException pnfe) {
-                System.out.println("/foo@bar not found.");
-            }
-        } catch (PathNotFoundException pnfe) {
-            System.out.println("/foo not found.");
-        }
-
-        logout(session);
-    }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/RemoveData.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/RemoveData.java
deleted file mode 100644 (file)
index acae847..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package jcr;
-
-import javax.jcr.*;
-import java.io.IOException;
-
-public class RemoveData extends Base {
-    public RemoveData() {
-    }
-
-    public static void main(String[] args) throws IOException, RepositoryException {
-        RemoveData sd = new RemoveData();
-        sd.run();
-    }
-
-    private void run() throws IOException, RepositoryException {
-        Repository repository = getRepository();
-
-        Session session = getSession(repository);
-
-        Node rootnode = session.getRootNode();
-
-        Node childnode = null;
-        try {
-            childnode = rootnode.getNode("foo");
-            childnode.remove();
-            session.save();
-        } catch (PathNotFoundException pnfe) {
-            System.out.println("/foo not found; not removed.");
-        }
-
-        logout(session);
-    }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/StoreData.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/StoreData.java
deleted file mode 100644 (file)
index 21ffe1a..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package jcr;
-
-import javax.jcr.*;
-import java.io.IOException;
-
-public class StoreData extends Base {
-    public StoreData() {
-    }
-
-    public static void main(String[] args) throws IOException, RepositoryException {
-        StoreData sd=new StoreData();
-        sd.run();
-    }
-
-    private void run() throws IOException, RepositoryException {
-        Repository repository=getRepository();
-
-        Session session=getSession(repository);
-
-        Node rootnode=session.getRootNode();
-
-        Node childnode=null;
-        try {
-            childnode=rootnode.getNode("foo");
-        } catch(PathNotFoundException pnfe) {
-            childnode=rootnode.addNode("foo");
-            childnode.setProperty("bar", "this is some data");
-            session.save();
-        }
-
-        logout(session);
-    }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/org/argeo/sandbox/jackrabbit/WebDavTest.java b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/org/argeo/sandbox/jackrabbit/WebDavTest.java
deleted file mode 100644 (file)
index 58ba1ac..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *         http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.argeo.sandbox.jackrabbit;
-
-import java.io.FileInputStream;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.commons.httpclient.Credentials;
-import org.apache.commons.httpclient.HostConfiguration;
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpConnectionManager;
-import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
-import org.apache.commons.httpclient.UsernamePasswordCredentials;
-import org.apache.commons.httpclient.auth.AuthScope;
-import org.apache.commons.httpclient.methods.GetMethod;
-import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
-import org.apache.commons.httpclient.methods.RequestEntity;
-import org.apache.commons.httpclient.params.HttpConnectionManagerParams;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.jackrabbit.webdav.client.methods.CheckoutMethod;
-import org.apache.jackrabbit.webdav.client.methods.CopyMethod;
-import org.apache.jackrabbit.webdav.client.methods.DavMethod;
-import org.apache.jackrabbit.webdav.client.methods.PropPatchMethod;
-import org.apache.jackrabbit.webdav.client.methods.PutMethod;
-import org.apache.jackrabbit.webdav.property.DavProperty;
-import org.apache.jackrabbit.webdav.property.DefaultDavProperty;
-import org.apache.jackrabbit.webdav.version.DeltaVConstants;
-
-public class WebDavTest {
-       private final static Log log = LogFactory.getLog(WebDavTest.class);
-
-       /**
-        * @param args
-        */
-       public static void main(String[] args) {
-               try {
-                       HostConfiguration hostConfig = new HostConfiguration();
-                       hostConfig.setHost("localhost", 7070);
-                       // hostConfig.
-                       HttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager();
-                       HttpConnectionManagerParams params = new HttpConnectionManagerParams();
-                       int maxHostConnections = 20;
-                       params.setMaxConnectionsPerHost(hostConfig, maxHostConnections);
-                       connectionManager.setParams(params);
-                       HttpClient client = new HttpClient(connectionManager);
-                       Credentials creds = new UsernamePasswordCredentials("demo", "demo");
-                       client.getState().setCredentials(AuthScope.ANY, creds);
-                       client.setHostConfiguration(hostConfig);
-                       // return client;
-
-                       String baseUrl = "http://localhost:7070/webdav/default/";
-                       // String fileName = "test.xml";
-                       String file00 = "dummy00.xls";
-                       String file01 = "dummy01.xls";
-                       String url00 = baseUrl + file00;
-                       String url01 = baseUrl + file01;
-                       String urlCopied = baseUrl + "test-copied.xls";
-
-                       // PUT
-                       log.debug("Create " + url00);
-                       PutMethod pm = new PutMethod(url00);
-                       RequestEntity requestEntity = new InputStreamRequestEntity(
-                                       new FileInputStream(file00));
-                       pm.setRequestEntity(requestEntity);
-                       client.executeMethod(pm);
-                       log.debug("POST status: " + pm.getStatusCode() + " "
-                                       + pm.getStatusText());
-
-                       // PROP PATCH
-                       List<DavProperty> props = new ArrayList<DavProperty>();
-                       props.add(new DefaultDavProperty("auto-version",
-                                       DeltaVConstants.XML_CHECKOUT_CHECKIN,
-                                       DeltaVConstants.NAMESPACE));
-                       PropPatchMethod pp = new PropPatchMethod(url00, props);
-                       client.executeMethod(pp);
-                       log.debug("PROP PATCH status: " + pp.getStatusCode() + " "
-                                       + pp.getStatusText());
-
-                       // PUT (update)
-                       log.debug("Update " + url00);
-                       pm = new PutMethod(url00);
-                       requestEntity = new InputStreamRequestEntity(new FileInputStream(
-                                       file01));
-                       pm.setRequestEntity(requestEntity);
-                       client.executeMethod(pm);
-                       log.debug("POST status: " + pm.getStatusCode() + " "
-                                       + pm.getStatusText());
-
-                       // COPY
-                       log.debug("Copy to " + urlCopied);
-                       DavMethod copy = new CopyMethod(url00, urlCopied, true);
-                       client.executeMethod(copy);
-
-                       log.debug("COPY status: " + copy.getStatusCode() + " "
-                                       + copy.getStatusText());
-
-                       // GET
-                       // CheckoutMethod gm = new CheckoutMethod(baseUrl + fileName);
-                       log.debug("Retrieve " + urlCopied);
-                       GetMethod gm = new GetMethod(urlCopied);
-                       client.executeMethod(gm);
-                       String responseGet = gm.getResponseBodyAsString();
-                       log.debug("GET status: " + gm.getStatusCode() + " "
-                                       + gm.getStatusText());
-                       // log.debug("GET: " + responseGet);
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
-       }
-}
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/resources/log4j.properties b/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/resources/log4j.properties
deleted file mode 100644 (file)
index 94ceb6e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo=DEBUG
-log4j.logger.org.apache.jackrabbit=INFO
-
-## 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%n
diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/test.xml b/sandbox/runtime/org.argeo.sandbox.jackrabbit/test.xml
deleted file mode 100644 (file)
index 9cbb155..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<xhtml:html xmlns="svg" xmlns:xhtml="http://www.w3.org/1999/xhtml"
-       xmlns:mathml="http://www.w3.org/1998/Math/MathML">
-       <xhtml:head>
-               <xhtml:title>Three Namespaces</xhtml:title>
-       </xhtml:head>
-       <xhtml:body>
-               <xhtml:h1 align="center">An Ellipse and a Rectangle</xhtml:h1>
-               <svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="12cm"
-                       height="10cm">
-                       <svg:ellipse rx="110" ry="130" />
-                       <svg:rect x="4cm" y="1cm" width="3cm" height="6cm" />
-               </svg:svg>
-               <xhtml:p>The equation for ellipses</xhtml:p>
-               <mathml:math>
-                       <mathml:apply>
-                               <mathml:eq />
-                               <mathml:cn> 1 </mathml:cn>
-                               <mathml:apply>
-                                       <mathml:plus />
-                                       <mathml:apply>
-                                               <mathml:divide />
-                                               <mathml:apply>
-                                                       <mathml:power />
-                                                       <mathml:ci> x </mathml:ci>
-                                                       <mathml:cn> 2 </mathml:cn>
-                                               </mathml:apply>
-                                               <mathml:apply>
-                                                       <mathml:power />
-                                                       <mathml:ci> a </mathml:ci>
-                                                       <mathml:cn> 2 </mathml:cn>
-                                               </mathml:apply>
-                                       </mathml:apply>
-                                       <mathml:apply>
-                                               <mathml:divide />
-                                               <mathml:apply>
-                                                       <mathml:power />
-                                                       <mathml:ci> y </mathml:ci>
-                                                       <mathml:cn> 2 </mathml:cn>
-                                               </mathml:apply>
-                                               <mathml:apply>
-                                                       <mathml:power />
-                                                       <mathml:ci> b </mathml:ci>
-                                                       <mathml:cn> 2 </mathml:cn>
-                                               </mathml:apply>
-                                       </mathml:apply>
-                               </mathml:apply>
-                       </mathml:apply>
-               </mathml:math>
-               <xhtml:hr />
-               <xhtml:p>Last Modified January 10, 2002</xhtml:p>
-       </xhtml:body>
-</xhtml:html>
diff --git a/sandbox/runtime/pom.xml b/sandbox/runtime/pom.xml
deleted file mode 100644 (file)
index aaa9217..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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</groupId>
-               <version>0.3.4-SNAPSHOT</version>
-               <artifactId>sandbox</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <groupId>org.argeo.commons.sandbox</groupId>
-       <artifactId>runtime</artifactId>
-       <name>Commons Sandbox Runtime</name>
-       <packaging>pom</packaging>
-       <modules>
-               <module>org.argeo.sandbox.jackrabbit</module>
-       </modules>
-</project>
\ No newline at end of file
diff --git a/server/demo/org.argeo.server.demo.log4j/META-INF/MANIFEST.MF b/server/demo/org.argeo.server.demo.log4j/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 21d6253..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Bundle-SymbolicName: org.argeo.server.demo.log4j
-Bundle-Version: 0.3.4.SNAPSHOT
-Fragment-Host: com.springsource.org.apache.log4j
diff --git a/server/demo/org.argeo.server.demo.log4j/log4j.properties b/server/demo/org.argeo.server.demo.log4j/log4j.properties
deleted file mode 100644 (file)
index d87a780..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-log4j.rootLogger=WARN, console
-
-## Levels
-log4j.logger.org.argeo=DEBUG
-org.argeo.server.jackrabbit.webdav.ExtendedDispatcherServlet=INFO
-
-log4j.logger.org.hibernate=WARN
-
-log4j.logger.org.springframework=WARN
-log4j.logger.org.springframework.web=WARN
-#log4j.logger.org.springframework.jms=WARN
-#log4j.logger.org.springframework.security=WARN
-
-
-log4j.logger.org.apache.activemq=WARN
-log4j.logger.org.apache.activemq.transport=WARN
-log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=INFO
-log4j.logger.org.apache.activemq.ActiveMQMessageProducer=INFO
-
-log4j.logger.org.apache.catalina=INFO
-log4j.logger.org.apache.coyote=INFO
-log4j.logger.org.apache.tomcat=INFO
-
-log4j.logger.org.apache.jackrabbit=INFO
-
-## 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%n
diff --git a/server/demo/org.argeo.server.demo.miniwebapp/META-INF/MANIFEST.MF b/server/demo/org.argeo.server.demo.miniwebapp/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 4635596..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Web-ContextPath: org.argeo.server.demo.miniwebapp
-Bundle-SymbolicName: org.argeo.server.demo.miniwebapp
-Bundle-Version: 0.3.4.SNAPSHOT
-Import-Package: javax.servlet,
- javax.servlet.http,
- javax.servlet.jsp,
- javax.servlet.jsp.jstl.core,
- javax.servlet.jsp.jstl.fmt,
- javax.servlet.jsp.jstl.tlv,
- javax.servlet.resources
diff --git a/server/demo/org.argeo.server.demo.miniwebapp/WEB-INF/web.xml b/server/demo/org.argeo.server.demo.miniwebapp/WEB-INF/web.xml
deleted file mode 100644 (file)
index 18f37d5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
-       version="2.5">
-
-       <display-name>Minimal Web App</display-name>
-
-</web-app>
diff --git a/server/demo/org.argeo.server.demo.miniwebapp/index.jsp b/server/demo/org.argeo.server.demo.miniwebapp/index.jsp
deleted file mode 100644 (file)
index 4bc7124..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<html>
-<header><title>Hello World Title</title></header>
-<body>
-<h1>Hello World! section</h1>
-Hello World! from HTML<br/>
-<% out.println("Hello World! from Java"); %><br/>
-</body>
-</html>
diff --git a/server/demo/org.argeo.server.osgi.monitor/META-INF/MANIFEST.MF b/server/demo/org.argeo.server.osgi.monitor/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 2472e3c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Web-ContextPath: org.argeo.server.osgi.monitor
-Bundle-SymbolicName: org.argeo.server.osgi.monitor
-Bundle-Version: 0.3.4.SNAPSHOT
-Import-Package: javax.servlet,
- javax.servlet.http,
- javax.servlet.jsp,
- javax.servlet.jsp.jstl.core,
- javax.servlet.jsp.jstl.fmt,
- javax.servlet.jsp.jstl.tlv,
- javax.servlet.resources
diff --git a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/applicationContext.xml b/server/demo/org.argeo.server.osgi.monitor/WEB-INF/applicationContext.xml
deleted file mode 100644 (file)
index 3d66217..0000000
+++ /dev/null
@@ -1,19 +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:aop="http://www.springframework.org/schema/aop"
-       xmlns:tx="http://www.springframework.org/schema/tx"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-
-       <import resource="osgi.xml" />
-
-       <!--  Properties -->
-       <bean
-               class="org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer"
-               lazy-init="false">
-               <property name="contextOverride" value="true" />
-               <property name="ignoreUnresolvablePlaceholders" value="true" />
-       </bean>
-</beans>
\ No newline at end of file
diff --git a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi-servlet.xml b/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi-servlet.xml
deleted file mode 100644 (file)
index 0fcb08b..0000000
+++ /dev/null
@@ -1,11 +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:aop="http://www.springframework.org/schema/aop"
-       xmlns:context="http://www.springframework.org/schema/context"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
-       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
-
-
-</beans>
\ No newline at end of file
diff --git a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi.xml b/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi.xml
deleted file mode 100644 (file)
index 1b46c0e..0000000
+++ /dev/null
@@ -1,9 +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
-       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
-\r
-</beans:beans>
\ No newline at end of file
diff --git a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/web.xml b/server/demo/org.argeo.server.osgi.monitor/WEB-INF/web.xml
deleted file mode 100644 (file)
index 8308a4e..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
-       version="2.5">
-
-       <display-name>Argeo Server OSGi Monitor</display-name>
-
-       <!-- OSGI servlet -->
-       <servlet>
-               <servlet-name>osgi</servlet-name>
-               <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
-               <init-param>
-                       <param-name>contextClass</param-name>
-                       <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-               </init-param>
-               <load-on-startup>1</load-on-startup>
-       </servlet>
-       <servlet-mapping>
-               <servlet-name>osgi</servlet-name>
-               <url-pattern>*.osgi</url-pattern>
-       </servlet-mapping>
-
-       <!-- General -->
-       <context-param>
-               <param-name>contextConfigLocation</param-name>
-               <param-value>/WEB-INF/applicationContext.xml</param-value>
-       </context-param>
-
-       <listener>
-               <display-name>Spring Context</display-name>
-               <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-       </listener>
-       <context-param>
-               <param-name>contextClass</param-name>
-               <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-       </context-param>
-</web-app>
diff --git a/server/demo/pom.xml b/server/demo/pom.xml
deleted file mode 100644 (file)
index 57822b0..0000000
+++ /dev/null
@@ -1,70 +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</groupId>
-               <version>0.3.4-SNAPSHOT</version>
-               <artifactId>server</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <groupId>org.argeo.server</groupId>
-       <artifactId>demo</artifactId>
-       <packaging>bundles</packaging>
-       <name>Commons Server Demo</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>maven-argeo-osgi-plugin</artifactId>
-                               <version>${version.maven-argeo-osgi}</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <bundlesPomArtifactId>org.argeo.server.demo</bundlesPomArtifactId>
-                                       <execDir>target/exec/server</execDir>
-                                       <argsToAppend>
-                                               <arg>-clean</arg>
-                                       </argsToAppend>
-                                       <osgiBootArtifactId>org.argeo.osgi.boot</osgiBootArtifactId>
-                                       <systemProperties>
-                                               <slc.osgi.start>
-                                                       org.springframework.osgi.extender,
-                                                       org.springframework.osgi.web.extender,
-                                                       org.argeo.dep.osgi.catalina.start,
-                                                       org.argeo.server.demo.miniwebapp
-                                               </slc.osgi.start>
-                                               <slc.osgi.bundles>
-                                                       ${basedir};in=*;ex=pom.xml;ex=target;ex=.*,
-                                                       ${basedir}/../modules;in=*;ex=pom.xml;ex=target;ex=.*,
-                                               </slc.osgi.bundles>
-                                       </systemProperties>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-       <dependencies>
-               <!-- OSGi -->
-               <dependency>
-                       <groupId>org.argeo.commons.osgi</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>0.3.4-SNAPSHOT</version>
-               </dependency>
-
-               <!--  Commons Dep -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
-                       <version>0.3.4-SNAPSHOT</version>
-                       <type>pom</type>
-               </dependency>
-
-               <!-- Spring -->
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.extender</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web.extender</artifactId>
-               </dependency>
-
-       </dependencies>
-</project>
\ No newline at end of file
index 0461703ec642a60d5617ec93a66df0ef479859bb..66b52295830cfe4c8c6770bbbf8c6f5f266fb425 100644 (file)
@@ -15,6 +15,5 @@
                <module>runtime</module>
                <module>plugins</module>
                <module>dep</module>
-               <module>demo</module>
        </modules>
 </project>
\ No newline at end of file