[jbpm-commits] JBoss JBPM SVN: r4628 - in projects/gwt-console/trunk: server/src/main/java/org/jboss/bpm/console/server and 5 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Apr 27 08:23:21 EDT 2009


Author: heiko.braun at jboss.com
Date: 2009-04-27 08:23:21 -0400 (Mon, 27 Apr 2009)
New Revision: 4628

Added:
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/PluginMgr.java
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/TaskFormPlugin.java
   projects/gwt-console/trunk/workspace-api/
   projects/gwt-console/trunk/workspace-api/plugin.iml
   projects/gwt-console/trunk/workspace-api/pom.xml
   projects/gwt-console/trunk/workspace-api/src/
Removed:
   projects/gwt-console/trunk/plugin-api/
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/UserManagement.java
   projects/gwt-console/trunk/workspace-api/plugin.iml
   projects/gwt-console/trunk/workspace-api/pom.xml
   projects/gwt-console/trunk/workspace-api/src/
Modified:
   projects/gwt-console/trunk/pom.xml
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ManagementFactory.java
   projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/ServiceLoader.java
   projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskListFacade.java
   projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskMgmtFacade.java
Log:
Rename plugin-api to workspace-api

Modified: projects/gwt-console/trunk/pom.xml
===================================================================
--- projects/gwt-console/trunk/pom.xml	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/pom.xml	2009-04-27 12:23:21 UTC (rev 4628)
@@ -42,7 +42,7 @@
     <module>server-integration</module>
     <module>server</module>
     <module>war</module>
-    <module>plugin-api</module>
+    <module>workspace-api</module>
     <module>plugin-example</module>
   </modules>
 

Modified: projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskListFacade.java
===================================================================
--- projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskListFacade.java	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskListFacade.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -25,12 +25,17 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.bpm.console.client.model.TaskRefWrapper;
+import org.jboss.bpm.console.client.model.TaskRef;
 import org.jboss.bpm.console.server.gson.GsonFactory;
 import org.jboss.bpm.console.server.integration.ManagementFactory;
 import org.jboss.bpm.console.server.integration.TaskManagement;
+import org.jboss.bpm.console.server.plugin.TaskFormPlugin;
+import org.jboss.bpm.console.server.plugin.PluginMgr;
 
 import javax.ws.rs.*;
 import javax.ws.rs.core.Response;
+import java.util.List;
+import java.net.URL;
 
 /**
  * REST server module for accessing task related data.
@@ -43,6 +48,7 @@
   private static final Log log = LogFactory.getLog(TaskMgmtFacade.class);
 
   private TaskManagement taskManagement;
+  private TaskFormPlugin formPlugin;
 
   /**
    * Lazy load the {@link org.jboss.bpm.console.server.integration.TaskManagement}
@@ -59,6 +65,20 @@
     return this.taskManagement;
   }
 
+  /**
+   * Lazy load the {@link org.jboss.bpm.console.server.integration.TaskManagement}
+   */
+  private TaskFormPlugin getTaskFormPlugin()
+  {
+    if(null==this.formPlugin)
+    {
+      this.formPlugin = PluginMgr.load(TaskFormPlugin.class);
+      log.debug("Using TaskFormPlugin impl:" + this.formPlugin);
+    }
+
+    return this.formPlugin;
+  }
+
   @GET
   @Path("{idRef}")
   @Produces("application/json")
@@ -67,8 +87,23 @@
       String idRef
   )
   {
-    TaskRefWrapper wrapper =
-        new TaskRefWrapper(getTaskManagement().getTasksForIdentity(idRef));
+    List<TaskRef> refs = getTaskManagement().getTasksForIdentity(idRef);
+
+    // decorate task form URL if plugin available
+    TaskFormPlugin formPlugin = getTaskFormPlugin();
+    if(formPlugin!=null)
+    {
+      for(TaskRef task : refs)
+      {
+        URL taskFormURL = formPlugin.resolveURLForTask(task);
+        if(taskFormURL!=null)
+        {
+          task.setUrl(taskFormURL.toExternalForm());
+        }
+      }
+    }
+    
+    TaskRefWrapper wrapper = new TaskRefWrapper(refs);
     return createJsonResponse(wrapper);
   }
 

Modified: projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskMgmtFacade.java
===================================================================
--- projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskMgmtFacade.java	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/server/src/main/java/org/jboss/bpm/console/server/TaskMgmtFacade.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -21,13 +21,11 @@
  */
 package org.jboss.bpm.console.server;
 
