From: Mathieu Baudier Date: Fri, 9 Dec 2011 14:05:31 +0000 (+0000) Subject: Remove unused directories X-Git-Tag: argeo-commons-2.1.30~1060 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=525390fbdfb8d7e5e6c4dddd2a03c1668897188d;p=lgpl%2Fargeo-commons.git Remove unused directories git-svn-id: https://svn.argeo.org/commons/trunk@4922 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- 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 index 4a46cfabf..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - 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 index 25ecae590..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.argeo.sandbox.ui.rap - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - 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 index 480cda746..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/.settings/org.eclipse.jdt.core.prefs +++ /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 index b8e12e705..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/META-INF/MANIFEST.MF +++ /dev/null @@ -1,14 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Rap sandbox -Bundle-SymbolicName: org.argeo.sandbox.ui.rap;singleton:=true -Bundle-Version: 0.3.3.SNAPSHOT -Bundle-Activator: org.argeo.sandbox.ui.rap.Activator -Bundle-Vendor: Argeo -Require-Bundle: org.eclipse.rap.ui -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ActivationPolicy: lazy -Import-Package: javax.servlet;version="2.4.0", - javax.servlet.http;version="2.4.0", - org.eclipse.equinox.http.servlet;version="1.1.0" - 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 index db1c6dd75..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/applicationContext.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - \ 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 index 7a052199e..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/service-servlet.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - osgiServiceController - - - - - - - org.eclipse.equinox.http.servlet.HttpServiceServlet - - - osgiService - - - \ 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 index daa71c957..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/WEB-INF/web.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - Argeo OSGi TEST Webapp - - - - contextConfigLocation - /WEB-INF/applicationContext.xml - - - - Spring Context - org.springframework.web.context.ContextLoaderListener - - - contextClass - org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext - - - - - service - org.springframework.web.servlet.DispatcherServlet - - contextClass - org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext - - 1 - - - - service - /* - - 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 index 885c233db..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/build.properties +++ /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 index b60e90665..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/log4j.properties +++ /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 index 8b95c1b53..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/plugin.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 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 index 962aa319c..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_jetty.properties +++ /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 index db4c91446..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/rap_sandbox_tomcat.properties +++ /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 index 4e0cae2f1..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Activator.java +++ /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 index 401f1b111..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Application.java +++ /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 index 55b74716a..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationActionBarAdvisor.java +++ /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 index 4e98d3c6e..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchAdvisor.java +++ /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 index 0fd160d77..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/ApplicationWorkbenchWindowAdvisor.java +++ /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 index dbc9560b6..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/Perspective.java +++ /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 index 180d58d39..000000000 --- a/sandbox/eclipse/plugins/org.argeo.sandbox.ui.rap/src/main/java/org/argeo/sandbox/ui/rap/views/TestDownloadView.java +++ /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 index e3ada3de0..000000000 --- a/sandbox/pom.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - 4.0.0 - - org.argeo.commons - 0.3.4-SNAPSHOT - argeo-commons - .. - - sandbox - Commons Sandbox - pom - - runtime - - \ 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 index 12a0b5024..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.project b/sandbox/runtime/org.argeo.sandbox.jackrabbit/.project deleted file mode 100644 index c4fb1ac2a..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - org.argeo.sandbox.jackrabbit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - 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 index eb14ec4c7..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.eclipse.jdt.core.prefs +++ /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 index 7674ae319..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/.settings/org.maven.ide.eclipse.prefs +++ /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 index e5846fef7..000000000 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 index b5c6b5539..000000000 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 index deae4b62f..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/pom.xml +++ /dev/null @@ -1,115 +0,0 @@ - - 4.0.0 - - org.argeo.commons.sandbox - 0.3.4-SNAPSHOT - runtime - .. - - org.argeo.sandbox.jackrabbit - Commons Sandbox Jackrabbit - - - - org.argeo.maven.plugins - maven-argeo-osgi-plugin - ${version.maven-argeo-osgi} - true - - org.argeo.server.demo - target/exec - org.argeo.osgi.boot - false - - -clean - - - - 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 - - - ${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, - - - - - - - - - org.apache.felix - maven-bundle-plugin - - true - - - - - - org.argeo.commons.server - org.argeo.server.jackrabbit - ${project.version} - - - org.argeo.commons.server - org.argeo.server.dep.jackrabbit.server - ${project.version} - pom - - - org.argeo.commons.basic - org.argeo.basic.dep.log4j - ${project.version} - pom - - - org.apache.derby - com.springsource.org.apache.derby - - - - - org.argeo.commons.osgi - org.argeo.osgi.boot - ${project.version} - test - - - - org.argeo.commons.server - org.argeo.server.dep.tomcat - ${project.version} - test - pom - - - org.argeo.commons.server - org.argeo.server.json - ${project.version} - test - - - - org.springframework.osgi - org.springframework.osgi.extender - - - - - org.springframework.osgi - org.springframework.osgi.web.extender - - - - org.apache.xerces - com.springsource.org.apache.xerces - - - \ 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 index 666919d28..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/repository.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 index 33750f21c..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/FirstHop.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index 6ad0423e9..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/SecondHop.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index bfdfa36ad..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/ThirdHop.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index cb8627417..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/Base.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index b4403b754..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/CommandLineQuery.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index 06e0e1c3b..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/ReadData.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index acae847d2..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/RemoveData.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index 21ffe1a7f..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/jcr/StoreData.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 index 58ba1ac1d..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/java/org/argeo/sandbox/jackrabbit/WebDavTest.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright (C) 2010 Mathieu Baudier - * - * 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 props = new ArrayList(); - 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 index 94ceb6ebb..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/src/main/resources/log4j.properties +++ /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 index 9cbb155e6..000000000 --- a/sandbox/runtime/org.argeo.sandbox.jackrabbit/test.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - Three Namespaces - - - An Ellipse and a Rectangle - - - - - The equation for ellipses - - - - 1 - - - - - - - x - 2 - - - - a - 2 - - - - - - - y - 2 - - - - b - 2 - - - - - - - Last Modified January 10, 2002 - - diff --git a/sandbox/runtime/pom.xml b/sandbox/runtime/pom.xml deleted file mode 100644 index aaa921713..000000000 --- a/sandbox/runtime/pom.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - 4.0.0 - - org.argeo.commons - 0.3.4-SNAPSHOT - sandbox - .. - - org.argeo.commons.sandbox - runtime - Commons Sandbox Runtime - pom - - org.argeo.sandbox.jackrabbit - - \ 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 index 21d625399..000000000 --- a/server/demo/org.argeo.server.demo.log4j/META-INF/MANIFEST.MF +++ /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 index d87a780bc..000000000 --- a/server/demo/org.argeo.server.demo.log4j/log4j.properties +++ /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 index 4635596fb..000000000 --- a/server/demo/org.argeo.server.demo.miniwebapp/META-INF/MANIFEST.MF +++ /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 index 18f37d509..000000000 --- a/server/demo/org.argeo.server.demo.miniwebapp/WEB-INF/web.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - Minimal 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 index 4bc71249f..000000000 --- a/server/demo/org.argeo.server.demo.miniwebapp/index.jsp +++ /dev/null @@ -1,8 +0,0 @@ - -
Hello World Title
- -

