From: Mathieu Baudier Date: Sun, 27 Feb 2011 11:50:34 +0000 (+0000) Subject: git-svn-id: https://svn.argeo.org/commons/trunk@4227 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc X-Git-Tag: argeo-commons-2.1.30~1407 X-Git-Url: https://git.argeo.org/?a=commitdiff_plain;h=d5ccada6e3947fa0e0d88d77c0cfb9abefcab185;p=lgpl%2Fargeo-commons.git git-svn-id: https://svn.argeo.org/commons/trunk@4227 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath b/eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath deleted file mode 100644 index 92f19d2ff..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/.project b/eclipse/plugins/org.argeo.jcr.ui.explorer/.project deleted file mode 100644 index 162cd6b8b..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.argeo.jcr.ui.explorer - - - - - - 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/eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs b/eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 992c5d722..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,8 +0,0 @@ -#Thu Feb 24 08:49:06 CET 2011 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.5 diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF deleted file mode 100644 index bd310b8c0..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF +++ /dev/null @@ -1,18 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: JCR Explorer -Bundle-SymbolicName: org.argeo.jcr.ui.explorer;singleton:=true -Bundle-Version: 0.2.3.SNAPSHOT -Bundle-Activator: org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPlugin -Bundle-Vendor: Argeo -Require-Bundle: org.eclipse.ui;resolution:=optional, - org.eclipse.core.runtime, - org.eclipse.rap.ui;resolution:=optional -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-ActivationPolicy: lazy -Import-Package: javax.jcr;version="2.0.0", - org.argeo.eclipse.spring, - org.argeo.eclipse.ui.jcr.commands, - org.argeo.eclipse.ui.jcr.editors, - org.argeo.eclipse.ui.jcr.views, - org.argeo.jcr diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml deleted file mode 100644 index c1c1f19b9..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml deleted file mode 100644 index 8ddc5bf62..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml deleted file mode 100644 index 2701948bd..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml deleted file mode 100644 index 487cebfdf..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml deleted file mode 100644 index eed1f4844..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties deleted file mode 100644 index 7b6db787b..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/main/java/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - plugin.xml diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser b/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser deleted file mode 100644 index d804c1d03..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif deleted file mode 100644 index 252d7ebcb..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/add.gif and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif deleted file mode 100644 index 6c7320c69..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png deleted file mode 100644 index d7c890c81..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif deleted file mode 100644 index bba3dbc69..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png deleted file mode 100644 index 54c089de1..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/query.png and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png deleted file mode 100644 index a3884fb48..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif b/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif deleted file mode 100644 index 0ae6decd0..000000000 Binary files a/eclipse/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif and /dev/null differ diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties deleted file mode 100644 index 46b724cea..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties +++ /dev/null @@ -1,25 +0,0 @@ -log4j.rootLogger=WARN, console - -## Levels -log4j.logger.org.argeo=DEBUG -log4j.logger.org.springframework.security=WARN - -log4j.logger.org.apache.catalina=INFO -log4j.logger.org.apache.coyote=INFO -log4j.logger.org.apache.tomcat=INFO -log4j.logger.org.springframework.osgi.web.deployer.tomcat=WARN - -log4j.logger.org.apache.directory.server=INFO -log4j.logger.org.apache.directory.server.core.partition=ERROR -log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR - -log4j.logger.org.apache.jackrabbit=WARN -log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR - -## Appenders -# console is set to be a ConsoleAppender. -log4j.appender.console=org.apache.log4j.ConsoleAppender - -# console uses PatternLayout. -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product b/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product deleted file mode 100644 index 0980e1d7e..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - - - - -console - -Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective - -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties b/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties deleted file mode 100644 index 4981c934b..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties +++ /dev/null @@ -1,11 +0,0 @@ -argeo.osgi.start=org.argeo.dep.osgi.catalina.start,\ -org.argeo.jackrabbit.webapp,\ -org.argeo.node.repo.jackrabbit,\ -org.argeo.security.equinox,\ -org.argeo.security.manager.ldap,\ -org.argeo.security.services,\ -org.argeo.server.ads.server,\ -org.springframework.osgi.extender,\ -org.springframework.osgi.web.extender - -log4j.configuration=file:../../log4j.properties diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml deleted file mode 100644 index ffe7aaffa..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml b/eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml deleted file mode 100644 index d63fd3c9f..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/pom.xml +++ /dev/null @@ -1,162 +0,0 @@ - - 4.0.0 - - org.argeo.commons.eclipse - 0.2.3-SNAPSHOT - plugins - .. - - org.argeo.jcr.ui.explorer - Commons JCR Explorer - - - - org.argeo.maven.plugins - maven-argeo-osgi-plugin - - - resolve-pde-sources - - pde-sources - - generate-resources - - - generate-descriptors - - descriptors - - generate-resources - - - check-osgi - test - - equinox - - - true - - -clean - - - - - - - - - - org.argeo.commons.eclipse - org.argeo.eclipse.ui.jcr - 0.2.3-SNAPSHOT - - - - - org.argeo.commons.eclipse - org.argeo.eclipse.dep.rcp - 0.2.3-SNAPSHOT - provided - - - - - - org.argeo.commons.osgi - org.argeo.osgi.boot - 0.2.3-SNAPSHOT - test - - - org.argeo.commons.server - org.argeo.server.dep.javax - ${version.argeo-commons} - pom - test - - - org.apache.xmlcommons - com.springsource.org.apache.xmlcommons - test - - - - org.argeo.commons.security - org.argeo.security.dep.ads - ${version.argeo-commons} - pom - test - - - org.argeo.commons.security - org.argeo.security.ui.application - ${version.argeo-commons} - test - - - - org.argeo.commons.server - org.argeo.server.dep.tomcat - ${version.argeo-commons} - pom - test - - - org.springframework.osgi - org.springframework.osgi.web.extender - - - org.springframework.osgi - org.springframework.osgi.web - - - - org.argeo.commons.server - org.argeo.server.jackrabbit - ${version.argeo-commons} - test - - - org.argeo.commons.server - org.argeo.server.jcr.mvc - ${version.argeo-commons} - test - - - org.argeo.commons.server - org.argeo.server.dep.jackrabbit.server - ${version.argeo-commons} - pom - test - - - org.argeo.commons.server - org.argeo.jackrabbit.webapp - ${version.argeo-commons} - test - - - org.argeo.commons.server - org.argeo.node.repo.jackrabbit - ${version.argeo-commons} - test - - - com.h2database - com.springsource.org.h2 - test - - - com.mysql.jdbc - com.springsource.com.mysql.jdbc - test - - - org.postgresql - com.springsource.org.postgresql.jdbc3 - test - - - diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java b/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java deleted file mode 100644 index 020bf06ae..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.argeo.eclipse.ui.jcr.explorer; - -import org.eclipse.ui.IFolderLayout; -import org.eclipse.ui.IPageLayout; -import org.eclipse.ui.IPerspectiveFactory; - -public class JcrExplorerPerspective implements IPerspectiveFactory { - public static String BROWSER_VIEW_ID = JcrExplorerPlugin.ID - + ".browserView"; - - public void createInitialLayout(IPageLayout layout) { - layout.setEditorAreaVisible(true); - - IFolderLayout upperLeft = layout.createFolder(JcrExplorerPlugin.ID - + ".upperLeft", IPageLayout.LEFT, 0.4f, layout.getEditorArea()); - upperLeft.addView(BROWSER_VIEW_ID); - } - -} diff --git a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java b/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java deleted file mode 100644 index b5e9af31d..000000000 --- a/eclipse/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java +++ /dev/null @@ -1,61 +0,0 @@ -package org.argeo.eclipse.ui.jcr.explorer; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class JcrExplorerPlugin extends AbstractUIPlugin { - - // The plug-in ID - public static final String ID = "org.argeo.jcr.ui.explorer"; //$NON-NLS-1$ - - // The shared instance - private static JcrExplorerPlugin plugin; - - /** - * The constructor - */ - public JcrExplorerPlugin() { - } - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext - * ) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext - * ) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static JcrExplorerPlugin getDefault() { - return plugin; - } - - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(ID, path); - } - -} diff --git a/eclipse/plugins/pom.xml b/eclipse/plugins/pom.xml deleted file mode 100644 index 3b7006a5d..000000000 --- a/eclipse/plugins/pom.xml +++ /dev/null @@ -1,44 +0,0 @@ - - 4.0.0 - - org.argeo.commons.eclipse - 0.2.3-SNAPSHOT - eclipse - .. - - plugins - Commons Eclipse plugins - pom - - org.argeo.jcr.ui.explorer - - - - - src/main/resources - - - . - - plugin.xml - META-INF/** - icons/** - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - org.apache.maven.plugins - maven-source-plugin - - - org.apache.maven.plugins - maven-surefire-plugin - - - - diff --git a/server/plugins/org.argeo.jcr.ui.explorer/.classpath b/server/plugins/org.argeo.jcr.ui.explorer/.classpath new file mode 100644 index 000000000..92f19d2ff --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/.project b/server/plugins/org.argeo.jcr.ui.explorer/.project new file mode 100644 index 000000000..162cd6b8b --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/.project @@ -0,0 +1,28 @@ + + + org.argeo.jcr.ui.explorer + + + + + + 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/server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs b/server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..992c5d722 --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Thu Feb 24 08:49:06 CET 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF new file mode 100644 index 000000000..bd310b8c0 --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: JCR Explorer +Bundle-SymbolicName: org.argeo.jcr.ui.explorer;singleton:=true +Bundle-Version: 0.2.3.SNAPSHOT +Bundle-Activator: org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPlugin +Bundle-Vendor: Argeo +Require-Bundle: org.eclipse.ui;resolution:=optional, + org.eclipse.core.runtime, + org.eclipse.rap.ui;resolution:=optional +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-ActivationPolicy: lazy +Import-Package: javax.jcr;version="2.0.0", + org.argeo.eclipse.spring, + org.argeo.eclipse.ui.jcr.commands, + org.argeo.eclipse.ui.jcr.editors, + org.argeo.eclipse.ui.jcr.views, + org.argeo.jcr diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml new file mode 100644 index 000000000..c1c1f19b9 --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/commands.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml new file mode 100644 index 000000000..8ddc5bf62 --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/editors.xml @@ -0,0 +1,12 @@ + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml new file mode 100644 index 000000000..2701948bd --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/jcr.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml new file mode 100644 index 000000000..487cebfdf --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/osgi.xml @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml new file mode 100644 index 000000000..eed1f4844 --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/META-INF/spring/views.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/build.properties b/server/plugins/org.argeo.jcr.ui.explorer/build.properties new file mode 100644 index 000000000..7b6db787b --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/build.properties @@ -0,0 +1,5 @@ +source.. = src/main/java/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser b/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser new file mode 100644 index 000000000..d804c1d03 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/exec/org.argeo.jcr.ui.explorer/data/tomcat/work/org.argeo.jcr.webapp/SESSIONS.ser differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif new file mode 100644 index 000000000..252d7ebcb Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/add.gif differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif new file mode 100644 index 000000000..6c7320c69 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/browser.gif differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png new file mode 100644 index 000000000..d7c890c81 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/import_fs.png differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif new file mode 100644 index 000000000..bba3dbc69 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/nodes.gif differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png new file mode 100644 index 000000000..54c089de1 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/query.png differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png b/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png new file mode 100644 index 000000000..a3884fb48 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/refresh.png differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif b/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif new file mode 100644 index 000000000..0ae6decd0 Binary files /dev/null and b/server/plugins/org.argeo.jcr.ui.explorer/icons/remove.gif differ diff --git a/server/plugins/org.argeo.jcr.ui.explorer/log4j.properties b/server/plugins/org.argeo.jcr.ui.explorer/log4j.properties new file mode 100644 index 000000000..46b724cea --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/log4j.properties @@ -0,0 +1,25 @@ +log4j.rootLogger=WARN, console + +## Levels +log4j.logger.org.argeo=DEBUG +log4j.logger.org.springframework.security=WARN + +log4j.logger.org.apache.catalina=INFO +log4j.logger.org.apache.coyote=INFO +log4j.logger.org.apache.tomcat=INFO +log4j.logger.org.springframework.osgi.web.deployer.tomcat=WARN + +log4j.logger.org.apache.directory.server=INFO +log4j.logger.org.apache.directory.server.core.partition=ERROR +log4j.logger.org.apache.directory.server.core.schema.bootstrap.BootstrapAttributeTypeRegistry=ERROR + +log4j.logger.org.apache.jackrabbit=WARN +log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR + +## Appenders +# console is set to be a ConsoleAppender. +log4j.appender.console=org.apache.log4j.ConsoleAppender + +# console uses PatternLayout. +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern= %-5p %d{ISO8601} %m - %c - [%t]%n diff --git a/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product new file mode 100644 index 000000000..0980e1d7e --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.product @@ -0,0 +1,192 @@ + + + + + + + + + + -console + -Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties new file mode 100644 index 000000000..4981c934b --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/org.argeo.jcr.ui.explorer.properties @@ -0,0 +1,11 @@ +argeo.osgi.start=org.argeo.dep.osgi.catalina.start,\ +org.argeo.jackrabbit.webapp,\ +org.argeo.node.repo.jackrabbit,\ +org.argeo.security.equinox,\ +org.argeo.security.manager.ldap,\ +org.argeo.security.services,\ +org.argeo.server.ads.server,\ +org.springframework.osgi.extender,\ +org.springframework.osgi.web.extender + +log4j.configuration=file:../../log4j.properties diff --git a/server/plugins/org.argeo.jcr.ui.explorer/plugin.xml b/server/plugins/org.argeo.jcr.ui.explorer/plugin.xml new file mode 100644 index 000000000..ffe7aaffa --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/plugin.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/pom.xml b/server/plugins/org.argeo.jcr.ui.explorer/pom.xml new file mode 100644 index 000000000..d63fd3c9f --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/pom.xml @@ -0,0 +1,162 @@ + + 4.0.0 + + org.argeo.commons.eclipse + 0.2.3-SNAPSHOT + plugins + .. + + org.argeo.jcr.ui.explorer + Commons JCR Explorer + + + + org.argeo.maven.plugins + maven-argeo-osgi-plugin + + + resolve-pde-sources + + pde-sources + + generate-resources + + + generate-descriptors + + descriptors + + generate-resources + + + check-osgi + test + + equinox + + + true + + -clean + + + + + + + + + + org.argeo.commons.eclipse + org.argeo.eclipse.ui.jcr + 0.2.3-SNAPSHOT + + + + + org.argeo.commons.eclipse + org.argeo.eclipse.dep.rcp + 0.2.3-SNAPSHOT + provided + + + + + + org.argeo.commons.osgi + org.argeo.osgi.boot + 0.2.3-SNAPSHOT + test + + + org.argeo.commons.server + org.argeo.server.dep.javax + ${version.argeo-commons} + pom + test + + + org.apache.xmlcommons + com.springsource.org.apache.xmlcommons + test + + + + org.argeo.commons.security + org.argeo.security.dep.ads + ${version.argeo-commons} + pom + test + + + org.argeo.commons.security + org.argeo.security.ui.application + ${version.argeo-commons} + test + + + + org.argeo.commons.server + org.argeo.server.dep.tomcat + ${version.argeo-commons} + pom + test + + + org.springframework.osgi + org.springframework.osgi.web.extender + + + org.springframework.osgi + org.springframework.osgi.web + + + + org.argeo.commons.server + org.argeo.server.jackrabbit + ${version.argeo-commons} + test + + + org.argeo.commons.server + org.argeo.server.jcr.mvc + ${version.argeo-commons} + test + + + org.argeo.commons.server + org.argeo.server.dep.jackrabbit.server + ${version.argeo-commons} + pom + test + + + org.argeo.commons.server + org.argeo.jackrabbit.webapp + ${version.argeo-commons} + test + + + org.argeo.commons.server + org.argeo.node.repo.jackrabbit + ${version.argeo-commons} + test + + + com.h2database + com.springsource.org.h2 + test + + + com.mysql.jdbc + com.springsource.com.mysql.jdbc + test + + + org.postgresql + com.springsource.org.postgresql.jdbc3 + test + + + diff --git a/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java new file mode 100644 index 000000000..020bf06ae --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java @@ -0,0 +1,19 @@ +package org.argeo.eclipse.ui.jcr.explorer; + +import org.eclipse.ui.IFolderLayout; +import org.eclipse.ui.IPageLayout; +import org.eclipse.ui.IPerspectiveFactory; + +public class JcrExplorerPerspective implements IPerspectiveFactory { + public static String BROWSER_VIEW_ID = JcrExplorerPlugin.ID + + ".browserView"; + + public void createInitialLayout(IPageLayout layout) { + layout.setEditorAreaVisible(true); + + IFolderLayout upperLeft = layout.createFolder(JcrExplorerPlugin.ID + + ".upperLeft", IPageLayout.LEFT, 0.4f, layout.getEditorArea()); + upperLeft.addView(BROWSER_VIEW_ID); + } + +} diff --git a/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java new file mode 100644 index 000000000..b5e9af31d --- /dev/null +++ b/server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPlugin.java @@ -0,0 +1,61 @@ +package org.argeo.eclipse.ui.jcr.explorer; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class JcrExplorerPlugin extends AbstractUIPlugin { + + // The plug-in ID + public static final String ID = "org.argeo.jcr.ui.explorer"; //$NON-NLS-1$ + + // The shared instance + private static JcrExplorerPlugin plugin; + + /** + * The constructor + */ + public JcrExplorerPlugin() { + } + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext + * ) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext + * ) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static JcrExplorerPlugin getDefault() { + return plugin; + } + + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(ID, path); + } + +} diff --git a/server/plugins/pom.xml b/server/plugins/pom.xml new file mode 100644 index 000000000..3b7006a5d --- /dev/null +++ b/server/plugins/pom.xml @@ -0,0 +1,44 @@ + + 4.0.0 + + org.argeo.commons.eclipse + 0.2.3-SNAPSHOT + eclipse + .. + + plugins + Commons Eclipse plugins + pom + + org.argeo.jcr.ui.explorer + + + + + src/main/resources + + + . + + plugin.xml + META-INF/** + icons/** + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + org.apache.maven.plugins + maven-source-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + + +