]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
SLC RAP working with UI admin
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 26 Jun 2011 18:54:01 +0000 (18:54 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 26 Jun 2011 18:54:01 +0000 (18:54 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4607 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

15 files changed:
dep/org.argeo.slc.dep.agent/pom.xml
dep/org.argeo.slc.dep.backend/pom.xml
dep/org.argeo.slc.dep.sdk.rap/pom.xml
dep/org.argeo.slc.dep.sdk.rcp/pom.xml
dep/org.argeo.slc.dep.server/pom.xml
eclipse/plugins/org.argeo.slc.client.rap/pom.xml
eclipse/plugins/org.argeo.slc.client.rcp/pom.xml
eclipse/plugins/org.argeo.slc.client.ui/META-INF/MANIFEST.MF
eclipse/plugins/org.argeo.slc.client.ui/pom.xml
eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/ExecutionModulesView.java
eclipse/plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/views/ProcessBuilderView.java
runtime/org.argeo.slc.launcher/pom.xml
runtime/org.argeo.slc.server/pom.xml
runtime/org.argeo.slc.support.activemq/pom.xml
runtime/org.argeo.slc.support.maven/pom.xml

index 60efad6585e962069342f0ca229b643b64b76463..1fc2806394097132ee19048376b542b40b059797 100644 (file)
                        <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
                </dependency>
                <!-- Required by the Oracle JDBC driver -->
-               <dependency>
-                       <groupId>javax.resource</groupId>
-                       <artifactId>com.springsource.javax.resource</artifactId>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>javax.resource</groupId> -->
+<!--                   <artifactId>com.springsource.javax.resource</artifactId> -->
+<!--           </dependency> -->
 
                <!-- Jacob (will be removed soon) -->
                <dependency>
index 4608ce19cb87e59314ce69031ec12c33f96d06fc..565848515df00e1bee43aa351683b236c75697ac 100644 (file)
        <dependencies>
                <!-- HACK because of dependencies pb with Maven: version 2.4.0 is required 
                        by Spring-LDAP while Apache Directory takes 2.1.0 -->
+<!--           <dependency> -->
+<!--                   <groupId>org.apache.commons</groupId> -->
+<!--                   <artifactId>com.springsource.org.apache.commons.lang</artifactId> -->
+<!--                   <version>2.4.0</version> -->
+<!--           </dependency> -->
+
+               <!-- SLC Agent -->
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>com.springsource.org.apache.commons.lang</artifactId>
-                       <version>2.4.0</version>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.core</artifactId>
+                       <version>${version.slc}</version>
                </dependency>
-
                <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.node</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.simple</artifactId>
+                       <version>${version.slc}</version>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.agent</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.ant</artifactId>
+                       <version>${version.slc}</version>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.detached</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.jcr</artifactId>
+                       <version>${version.slc}</version>
+               </dependency>
+
+               <!-- SLC Agent Modules -->
+               <dependency>
+                       <groupId>org.argeo.slc.modules</groupId>
+                       <artifactId>org.argeo.slc.agent</artifactId>
+                       <version>${version.slc}</version>
                </dependency>
-               <!-- Provided -->
                <dependency>
-                       <groupId>org.apache.xmlcommons</groupId>
-                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+                       <groupId>org.argeo.slc.modules</groupId>
+                       <artifactId>org.argeo.slc.agent.jcr</artifactId>
+                       <version>${version.slc}</version>
                </dependency>
+
+               <!-- SLC Server -->
                <dependency>
-                       <groupId>javax.xml.stream</groupId>
-                       <artifactId>com.springsource.javax.xml.stream</artifactId>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.dep.node</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
                </dependency>
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.slc.dep</groupId> -->
-               <!-- <artifactId>org.argeo.slc.dep.gis</artifactId> -->
-               <!-- <version>${version.slc}</version> -->
-               <!-- </dependency> -->
 
                <!-- SLC -->
                <dependency>
                        <artifactId>org.argeo.slc.server</artifactId>
                        <version>0.13.1-SNAPSHOT</version>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.hibernate</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.support.equinox</artifactId>
                        <version>${version.slc}</version>
                </dependency>
 
-               <!-- SLC non deps -->
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
                <!-- Modules (see profiles below) -->
 
                <!-- Launcher -->
index 080d58b24962cb1a25b8b211149634900e5ad96e..8e51ca443e4e087c95e9c8471b38b47cc7d9fd84 100644 (file)
                        <artifactId>org.argeo.security.dep.node.rap</artifactId>
                        <version>${version.argeo-commons}</version>
                        <exclusions>
+<!--                           <exclusion> -->
+<!--                                   <groupId>org.argeo.commons.security</groupId> -->
+<!--                                   <artifactId>org.argeo.security.ui.admin</artifactId> -->
+<!--                           </exclusion> -->
+
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>org.mortbay.jetty.server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>org.mortbay.jetty.server.util</artifactId>
+                               </exclusion>
                                <exclusion>
-                                       <groupId>org.argeo.commons.security</groupId>
-                                       <artifactId>org.argeo.security.ui.admin</artifactId>
+                                       <groupId>org.eclipse.equinox</groupId>
+                                       <artifactId>org.eclipse.equinox.http.jetty</artifactId>
                                </exclusion>
+
+                               <exclusion>
+                                       <groupId>org.argeo.slc.runtime</groupId>
+                                       <artifactId>org.argeo.slc.support.castor</artifactId>
+                               </exclusion>
+
                        </exclusions>
                </dependency>
                <dependency>
@@ -50,7 +69,7 @@
                <!-- Back-end Dependencies -->
                <dependency>
                        <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.server</artifactId>
+                       <artifactId>org.argeo.slc.dep.backend</artifactId>
                        <version>${version.slc}</version>
                </dependency>
 
index bf9604f73a6e889121572cac66a3995307b2f2e8..536eb6f251fc12763e10c8f5be690ba4cee43b14 100644 (file)
                        <version>${version.slc}</version>
                </dependency>
        </dependencies>
-       <profiles>
-               <profile>
-                       <id>sdkWithModules</id>
-                       <activation>
-                               <activeByDefault>true</activeByDefault>
-                       </activation>
-                       <dependencies>
-                               <dependency>
-                                       <groupId>org.argeo.slc.eclipse</groupId>
-                                       <artifactId>org.argeo.slc.eclipse.modules.bundles</artifactId>
-                                       <version>${version.slc}</version>
-                                       <type>pom</type>
-                               </dependency>
-                       </dependencies>
-               </profile>
-               <profile>
-                       <id>sdkWithoutModules</id>
-               </profile>
-       </profiles>
 </project>
\ No newline at end of file
index 7f55f58e291e779533cb3780f2ebff3ad6e98823..c59c89cc85d27ae38ff4272fae44b709a9f4cb6e 100644 (file)
                        <version>0.13.1-SNAPSHOT</version>
                </dependency>
 
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.hibernate</artifactId>
+                       <version>0.13.1-SNAPSHOT</version>
+               </dependency>
+
+               <!-- SLC non deps -->
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.unit</artifactId>
+                       <version>0.13.1-SNAPSHOT</version>
+               </dependency>
+
+
+               <!-- Provided -->
+               <dependency>
+                       <groupId>org.apache.xmlcommons</groupId>
+                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>javax.xml.stream</groupId>
+                       <artifactId>com.springsource.javax.xml.stream</artifactId>
+               </dependency>
+
                <dependency>
                        <groupId>org.argeo.slc.server</groupId>
                        <artifactId>org.argeo.slc.ria</artifactId>
index a2b40fc93b072e95d39345c044302f41b08b1da6..de9dfecb74fb11dd8c9ec9d0d16cef487a363151 100644 (file)
                        <groupId>org.argeo.commons.eclipse</groupId>
                        <artifactId>org.argeo.eclipse.dep.rap</artifactId>
                        <version>${version.argeo-commons}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>org.mortbay.jetty.server</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.mortbay.jetty</groupId>
+                                       <artifactId>org.mortbay.jetty.server.util</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.eclipse.equinox</groupId>
+                                       <artifactId>org.eclipse.equinox.http.jetty</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
 
                <!-- Argeo common distribution for Secured UI -->
index bd8d7ee20a429d91f6781fba1dd6c7d4b447db81..f025ba72dd741485f24a419d4b0816395400944b 100644 (file)
                        <version>${version.argeo-commons}</version>
                </dependency>
 
-               <dependency>
-                       <groupId>org.argeo.slc.eclipse</groupId>
-                       <artifactId>org.argeo.slc.client.agent</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.eclipse</groupId>
-                       <artifactId>org.argeo.slc.client.hibernate</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.eclipse</groupId>
-                       <artifactId>org.argeo.slc.client.oxm</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.eclipse</groupId> -->
+<!--                   <artifactId>org.argeo.slc.client.agent</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.eclipse</groupId> -->
+<!--                   <artifactId>org.argeo.slc.client.hibernate</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.eclipse</groupId> -->
+<!--                   <artifactId>org.argeo.slc.client.oxm</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
 
                <dependency>
                        <groupId>org.argeo.slc.modules</groupId>
                        <artifactId>org.argeo.slc.agent</artifactId>
                        <version>${version.slc}</version>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.modules</groupId>
-                       <artifactId>org.argeo.slc.server.castor</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.modules</groupId>
-                       <artifactId>org.argeo.slc.server.h2</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.modules</groupId>
-                       <artifactId>org.argeo.slc.server.hibernate</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.modules</groupId>
-                       <artifactId>org.argeo.slc.server.services</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.modules</groupId> -->
+<!--                   <artifactId>org.argeo.slc.server.castor</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.modules</groupId> -->
+<!--                   <artifactId>org.argeo.slc.server.h2</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.modules</groupId> -->
+<!--                   <artifactId>org.argeo.slc.server.hibernate</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.modules</groupId> -->
+<!--                   <artifactId>org.argeo.slc.server.services</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
 
                <!-- Security UI -->
                <dependency>
index 9fe6f8f6e91b3fcbee5335ba85c3d617e14a469c..4c36c011893f34c2427a3c4412548d3d3c7f9d8b 100644 (file)
@@ -27,7 +27,6 @@ Import-Package: javax.jcr;version="2.0.0",
  org.argeo.jcr.spring,
  org.argeo.slc,
  org.argeo.slc.build,
- org.argeo.slc.client.oxm,
  org.argeo.slc.client.ui,
  org.argeo.slc.core.attachment,
  org.argeo.slc.core.execution,
index 1003ec754391864b5880d76ef57b619f29626220..b980384550f30d360c50a50afa6472a68c52901c 100644 (file)
 
        <dependencies>
                <!-- SLC Client UI -->
-               <dependency>
-                       <groupId>org.argeo.slc.eclipse</groupId>
-                       <artifactId>org.argeo.slc.client.oxm</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.slc.eclipse</groupId>
-                       <artifactId>org.argeo.slc.client.core</artifactId>
-                       <version>${version.slc}</version>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.eclipse</groupId> -->
+<!--                   <artifactId>org.argeo.slc.client.oxm</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.slc.eclipse</groupId> -->
+<!--                   <artifactId>org.argeo.slc.client.core</artifactId> -->
+<!--                   <version>${version.slc}</version> -->
+<!--           </dependency> -->
 
                <!-- SLC -->
                <dependency>
index ae28c63f24f9b715fc6424c97df39f2e80194b4c..008b65545cb23bc1e5af707656cb9287c4bf0fd8 100644 (file)
@@ -11,7 +11,6 @@ import org.apache.commons.io.IOUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.argeo.slc.SlcException;
-import org.argeo.slc.client.oxm.OxmInterface;
 import org.argeo.slc.client.ui.SlcImages;
 import org.argeo.slc.client.ui.controllers.ProcessController;
 import org.argeo.slc.client.ui.providers.ExecutionModulesContentProvider;
@@ -48,7 +47,7 @@ public class ExecutionModulesView extends ViewPart {
 
        // Ioc
        private IContentProvider contentProvider;
-       private OxmInterface oxmBean;
+       //private OxmInterface oxmBean;
        private ProcessController processController;
 
        public void createPartControl(Composite parent) {
@@ -196,10 +195,10 @@ public class ExecutionModulesView extends ViewPart {
                        realizedFlow.setExecutionSpec(fn.getExecutionFlowDescriptor()
                                        .getExecutionSpec());
 
-                       props.setProperty("RealizedFlowAsXml",
-                                       oxmBean.marshal(realizedFlow));
-                       System.out
-                                       .println(oxmBean.marshal(fn.getExecutionFlowDescriptor()));
+//                     props.setProperty("RealizedFlowAsXml",
+//                                     oxmBean.marshal(realizedFlow));
+//                     System.out
+//                                     .println(oxmBean.marshal(fn.getExecutionFlowDescriptor()));
 
                }
 
@@ -214,8 +213,8 @@ public class ExecutionModulesView extends ViewPart {
                this.processController = processController;
        }
 
-       public void setOxmBean(OxmInterface oxmBean) {
-               this.oxmBean = oxmBean;
-       }
+//     public void setOxmBean(OxmInterface oxmBean) {
+//             this.oxmBean = oxmBean;
+//     }
 
 }
\ No newline at end of file
index e8f6a66bf7014cc5f9c92bfe988f20e91825613d..c293cb38b40d5d7c41529df5a58fc3c6888047c9 100644 (file)
@@ -9,7 +9,6 @@ import java.util.UUID;
 
 import org.apache.commons.io.IOUtils;
 import org.argeo.slc.SlcException;
-import org.argeo.slc.client.oxm.OxmInterface;
 import org.argeo.slc.client.ui.ClientUiPlugin;
 import org.argeo.slc.client.ui.controllers.ProcessController;
 import org.argeo.slc.process.RealizedFlow;
@@ -61,7 +60,7 @@ public class ProcessBuilderView extends ViewPart {
        private int curSelectedRow = -1;
 
        // IoC
-       private OxmInterface oxmBean;
+       //private OxmInterface oxmBean;
        private ProcessController processController;
        private List<SlcAgent> slcAgents;
 
@@ -271,7 +270,7 @@ public class ProcessBuilderView extends ViewPart {
                        String fdXml = props.getProperty("RealizedFlowAsXml");
                        if (fdXml == null)
                                return false;
-                       RealizedFlow rf = (RealizedFlow) oxmBean.unmarshal(fdXml);
+                       RealizedFlow rf = null;//(RealizedFlow) oxmBean.unmarshal(fdXml);
                        realizedFlows.add(rf);
                        curSelectedRow = realizedFlows.indexOf(rf);
                        refreshParameterview();
@@ -291,9 +290,9 @@ public class ProcessBuilderView extends ViewPart {
                this.slcAgents = slcAgents;
        }
 
-       public void setOxmBean(OxmInterface oxmBean) {
-               this.oxmBean = oxmBean;
-       }
+//     public void setOxmBean(OxmInterface oxmBean) {
+//             this.oxmBean = oxmBean;
+//     }
 
        public void setProcessController(ProcessController processController) {
                this.processController = processController;
index 2e989c2b240e46f0dc193a392c2b6c1b4b1123e9..d2d8cadc6a251f560b1b6d0cd290e7ff78a5b3c8 100644 (file)
@@ -96,6 +96,7 @@
                <dependency>
                        <groupId>org.springframework.ws</groupId>
                        <artifactId>org.springframework.oxm</artifactId>
+                       <optional>true</optional>
                </dependency>
 
        </dependencies>
index 6b21b89c51d41f4744dd639229e14959b88ab153..d83de4513dac72da3b57154c830802b0ce549aee 100644 (file)
@@ -29,6 +29,8 @@
                                                        org.springframework.context.support,
                                                        org.tmatesoft.svn.*;resolution:=optional,
                                                        com.lowagie.*;resolution:=optional,
+                                                       com.springsource.json.*;resolution:=optional,
+                                                       org.springframework.oxm.*;resolution:=optional,
                                                        *
                                                </Import-Package>
                                        </instructions>
@@ -63,6 +65,7 @@
                <dependency>
                        <groupId>org.springframework.ws</groupId>
                        <artifactId>org.springframework.oxm</artifactId>
+                       <optional>true</optional>
                </dependency>
 
                <!-- Web -->
                        <groupId>com.springsource.json</groupId>
                        <artifactId>com.springsource.json</artifactId>
                        <version>1.0.1.RELEASE</version>
+                       <optional>true</optional>
                </dependency>
                <dependency>
                        <groupId>org.antlr</groupId>
                        <artifactId>com.springsource.org.antlr</artifactId>
+                       <optional>true</optional>
                </dependency>
 
                <!-- SVN -->
index 395238490d0abeba81103fa7964d59f8162add0d..61575c335af70e3e040c615197fe3190ec59d73e 100644 (file)
                        <groupId>org.argeo.dep.osgi</groupId>
                        <artifactId>org.argeo.dep.osgi.activemq</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.dep.osgi</groupId>
-                       <artifactId>org.argeo.dep.osgi.activemq.optional</artifactId>
-               </dependency>
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.dep.osgi</groupId> -->
+<!--                   <artifactId>org.argeo.dep.osgi.activemq.optional</artifactId> -->
+<!--           </dependency> -->
                <dependency>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>com.springsource.org.apache.activemq.pool</artifactId>
index 3d3dab3484948539c26ed679a9c3632f9d6a8081..011481a0557d18406b771dff905efc4eb225ffab 100644 (file)
                        <artifactId>org.argeo.dep.osgi.aether</artifactId>
                </dependency>
 
+               <dependency>
+                       <groupId>org.junit</groupId>
+                       <artifactId>com.springsource.junit</artifactId>
+               </dependency>
+
        </dependencies>
 </project>