Hello World! section

-Hello World! from HTML
-<% out.println("Hello World! from Java"); %>
- - 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 index 2472e3cba..000000000 --- a/server/demo/org.argeo.server.osgi.monitor/META-INF/MANIFEST.MF +++ /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 index 3d6621736..000000000 --- a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/applicationContext.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - \ 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 index 0fcb08b47..000000000 --- a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi-servlet.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ 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 index 1b46c0eb4..000000000 --- a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/osgi.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - \ 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 index 8308a4e4f..000000000 --- a/server/demo/org.argeo.server.osgi.monitor/WEB-INF/web.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - Argeo Server OSGi Monitor - - - - osgi - org.springframework.web.servlet.DispatcherServlet - - contextClass - org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext - - 1 - - - osgi - *.osgi - - - - - contextConfigLocation - /WEB-INF/applicationContext.xml - - - - Spring Context - org.springframework.web.context.ContextLoaderListener - - - contextClass - org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext - - diff --git a/server/demo/pom.xml b/server/demo/pom.xml deleted file mode 100644 index 57822b086..000000000 --- a/server/demo/pom.xml +++ /dev/null @@ -1,70 +0,0 @@ - - 4.0.0 - - org.argeo.commons - 0.3.4-SNAPSHOT - server - .. - - org.argeo.server - demo - bundles - Commons Server Demo - - - - org.argeo.maven.plugins - maven-argeo-osgi-plugin - ${version.maven-argeo-osgi} - true - - org.argeo.server.demo - target/exec/server - - -clean - - org.argeo.osgi.boot - - - org.springframework.osgi.extender, - org.springframework.osgi.web.extender, - org.argeo.dep.osgi.catalina.start, - org.argeo.server.demo.miniwebapp - - - ${basedir};in=*;ex=pom.xml;ex=target;ex=.*, - ${basedir}/../modules;in=*;ex=pom.xml;ex=target;ex=.*, - - - - - - - - - - org.argeo.commons.osgi - org.argeo.osgi.boot - 0.3.4-SNAPSHOT - - - - - org.argeo.commons.server - org.argeo.server.dep.tomcat - 0.3.4-SNAPSHOT - pom - - - - - org.springframework.osgi - org.springframework.osgi.extender - - - org.springframework.osgi - org.springframework.osgi.web.extender - - - - \ No newline at end of file diff --git a/server/pom.xml b/server/pom.xml index 0461703ec..66b522958 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -15,6 +15,5 @@ runtime plugins dep - demo \ No newline at end of file