-import com.google.gson.Gson;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.jboss.bpm.console.client.model.TaskRefWrapper;
-import org.jboss.bpm.console.server.gson.GsonFactory;
 import org.jboss.bpm.console.server.integration.ManagementFactory;
 import org.jboss.bpm.console.server.integration.TaskManagement;
+import org.jboss.bpm.console.server.integration.TaskFormManagement;
 
 import javax.ws.rs.*;
 import javax.ws.rs.core.Response;
@@ -42,7 +40,7 @@
 {
   private static final Log log = LogFactory.getLog(TaskMgmtFacade.class);
 
-  private TaskManagement taskManagement;
+  private TaskManagement taskManagement;  
 
   /**
    * Lazy load the {@link org.jboss.bpm.console.server.integration.TaskManagement}

Modified: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ManagementFactory.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ManagementFactory.java	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/ManagementFactory.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -48,6 +48,4 @@
 
   public abstract TaskManagement createTaskManagement();
 
-  public abstract UserManagement createUserManagement();
-  
 }

Deleted: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/UserManagement.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/UserManagement.java	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/integration/UserManagement.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.console.server.integration;
-
-import java.util.List;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface UserManagement
-{
-   List<String> getGroupsForActor(String actorId);
-   
-   List<String> getActorsForGroup(String groupName);
-}

Added: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/PluginMgr.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/PluginMgr.java	                        (rev 0)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/PluginMgr.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.console.server.plugin;
+
+import org.jboss.bpm.console.server.util.ServiceLoader;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class PluginMgr
+{
+  /**
+   * Load a plugin through the {@link org.jboss.bpm.console.server.util.ServiceLoader}.
+   * The plugin class name acts as the service key.
+   *
+   * @param type plugin interface
+   * @return a plugin implementation of type T
+   */
+  public static <T> T load(Class<T> type)
+  {
+    T pluginImpl = (T) ServiceLoader.loadService(
+        type.getName(), null
+    );
+    return pluginImpl;
+  }
+}

Added: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/TaskFormPlugin.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/TaskFormPlugin.java	                        (rev 0)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/plugin/TaskFormPlugin.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.console.server.plugin;
+
+import org.jboss.bpm.console.client.model.TaskRef;
+
+import java.net.URL;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public interface TaskFormPlugin
+{
+  /**   
+   * @param task
+   * @return a URL or null if the task doesn't have an associated form 
+   */
+  URL resolveURLForTask(TaskRef task);                                      
+}

