+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.argeo.jcr.ui.explorer</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+++ /dev/null
-#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
+++ /dev/null
-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
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <bean id="openGenericJcrQueryEditor"
- class="org.argeo.eclipse.ui.jcr.commands.OpenGenericJcrQueryEditor"
- scope="prototype">
- <property name="editorId"
- value="org.argeo.slc.client.ui.dist.genericJcrQueryEditor" />
- </bean>
-
- <bean id="addFileFolder" class="org.argeo.eclipse.ui.jcr.commands.AddFileFolder"
- scope="prototype" />
-
- <bean id="refresh" class="org.argeo.eclipse.ui.jcr.commands.Refresh"
- scope="prototype" />
-
- <bean id="deleteNode" class="org.argeo.eclipse.ui.jcr.commands.DeleteNode"
- scope="prototype" />
-
- <bean id="importFileSystem" class="org.argeo.eclipse.ui.jcr.commands.ImportFileSystem"
- scope="prototype" />
-
- <bean id="initUserHome" class="org.argeo.eclipse.ui.jcr.commands.InitUserHome"
- scope="prototype">
- <property name="session" ref="nodeJcrSession" />
- </bean>
-</beans>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
- xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
-
- <bean id="genericJcrQueryEditor"
- class="org.argeo.eclipse.ui.jcr.editors.GenericJcrQueryEditor" scope="prototype">
- <property name="session" ref="jcrSession" />
- </bean>
-</beans>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
- xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
-
- <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister">
- </bean>
-</beans>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
- xmlns:osgi="http://www.springframework.org/schema/osgi"\r
- xsi:schemaLocation="http://www.springframework.org/schema/osgi \r
- http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
- http://www.springframework.org/schema/beans \r
- http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"\r
- osgi:default-timeout="30000">\r
-\r
- <reference id="nodeJcrSession" interface="javax.jcr.Session"\r
- filter="(argeo.jcr.repository.alias=node)" />\r
-\r
- <set id="repositories" interface="javax.jcr.Repository">\r
- <listener ref="repositoryRegister" bind-method="register"\r
- unbind-method="unregister" />\r
- </set>\r
-</beans:beans>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <!-- Views -->
- <bean id="browserView" class="org.argeo.eclipse.ui.jcr.views.GenericJcrBrowser"
- scope="prototype">
- <property name="repositoryRegister" ref="repositoryRegister" />
- </bean>
-</beans>
+++ /dev/null
-source.. = src/main/java/
-output.. = target/classes/
-bin.includes = META-INF/,\
- .,\
- plugin.xml
+++ /dev/null
-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
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<?pde version="3.5"?>
-
-<product application="org.argeo.security.ui.application.secureUi" useFeatures="false" includeLaunchers="true">
-
- <configIni use="default">
- </configIni>
-
- <launcherArgs>
- <programArgs>-console</programArgs>
- <vmArgs>-Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective</vmArgs>
- <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
- </launcherArgs>
-
- <launcher>
- <solaris/>
- <win useIco="false">
- <bmp/>
- </win>
- </launcher>
-
- <vm>
- </vm>
-
- <plugins>
- <plugin id="com.ibm.icu"/>
- <plugin id="com.springsource.antlr"/>
- <plugin id="com.springsource.com.mysql.jdbc"/>
- <plugin id="com.springsource.com.sun.syndication"/>
- <plugin id="com.springsource.edu.emory.mathcs.backport"/>
- <plugin id="com.springsource.edu.oswego.cs.dl.util.concurrent"/>
- <plugin id="com.springsource.javax.activation"/>
- <plugin id="com.springsource.javax.annotation"/>
- <plugin id="com.springsource.javax.ejb"/>
- <plugin id="com.springsource.javax.el"/>
- <plugin id="com.springsource.javax.mail"/>
- <plugin id="com.springsource.javax.management.j2ee"/>
- <plugin id="com.springsource.javax.persistence"/>
- <plugin id="com.springsource.javax.servlet"/>
- <plugin id="com.springsource.javax.servlet.jsp"/>
- <plugin id="com.springsource.javax.servlet.jsp.jstl"/>
- <plugin id="com.springsource.javax.transaction"/>
- <plugin id="com.springsource.javax.xml.bind"/>
- <plugin id="com.springsource.javax.xml.rpc"/>
- <plugin id="com.springsource.javax.xml.soap"/>
- <plugin id="com.springsource.javax.xml.stream"/>
- <plugin id="com.springsource.javax.xml.ws"/>
- <plugin id="com.springsource.jdbm"/>
- <plugin id="com.springsource.junit"/>
- <plugin id="com.springsource.org.aopalliance"/>
- <plugin id="com.springsource.org.apache.catalina"/>
- <plugin id="com.springsource.org.apache.commons.codec"/>
- <plugin id="com.springsource.org.apache.commons.collections"/>
- <plugin id="com.springsource.org.apache.commons.compress"/>
- <plugin id="com.springsource.org.apache.commons.dbcp"/>
- <plugin id="com.springsource.org.apache.commons.fileupload"/>
- <plugin id="com.springsource.org.apache.commons.httpclient"/>
- <plugin id="com.springsource.org.apache.commons.io"/>
- <plugin id="com.springsource.org.apache.commons.lang"/>
- <plugin id="com.springsource.org.apache.commons.pool"/>
- <plugin id="com.springsource.org.apache.coyote" fragment="true"/>
- <plugin id="com.springsource.org.apache.directory.server.changepw"/>
- <plugin id="com.springsource.org.apache.directory.server.core" fragment="true"/>
- <plugin id="com.springsource.org.apache.directory.server.core.shared"/>
- <plugin id="com.springsource.org.apache.directory.server.jndi"/>
- <plugin id="com.springsource.org.apache.directory.server.kerberos"/>
- <plugin id="com.springsource.org.apache.directory.server.kerberos.shared"/>
- <plugin id="com.springsource.org.apache.directory.server.ldap"/>
- <plugin id="com.springsource.org.apache.directory.server.ntp"/>
- <plugin id="com.springsource.org.apache.directory.server.protocol.shared"/>
- <plugin id="com.springsource.org.apache.directory.shared.asn1"/>
- <plugin id="com.springsource.org.apache.directory.shared.ldap"/>
- <plugin id="com.springsource.org.apache.el"/>
- <plugin id="com.springsource.org.apache.jasper" fragment="true"/>
- <plugin id="com.springsource.org.apache.jasper.org.eclipse.jdt"/>
- <plugin id="com.springsource.org.apache.juli.extras"/>
- <plugin id="com.springsource.org.apache.log4j"/>
- <plugin id="com.springsource.org.apache.lucene"/>
- <plugin id="com.springsource.org.apache.mina"/>
- <plugin id="com.springsource.org.apache.regexp"/>
- <plugin id="com.springsource.org.apache.taglibs.standard"/>
- <plugin id="com.springsource.org.apache.ws.commons.schema"/>
- <plugin id="com.springsource.org.apache.xalan"/>
- <plugin id="com.springsource.org.apache.xerces" fragment="true"/>
- <plugin id="com.springsource.org.apache.xml.resolver"/>
- <plugin id="com.springsource.org.apache.xml.serializer"/>
- <plugin id="com.springsource.org.apache.xmlbeans"/>
- <plugin id="com.springsource.org.apache.xmlcommons"/>
- <plugin id="com.springsource.org.codehaus.jackson"/>
- <plugin id="com.springsource.org.codehaus.jackson.mapper"/>
- <plugin id="com.springsource.org.cyberneko.html"/>
- <plugin id="com.springsource.org.dom4j"/>
- <plugin id="com.springsource.org.h2"/>
- <plugin id="com.springsource.org.jaxen"/>
- <plugin id="com.springsource.org.jdom"/>
- <plugin id="com.springsource.org.objectweb.asm"/>
- <plugin id="com.springsource.org.postgresql.jdbc3"/>
- <plugin id="com.springsource.org.xmlpull"/>
- <plugin id="com.springsource.slf4j.api"/>
- <plugin id="com.springsource.slf4j.log4j" fragment="true"/>
- <plugin id="com.springsource.slf4j.org.apache.commons.logging"/>
- <plugin id="org.argeo.basic.nodeps"/>
- <plugin id="org.argeo.dep.osgi.boilerpipe"/>
- <plugin id="org.argeo.dep.osgi.bouncycastle.jdk15"/>
- <plugin id="org.argeo.dep.osgi.catalina.start"/>
- <plugin id="org.argeo.dep.osgi.directory.shared.asn.codec" fragment="true"/>
- <plugin id="org.argeo.dep.osgi.drewnoakes.metadata_extractor"/>
- <plugin id="org.argeo.dep.osgi.jackrabbit"/>
- <plugin id="org.argeo.dep.osgi.jcr"/>
- <plugin id="org.argeo.dep.osgi.mina.filter.ssl" fragment="true"/>
- <plugin id="org.argeo.dep.osgi.netcdf"/>
- <plugin id="org.argeo.dep.osgi.pdfbox"/>
- <plugin id="org.argeo.dep.osgi.poi"/>
- <plugin id="org.argeo.dep.osgi.springframework.ldap"/>
- <plugin id="org.argeo.dep.osgi.tagsoup"/>
- <plugin id="org.argeo.dep.osgi.tika"/>
- <plugin id="org.argeo.eclipse.ui"/>
- <plugin id="org.argeo.eclipse.ui.jcr"/>
- <plugin id="org.argeo.jackrabbit.webapp"/>
- <plugin id="org.argeo.jcr.ui.explorer"/>
- <plugin id="org.argeo.node.repo.jackrabbit"/>
- <plugin id="org.argeo.security.core"/>
- <plugin id="org.argeo.security.equinox"/>
- <plugin id="org.argeo.security.ldap"/>
- <plugin id="org.argeo.security.manager.ldap"/>
- <plugin id="org.argeo.security.mvc"/>
- <plugin id="org.argeo.security.services"/>
- <plugin id="org.argeo.security.ui"/>
- <plugin id="org.argeo.security.ui.application"/>
- <plugin id="org.argeo.server.ads"/>
- <plugin id="org.argeo.server.ads.server"/>
- <plugin id="org.argeo.server.catalina" fragment="true"/>
- <plugin id="org.argeo.server.core"/>
- <plugin id="org.argeo.server.jackrabbit"/>
- <plugin id="org.argeo.server.jcr"/>
- <plugin id="org.argeo.server.jcr.mvc"/>
- <plugin id="org.argeo.server.json"/>
- <plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
- <plugin id="org.argeo.server.tomcat" fragment="true"/>
- <plugin id="org.eclipse.core.commands"/>
- <plugin id="org.eclipse.core.contenttype"/>
- <plugin id="org.eclipse.core.databinding"/>
- <plugin id="org.eclipse.core.databinding.observable"/>
- <plugin id="org.eclipse.core.databinding.property"/>
- <plugin id="org.eclipse.core.expressions"/>
- <plugin id="org.eclipse.core.jobs"/>
- <plugin id="org.eclipse.core.runtime"/>
- <plugin id="org.eclipse.equinox.app"/>
- <plugin id="org.eclipse.equinox.common"/>
- <plugin id="org.eclipse.equinox.preferences"/>
- <plugin id="org.eclipse.equinox.registry"/>
- <plugin id="org.eclipse.equinox.security"/>
- <plugin id="org.eclipse.help"/>
- <plugin id="org.eclipse.jface"/>
- <plugin id="org.eclipse.jface.databinding"/>
- <plugin id="org.eclipse.osgi"/>
- <plugin id="org.eclipse.swt"/>
- <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
- <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
- <plugin id="org.eclipse.ui"/>
- <plugin id="org.eclipse.ui.forms"/>
- <plugin id="org.eclipse.ui.workbench"/>
- <plugin id="org.springframework.aop"/>
- <plugin id="org.springframework.beans"/>
- <plugin id="org.springframework.context"/>
- <plugin id="org.springframework.core"/>
- <plugin id="org.springframework.osgi.core"/>
- <plugin id="org.springframework.osgi.extender"/>
- <plugin id="org.springframework.osgi.io"/>
- <plugin id="org.springframework.osgi.web"/>
- <plugin id="org.springframework.osgi.web.extender"/>
- <plugin id="org.springframework.oxm"/>
- <plugin id="org.springframework.security.core"/>
- <plugin id="org.springframework.transaction"/>
- <plugin id="org.springframework.web"/>
- <plugin id="org.springframework.web.servlet"/>
- <plugin id="org.springframework.xml"/>
- </plugins>
-
- <configurations>
- <plugin id="org.argeo.dep.osgi.catalina.start" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.jackrabbit.webapp" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.node.repo.jackrabbit" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.security.equinox" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.security.manager.ldap" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.security.services" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.server.ads.server" autoStart="true" startLevel="0" />
- <plugin id="org.springframework.osgi.extender" autoStart="true" startLevel="0" />
- <plugin id="org.springframework.osgi.web.extender" autoStart="true" startLevel="0" />
- </configurations>
-
-</product>
+++ /dev/null
-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
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.ui.perspectives">
- <perspective
- class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
- icon="icons/nodes.gif"
- id="org.argeo.jcr.ui.explorer.perspective"
- name="JCR Explorer">
- </perspective>
- </extension>
- <extension
- point="org.eclipse.ui.views">
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- icon="icons/browser.gif"
- id="org.argeo.jcr.ui.explorer.browserView"
- name="JCR Browser">
- </view>
- </extension>
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
- name="JCR Query"
- icon="icons/query.png"
- default="false">
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
- name="New generic JCR query">
- </command>
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.addFileFolder"
- name="Add file folder...">
- </command>
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.initUserHome"
- name="Initialize user home">
- </command>
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.refresh"
- name="Refresh">
- </command>
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.deleteNode"
- name="Delete node">
- </command>
- <command
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- id="org.argeo.jcr.ui.explorer.importFileSystem"
- name="Import files...">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="false"
- locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
- <command
- commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
- icon="icons/query.png"
- style="push">
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.initUserHome"
- style="push"
- tooltip="Initializes the user specific area within this node">
- </command>
- </menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
- <command
- commandId="org.argeo.jcr.ui.explorer.refresh"
- icon="icons/refresh.png"
- style="push">
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.addFileFolder"
- icon="icons/add.gif"
- style="push">
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.deleteNode"
- icon="icons/remove.gif"
- style="push">
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.importFileSystem"
- icon="icons/import_fs.png"
- style="push"
- tooltip="Import files from the files sytem to the repository">
- </command>
- </menuContribution>
- </extension>
-</plugin>
+++ /dev/null
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.argeo.commons.eclipse</groupId>
- <version>0.2.3-SNAPSHOT</version>
- <artifactId>plugins</artifactId>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>org.argeo.jcr.ui.explorer</artifactId>
- <name>Commons JCR Explorer</name>
- <build>
- <plugins>
- <plugin>
- <groupId>org.argeo.maven.plugins</groupId>
- <artifactId>maven-argeo-osgi-plugin</artifactId>
- <executions>
- <execution>
- <id>resolve-pde-sources</id>
- <goals>
- <goal>pde-sources</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- <execution>
- <id>generate-descriptors</id>
- <goals>
- <goal>descriptors</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- <execution>
- <id>check-osgi</id>
- <phase>test</phase>
- <goals>
- <goal>equinox</goal>
- </goals>
- <configuration>
- <onlyCheck>true</onlyCheck>
- <argsToAppend>
- <arg>-clean</arg>
- </argsToAppend>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>org.argeo.eclipse.ui.jcr</artifactId>
- <version>0.2.3-SNAPSHOT</version>
- </dependency>
-
- <!-- RCP only dependency, needed at compile time -->
- <dependency>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
- <version>0.2.3-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
-
-
- <!-- Testing and target platform -->
- <dependency>
- <groupId>org.argeo.commons.osgi</groupId>
- <artifactId>org.argeo.osgi.boot</artifactId>
- <version>0.2.3-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.dep.javax</artifactId>
- <version>${version.argeo-commons}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlcommons</groupId>
- <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- LDAP server and security services -->
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.dep.ads</artifactId>
- <version>${version.argeo-commons}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.security</groupId>
- <artifactId>org.argeo.security.ui.application</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
- </dependency>
- <!-- Tomcat -->
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.dep.tomcat</artifactId>
- <version>${version.argeo-commons}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>org.springframework.osgi.web.extender</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.osgi</groupId>
- <artifactId>org.springframework.osgi.web</artifactId>
- </dependency>
- <!-- Jackrabbit -->
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.jackrabbit</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.jcr.mvc</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
- <version>${version.argeo-commons}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.jackrabbit.webapp</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.argeo.commons.server</groupId>
- <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>com.springsource.org.h2</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.mysql.jdbc</groupId>
- <artifactId>com.springsource.com.mysql.jdbc</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-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);
- }
-
-}
+++ /dev/null
-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);
- }
-
-}
+++ /dev/null
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.argeo.commons.eclipse</groupId>
- <version>0.2.3-SNAPSHOT</version>
- <artifactId>eclipse</artifactId>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>plugins</artifactId>
- <name>Commons Eclipse plugins</name>
- <packaging>pom</packaging>
- <modules>
- <module>org.argeo.jcr.ui.explorer</module>
- </modules>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>.</directory>
- <includes>
- <include>plugin.xml</include>
- <include>META-INF/**</include>
- <include>icons/**</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-</project>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.argeo.jcr.ui.explorer</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
--- /dev/null
+#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
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="openGenericJcrQueryEditor"
+ class="org.argeo.eclipse.ui.jcr.commands.OpenGenericJcrQueryEditor"
+ scope="prototype">
+ <property name="editorId"
+ value="org.argeo.slc.client.ui.dist.genericJcrQueryEditor" />
+ </bean>
+
+ <bean id="addFileFolder" class="org.argeo.eclipse.ui.jcr.commands.AddFileFolder"
+ scope="prototype" />
+
+ <bean id="refresh" class="org.argeo.eclipse.ui.jcr.commands.Refresh"
+ scope="prototype" />
+
+ <bean id="deleteNode" class="org.argeo.eclipse.ui.jcr.commands.DeleteNode"
+ scope="prototype" />
+
+ <bean id="importFileSystem" class="org.argeo.eclipse.ui.jcr.commands.ImportFileSystem"
+ scope="prototype" />
+
+ <bean id="initUserHome" class="org.argeo.eclipse.ui.jcr.commands.InitUserHome"
+ scope="prototype">
+ <property name="session" ref="nodeJcrSession" />
+ </bean>
+</beans>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+ <bean id="genericJcrQueryEditor"
+ class="org.argeo.eclipse.ui.jcr.editors.GenericJcrQueryEditor" scope="prototype">
+ <property name="session" ref="jcrSession" />
+ </bean>
+</beans>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
+
+ <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister">
+ </bean>
+</beans>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+ xmlns:osgi="http://www.springframework.org/schema/osgi"\r
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi \r
+ http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+ http://www.springframework.org/schema/beans \r
+ http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"\r
+ osgi:default-timeout="30000">\r
+\r
+ <reference id="nodeJcrSession" interface="javax.jcr.Session"\r
+ filter="(argeo.jcr.repository.alias=node)" />\r
+\r
+ <set id="repositories" interface="javax.jcr.Repository">\r
+ <listener ref="repositoryRegister" bind-method="register"\r
+ unbind-method="unregister" />\r
+ </set>\r
+</beans:beans>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <!-- Views -->
+ <bean id="browserView" class="org.argeo.eclipse.ui.jcr.views.GenericJcrBrowser"
+ scope="prototype">
+ <property name="repositoryRegister" ref="repositoryRegister" />
+ </bean>
+</beans>
--- /dev/null
+source.. = src/main/java/
+output.. = target/classes/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product application="org.argeo.security.ui.application.secureUi" useFeatures="false" includeLaunchers="true">
+
+ <configIni use="default">
+ </configIni>
+
+ <launcherArgs>
+ <programArgs>-console</programArgs>
+ <vmArgs>-Dlog4j.configuration=file:${system_property:user.home}/dev/src/commons/eclipse/plugins/org.argeo.jcr.ui.explorer/log4j.properties -Dorg.argeo.security.ui.initialPerspective=org.argeo.jcr.ui.explorer.perspective</vmArgs>
+ <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ </launcherArgs>
+
+ <launcher>
+ <solaris/>
+ <win useIco="false">
+ <bmp/>
+ </win>
+ </launcher>
+
+ <vm>
+ </vm>
+
+ <plugins>
+ <plugin id="com.ibm.icu"/>
+ <plugin id="com.springsource.antlr"/>
+ <plugin id="com.springsource.com.mysql.jdbc"/>
+ <plugin id="com.springsource.com.sun.syndication"/>
+ <plugin id="com.springsource.edu.emory.mathcs.backport"/>
+ <plugin id="com.springsource.edu.oswego.cs.dl.util.concurrent"/>
+ <plugin id="com.springsource.javax.activation"/>
+ <plugin id="com.springsource.javax.annotation"/>
+ <plugin id="com.springsource.javax.ejb"/>
+ <plugin id="com.springsource.javax.el"/>
+ <plugin id="com.springsource.javax.mail"/>
+ <plugin id="com.springsource.javax.management.j2ee"/>
+ <plugin id="com.springsource.javax.persistence"/>
+ <plugin id="com.springsource.javax.servlet"/>
+ <plugin id="com.springsource.javax.servlet.jsp"/>
+ <plugin id="com.springsource.javax.servlet.jsp.jstl"/>
+ <plugin id="com.springsource.javax.transaction"/>
+ <plugin id="com.springsource.javax.xml.bind"/>
+ <plugin id="com.springsource.javax.xml.rpc"/>
+ <plugin id="com.springsource.javax.xml.soap"/>
+ <plugin id="com.springsource.javax.xml.stream"/>
+ <plugin id="com.springsource.javax.xml.ws"/>
+ <plugin id="com.springsource.jdbm"/>
+ <plugin id="com.springsource.junit"/>
+ <plugin id="com.springsource.org.aopalliance"/>
+ <plugin id="com.springsource.org.apache.catalina"/>
+ <plugin id="com.springsource.org.apache.commons.codec"/>
+ <plugin id="com.springsource.org.apache.commons.collections"/>
+ <plugin id="com.springsource.org.apache.commons.compress"/>
+ <plugin id="com.springsource.org.apache.commons.dbcp"/>
+ <plugin id="com.springsource.org.apache.commons.fileupload"/>
+ <plugin id="com.springsource.org.apache.commons.httpclient"/>
+ <plugin id="com.springsource.org.apache.commons.io"/>
+ <plugin id="com.springsource.org.apache.commons.lang"/>
+ <plugin id="com.springsource.org.apache.commons.pool"/>
+ <plugin id="com.springsource.org.apache.coyote" fragment="true"/>
+ <plugin id="com.springsource.org.apache.directory.server.changepw"/>
+ <plugin id="com.springsource.org.apache.directory.server.core" fragment="true"/>
+ <plugin id="com.springsource.org.apache.directory.server.core.shared"/>
+ <plugin id="com.springsource.org.apache.directory.server.jndi"/>
+ <plugin id="com.springsource.org.apache.directory.server.kerberos"/>
+ <plugin id="com.springsource.org.apache.directory.server.kerberos.shared"/>
+ <plugin id="com.springsource.org.apache.directory.server.ldap"/>
+ <plugin id="com.springsource.org.apache.directory.server.ntp"/>
+ <plugin id="com.springsource.org.apache.directory.server.protocol.shared"/>
+ <plugin id="com.springsource.org.apache.directory.shared.asn1"/>
+ <plugin id="com.springsource.org.apache.directory.shared.ldap"/>
+ <plugin id="com.springsource.org.apache.el"/>
+ <plugin id="com.springsource.org.apache.jasper" fragment="true"/>
+ <plugin id="com.springsource.org.apache.jasper.org.eclipse.jdt"/>
+ <plugin id="com.springsource.org.apache.juli.extras"/>
+ <plugin id="com.springsource.org.apache.log4j"/>
+ <plugin id="com.springsource.org.apache.lucene"/>
+ <plugin id="com.springsource.org.apache.mina"/>
+ <plugin id="com.springsource.org.apache.regexp"/>
+ <plugin id="com.springsource.org.apache.taglibs.standard"/>
+ <plugin id="com.springsource.org.apache.ws.commons.schema"/>
+ <plugin id="com.springsource.org.apache.xalan"/>
+ <plugin id="com.springsource.org.apache.xerces" fragment="true"/>
+ <plugin id="com.springsource.org.apache.xml.resolver"/>
+ <plugin id="com.springsource.org.apache.xml.serializer"/>
+ <plugin id="com.springsource.org.apache.xmlbeans"/>
+ <plugin id="com.springsource.org.apache.xmlcommons"/>
+ <plugin id="com.springsource.org.codehaus.jackson"/>
+ <plugin id="com.springsource.org.codehaus.jackson.mapper"/>
+ <plugin id="com.springsource.org.cyberneko.html"/>
+ <plugin id="com.springsource.org.dom4j"/>
+ <plugin id="com.springsource.org.h2"/>
+ <plugin id="com.springsource.org.jaxen"/>
+ <plugin id="com.springsource.org.jdom"/>
+ <plugin id="com.springsource.org.objectweb.asm"/>
+ <plugin id="com.springsource.org.postgresql.jdbc3"/>
+ <plugin id="com.springsource.org.xmlpull"/>
+ <plugin id="com.springsource.slf4j.api"/>
+ <plugin id="com.springsource.slf4j.log4j" fragment="true"/>
+ <plugin id="com.springsource.slf4j.org.apache.commons.logging"/>
+ <plugin id="org.argeo.basic.nodeps"/>
+ <plugin id="org.argeo.dep.osgi.boilerpipe"/>
+ <plugin id="org.argeo.dep.osgi.bouncycastle.jdk15"/>
+ <plugin id="org.argeo.dep.osgi.catalina.start"/>
+ <plugin id="org.argeo.dep.osgi.directory.shared.asn.codec" fragment="true"/>
+ <plugin id="org.argeo.dep.osgi.drewnoakes.metadata_extractor"/>
+ <plugin id="org.argeo.dep.osgi.jackrabbit"/>
+ <plugin id="org.argeo.dep.osgi.jcr"/>
+ <plugin id="org.argeo.dep.osgi.mina.filter.ssl" fragment="true"/>
+ <plugin id="org.argeo.dep.osgi.netcdf"/>
+ <plugin id="org.argeo.dep.osgi.pdfbox"/>
+ <plugin id="org.argeo.dep.osgi.poi"/>
+ <plugin id="org.argeo.dep.osgi.springframework.ldap"/>
+ <plugin id="org.argeo.dep.osgi.tagsoup"/>
+ <plugin id="org.argeo.dep.osgi.tika"/>
+ <plugin id="org.argeo.eclipse.ui"/>
+ <plugin id="org.argeo.eclipse.ui.jcr"/>
+ <plugin id="org.argeo.jackrabbit.webapp"/>
+ <plugin id="org.argeo.jcr.ui.explorer"/>
+ <plugin id="org.argeo.node.repo.jackrabbit"/>
+ <plugin id="org.argeo.security.core"/>
+ <plugin id="org.argeo.security.equinox"/>
+ <plugin id="org.argeo.security.ldap"/>
+ <plugin id="org.argeo.security.manager.ldap"/>
+ <plugin id="org.argeo.security.mvc"/>
+ <plugin id="org.argeo.security.services"/>
+ <plugin id="org.argeo.security.ui"/>
+ <plugin id="org.argeo.security.ui.application"/>
+ <plugin id="org.argeo.server.ads"/>
+ <plugin id="org.argeo.server.ads.server"/>
+ <plugin id="org.argeo.server.catalina" fragment="true"/>
+ <plugin id="org.argeo.server.core"/>
+ <plugin id="org.argeo.server.jackrabbit"/>
+ <plugin id="org.argeo.server.jcr"/>
+ <plugin id="org.argeo.server.jcr.mvc"/>
+ <plugin id="org.argeo.server.json"/>
+ <plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
+ <plugin id="org.argeo.server.tomcat" fragment="true"/>
+ <plugin id="org.eclipse.core.commands"/>
+ <plugin id="org.eclipse.core.contenttype"/>
+ <plugin id="org.eclipse.core.databinding"/>
+ <plugin id="org.eclipse.core.databinding.observable"/>
+ <plugin id="org.eclipse.core.databinding.property"/>
+ <plugin id="org.eclipse.core.expressions"/>
+ <plugin id="org.eclipse.core.jobs"/>
+ <plugin id="org.eclipse.core.runtime"/>
+ <plugin id="org.eclipse.equinox.app"/>
+ <plugin id="org.eclipse.equinox.common"/>
+ <plugin id="org.eclipse.equinox.preferences"/>
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.equinox.security"/>
+ <plugin id="org.eclipse.help"/>
+ <plugin id="org.eclipse.jface"/>
+ <plugin id="org.eclipse.jface.databinding"/>
+ <plugin id="org.eclipse.osgi"/>
+ <plugin id="org.eclipse.swt"/>
+ <plugin id="org.eclipse.swt.gtk.linux.x86_64" fragment="true"/>
+ <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
+ <plugin id="org.eclipse.ui"/>
+ <plugin id="org.eclipse.ui.forms"/>
+ <plugin id="org.eclipse.ui.workbench"/>
+ <plugin id="org.springframework.aop"/>
+ <plugin id="org.springframework.beans"/>
+ <plugin id="org.springframework.context"/>
+ <plugin id="org.springframework.core"/>
+ <plugin id="org.springframework.osgi.core"/>
+ <plugin id="org.springframework.osgi.extender"/>
+ <plugin id="org.springframework.osgi.io"/>
+ <plugin id="org.springframework.osgi.web"/>
+ <plugin id="org.springframework.osgi.web.extender"/>
+ <plugin id="org.springframework.oxm"/>
+ <plugin id="org.springframework.security.core"/>
+ <plugin id="org.springframework.transaction"/>
+ <plugin id="org.springframework.web"/>
+ <plugin id="org.springframework.web.servlet"/>
+ <plugin id="org.springframework.xml"/>
+ </plugins>
+
+ <configurations>
+ <plugin id="org.argeo.dep.osgi.catalina.start" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.jackrabbit.webapp" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.node.repo.jackrabbit" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.security.equinox" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.security.manager.ldap" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.security.services" autoStart="true" startLevel="0" />
+ <plugin id="org.argeo.server.ads.server" autoStart="true" startLevel="0" />
+ <plugin id="org.springframework.osgi.extender" autoStart="true" startLevel="0" />
+ <plugin id="org.springframework.osgi.web.extender" autoStart="true" startLevel="0" />
+ </configurations>
+
+</product>
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.perspectives">
+ <perspective
+ class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
+ icon="icons/nodes.gif"
+ id="org.argeo.jcr.ui.explorer.perspective"
+ name="JCR Explorer">
+ </perspective>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views">
+ <view
+ class="org.argeo.eclipse.spring.SpringExtensionFactory"
+ icon="icons/browser.gif"
+ id="org.argeo.jcr.ui.explorer.browserView"
+ name="JCR Browser">
+ </view>
+ </extension>
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.argeo.eclipse.spring.SpringExtensionFactory"
+ id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
+ name="JCR Query"
+ icon="icons/query.png"
+ default="false">
+ </editor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+ name="New generic JCR query">
+ </command>
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.addFileFolder"
+ name="Add file folder...">
+ </command>
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.initUserHome"
+ name="Initialize user home">
+ </command>
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.refresh"
+ name="Refresh">
+ </command>
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.deleteNode"
+ name="Delete node">
+ </command>
+ <command
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ id="org.argeo.jcr.ui.explorer.importFileSystem"
+ name="Import files...">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="false"
+ locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
+ <command
+ commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+ icon="icons/query.png"
+ style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.initUserHome"
+ style="push"
+ tooltip="Initializes the user specific area within this node">
+ </command>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
+ <command
+ commandId="org.argeo.jcr.ui.explorer.refresh"
+ icon="icons/refresh.png"
+ style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.addFileFolder"
+ icon="icons/add.gif"
+ style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.deleteNode"
+ icon="icons/remove.gif"
+ style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.importFileSystem"
+ icon="icons/import_fs.png"
+ style="push"
+ tooltip="Import files from the files sytem to the repository">
+ </command>
+ </menuContribution>
+ </extension>
+</plugin>
--- /dev/null
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.argeo.commons.eclipse</groupId>
+ <version>0.2.3-SNAPSHOT</version>
+ <artifactId>plugins</artifactId>
+ <relativePath>..</relativePath>
+ </parent>
+ <artifactId>org.argeo.jcr.ui.explorer</artifactId>
+ <name>Commons JCR Explorer</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>resolve-pde-sources</id>
+ <goals>
+ <goal>pde-sources</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ <execution>
+ <id>generate-descriptors</id>
+ <goals>
+ <goal>descriptors</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ <execution>
+ <id>check-osgi</id>
+ <phase>test</phase>
+ <goals>
+ <goal>equinox</goal>
+ </goals>
+ <configuration>
+ <onlyCheck>true</onlyCheck>
+ <argsToAppend>
+ <arg>-clean</arg>
+ </argsToAppend>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.commons.eclipse</groupId>
+ <artifactId>org.argeo.eclipse.ui.jcr</artifactId>
+ <version>0.2.3-SNAPSHOT</version>
+ </dependency>
+
+ <!-- RCP only dependency, needed at compile time -->
+ <dependency>
+ <groupId>org.argeo.commons.eclipse</groupId>
+ <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
+ <version>0.2.3-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+
+ <!-- Testing and target platform -->
+ <dependency>
+ <groupId>org.argeo.commons.osgi</groupId>
+ <artifactId>org.argeo.osgi.boot</artifactId>
+ <version>0.2.3-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.dep.javax</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlcommons</groupId>
+ <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <!-- LDAP server and security services -->
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.dep.ads</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.security</groupId>
+ <artifactId>org.argeo.security.ui.application</artifactId>
+ <version>${version.argeo-commons}</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- Tomcat -->
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.dep.tomcat</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.osgi</groupId>
+ <artifactId>org.springframework.osgi.web.extender</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.osgi</groupId>
+ <artifactId>org.springframework.osgi.web</artifactId>
+ </dependency>
+ <!-- Jackrabbit -->
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.jackrabbit</artifactId>
+ <version>${version.argeo-commons}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.jcr.mvc</artifactId>
+ <version>${version.argeo-commons}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
+ <version>${version.argeo-commons}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.jackrabbit.webapp</artifactId>
+ <version>${version.argeo-commons}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.commons.server</groupId>
+ <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
+ <version>${version.argeo-commons}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>com.springsource.org.h2</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.mysql.jdbc</groupId>
+ <artifactId>com.springsource.com.mysql.jdbc</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
--- /dev/null
+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);
+ }
+
+}
--- /dev/null
+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);
+ }
+
+}
--- /dev/null
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.argeo.commons.eclipse</groupId>
+ <version>0.2.3-SNAPSHOT</version>
+ <artifactId>eclipse</artifactId>
+ <relativePath>..</relativePath>
+ </parent>
+ <artifactId>plugins</artifactId>
+ <name>Commons Eclipse plugins</name>
+ <packaging>pom</packaging>
+ <modules>
+ <module>org.argeo.jcr.ui.explorer</module>
+ </modules>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>META-INF/**</include>
+ <include>icons/**</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>