Modified: projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/ServiceLoader.java
===================================================================
--- projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/ServiceLoader.java	2009-04-27 07:57:29 UTC (rev 4627)
+++ projects/gwt-console/trunk/server-integration/src/main/java/org/jboss/bpm/console/server/util/ServiceLoader.java	2009-04-27 12:23:21 UTC (rev 4628)
@@ -27,7 +27,7 @@
 import java.util.Properties;
 
 /**
- * Load a service class using this ordered lookup procedure
+ * Load a service class using a ordered lookup procedure
  *
  * @author Thomas.Diesler at jboss.com
  * @since 14-Dec-2006

Copied: projects/gwt-console/trunk/workspace-api (from rev 4605, projects/gwt-console/trunk/plugin-api)

Deleted: projects/gwt-console/trunk/workspace-api/plugin.iml
===================================================================
--- projects/gwt-console/trunk/plugin-api/plugin.iml	2009-04-22 13:23:11 UTC (rev 4605)
+++ projects/gwt-console/trunk/workspace-api/plugin.iml	2009-04-27 12:23:21 UTC (rev 4628)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="true" type="JAVA_MODULE">
-  <component name="ModuleRootManager" />
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="gwt-rpc" exported="" />
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.gwtext:gwtext:jar:2.0.5:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.2:provided">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.2/gwt-user-1.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.code.gwt-log:gwt-log:jar:2.5.2:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gwt-log/gwt-log/2.5.2/gwt-log-2.5.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntryProperties />
-  </component>
-</module>
-

Copied: projects/gwt-console/trunk/workspace-api/plugin.iml (from rev 4627, projects/gwt-console/trunk/plugin-api/plugin.iml)
===================================================================
--- projects/gwt-console/trunk/workspace-api/plugin.iml	                        (rev 0)
+++ projects/gwt-console/trunk/workspace-api/plugin.iml	2009-04-27 12:23:21 UTC (rev 4628)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+  <component name="ModuleRootManager" />
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="gwt-rpc" exported="" />
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.google.code.gwt-log:gwt-log:jar:2.5.2:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gwt-log/gwt-log/2.5.2/gwt-log-2.5.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.activation:activation:jar:1.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-dnd:jar:0.1.9:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic-dnd/0.1.9/gwt-mosaic-dnd-0.1.9.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic:jar:0.1.9:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic/0.1.9/gwt-mosaic-0.1.9.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.google.gwt:gwt-user:jar:1.5.3:provided">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/gwt/gwt-user/1.5.3/gwt-user-1.5.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-incubator:jar:0.1.9:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic-incubator/0.1.9/gwt-mosaic-incubator-0.1.9.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.googlecode.gwtmosaic:gwt-mosaic-gwtx:jar:0.1.9:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/googlecode/gwtmosaic/gwt-mosaic-gwtx/0.1.9/gwt-mosaic-gwtx-0.1.9.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-collections:commons-collections:jar:3.2.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-logging:commons-logging:jar:1.1.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-lang:commons-lang:jar:2.4:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-digester:commons-digester:jar:1.8:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.googlecode.mvc4g:mvc4g:jar:1.0.0-jboss:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/googlecode/mvc4g/mvc4g/1.0.0-jboss/mvc4g-1.0.0-jboss.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-beanutils:commons-beanutils:jar:1.7.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-configuration:commons-configuration:jar:1.6:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-beanutils:commons-beanutils-core:jar:1.8.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntryProperties />
+  </component>
+</module>
+

Deleted: projects/gwt-console/trunk/workspace-api/pom.xml
===================================================================
--- projects/gwt-console/trunk/plugin-api/pom.xml	2009-04-22 13:23:11 UTC (rev 4605)
+++ projects/gwt-console/trunk/workspace-api/pom.xml	2009-04-27 12:23:21 UTC (rev 4628)
@@ -1,89 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-  <modelVersion>4.0.0</modelVersion>
-  <name>JBoss BPM - GWT Console (Plugin-API)</name>
-  <groupId>org.jboss.bpm</groupId>
-  <artifactId>gwt-console-plugin-api</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jboss.bpm</groupId>
-    <artifactId>gwt-console-parent</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-
-  <properties>
-    <jaxb.version>2.1</jaxb.version>
-  </properties>
-  <!--  Dependencies -->
-  <dependencies>
-
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-rpc</artifactId>
-      <version>${version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>${jaxb.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>com.google.gwt</groupId>
-      <artifactId>gwt-user</artifactId>
-      <version>${gwt.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>com.gwtext</groupId>
-      <artifactId>gwtext</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>com.google.code.gwt-log</groupId>
-      <artifactId>gwt-log</artifactId>
-    </dependency>
-
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <showDeprecation>true</showDeprecation>
-          <showWarnings>true</showWarnings>
-          <optimize>true</optimize>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>

Copied: projects/gwt-console/trunk/workspace-api/pom.xml (from rev 4627, projects/gwt-console/trunk/plugin-api/pom.xml)
===================================================================
--- projects/gwt-console/trunk/workspace-api/pom.xml	                        (rev 0)
+++ projects/gwt-console/trunk/workspace-api/pom.xml	2009-04-27 12:23:21 UTC (rev 4628)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <name>JBoss BPM - GWT Console (Plugin-API)</name>
+  <groupId>org.jboss.bpm</groupId>
+  <artifactId>gwt-console-plugin-api</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jboss.bpm</groupId>
+    <artifactId>gwt-console-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <properties>
+    <jaxb.version>2.1</jaxb.version>
+  </properties>
+  <!--  Dependencies -->
+  <dependencies>
+
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-rpc</artifactId>
+      <version>${version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxb.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>com.google.gwt</groupId>
+      <artifactId>gwt-user</artifactId>
+      <version>${gwt.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>com.google.code.gwt-log</groupId>
+      <artifactId>gwt-log</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>com.googlecode.gwtmosaic</groupId>
+      <artifactId>gwt-mosaic</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.googlecode.gwtmosaic</groupId>
+      <artifactId>gwt-mosaic-dnd</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.googlecode.gwtmosaic</groupId>
+      <artifactId>gwt-mosaic-incubator</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.googlecode.gwtmosaic</groupId>
+      <artifactId>gwt-mosaic-gwtx</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>com.googlecode.mvc4g</groupId>
+      <artifactId>mvc4g</artifactId>
+    </dependency>
+
+    <!-- 3rd party -->
+
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>commons-configuration</groupId>
+      <artifactId>commons-configuration</artifactId>
+    </dependency>
+
+
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          <showDeprecation>true</showDeprecation>
+          <showWarnings>true</showWarnings>
+          <optimize>true</optimize>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Copied: projects/gwt-console/trunk/workspace-api/src (from rev 4627, projects/gwt-console/trunk/plugin-api/src)




More information about the jbpm-commits mailing list