JBoss JBPM SVN: r5934 - jbpm4/trunk/modules/test-enterprise/test-enterprise-suite.
by do-not-reply@jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-12-08 22:19:28 -0500 (Tue, 08 Dec 2009)
New Revision: 5934
Added:
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/pom.xml
Log:
initial upload of the jbpm-test-enterprise-suite module
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/pom.xml (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/pom.xml 2009-12-09 03:19:28 UTC (rev 5934)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id: pom.xml 5319 2009-07-17 10:03:46Z tom.baeyens(a)jboss.com $ -->
+
+<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>
+
+ <name>jBPM 4 - Test Enterprise</name>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm-test-enterprise-suite</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm</artifactId>
+ <version>4.3-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm-test-enterprise-ejb</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>cactus</groupId>
+ <artifactId>cactus.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss JBPM SVN: r5933 - in jbpm4/trunk/modules/test-enterprise/test-enterprise-suite: src and 6 other directories.
by do-not-reply@jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-12-08 22:19:04 -0500 (Tue, 08 Dec 2009)
New Revision: 5933
Added:
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/EjbTest.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/JmsTest.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/cactus.properties
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/jbpm-destinations-service.xml
Log:
initial upload of the jbpm-test-enterprise-suite module
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/EjbTest.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/EjbTest.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/EjbTest.java 2009-12-09 03:19:04 UTC (rev 5933)
@@ -0,0 +1,20 @@
+package org.jbpm.test;
+
+import org.apache.cactus.ServletTestSuite;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+
+public class EjbTest extends TestCase {
+
+ public static Test suite() {
+ ServletTestSuite servletTestSuite = new ServletTestSuite();
+ servletTestSuite.addTestSuite(EjbTest.class);
+ return servletTestSuite;
+ }
+
+ public void testEjbInvocation() {
+ throw new RuntimeException();
+ }
+
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/EjbTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/JmsTest.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/JmsTest.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/JmsTest.java 2009-12-09 03:19:04 UTC (rev 5933)
@@ -0,0 +1,16 @@
+package org.jbpm.test;
+
+import org.apache.cactus.ServletTestSuite;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+
+public class JmsTest extends TestCase {
+
+ public static Test suite() {
+ ServletTestSuite servletTestSuite = new ServletTestSuite();
+ servletTestSuite.addTestSuite(JmsTest.class);
+ return servletTestSuite;
+ }
+
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/java/org/jbpm/test/JmsTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/cactus.properties
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/cactus.properties (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/cactus.properties 2009-12-09 03:19:04 UTC (rev 5933)
@@ -0,0 +1 @@
+cactus.contextURL=http://localhost:8080/jbpm-test-enterprise-suite
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/cactus.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/jbpm-destinations-service.xml
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/jbpm-destinations-service.xml (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/jbpm-destinations-service.xml 2009-12-09 03:19:04 UTC (rev 5933)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=jbpm-test"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
\ No newline at end of file
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/src/test/resources/jbpm-destinations-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss JBPM SVN: r5932 - jbpm4/trunk/modules/test-enterprise.
by do-not-reply@jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-12-08 22:16:54 -0500 (Tue, 08 Dec 2009)
New Revision: 5932
Added:
jbpm4/trunk/modules/test-enterprise/test-enterprise-suite/
Log:
initial creation of the jbpm-test-enterprise-suite module
16 years, 4 months
JBoss JBPM SVN: r5931 - in jbpm4/trunk/modules/test-enterprise: test-enterprise-ejb and 12 other directories.
by do-not-reply@jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-12-08 22:13:39 -0500 (Tue, 08 Dec 2009)
New Revision: 5931
Added:
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.classpath
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.project
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.eclipse.jdt.core.prefs
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.maven.ide.eclipse.prefs
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/pom.xml
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/TestMDB.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/Calculator.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorBean.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorLocal.java
jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorRemote.java
Log:
initial upload of the jbpm-test-enterprise-ejb module
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.classpath
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.classpath (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.classpath 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <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.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.project
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.project (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.project 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jbpm-test-enterprise-ejb</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.eclipse.jdt.core.prefs 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,5 @@
+#Mon Dec 07 21:28:24 EST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.maven.ide.eclipse.prefs (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.maven.ide.eclipse.prefs 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,9 @@
+#Mon Dec 07 21:28:20 EST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=true
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/.settings/org.maven.ide.eclipse.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/pom.xml (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/pom.xml 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+ <artifactId>jbpm-test-enterprise-ejb</artifactId>
+ <packaging>jar</packaging>
+ <name>jBPM Test Enterprise EJB</name>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm</artifactId>
+ <version>4.3-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+</project>
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/TestMDB.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/TestMDB.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/TestMDB.java 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,21 @@
+package org.jbpm.test.enterprise.mdb.bean;
+
+import javax.ejb.MessageDriven;
+import javax.ejb.ActivationConfigProperty;
+import javax.jms.Message;
+import javax.jms.MessageListener;
+
+@MessageDriven(activationConfig = {
+ @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
+ @ActivationConfigProperty(propertyName="destination", propertyValue="queue/jbpm-test")
+})
+public class TestMDB implements MessageListener
+{
+ public void onMessage(Message recvMsg)
+ {
+ System.out.println("----------------");
+ System.out.println("Received message");
+ System.out.println("----------------");
+ }
+
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/mdb/bean/TestMDB.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/Calculator.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/Calculator.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/Calculator.java 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,8 @@
+package org.jbpm.test.enterprise.stateless.bean;
+
+public interface Calculator
+{
+ int add(int x, int y);
+
+ int subtract(int x, int y);
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/Calculator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorBean.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorBean.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorBean.java 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,17 @@
+package org.jbpm.test.enterprise.stateless.bean;
+
+import javax.ejb.Stateless;
+
+@Stateless
+public class CalculatorBean implements CalculatorRemote, CalculatorLocal
+{
+ public int add(int x, int y)
+ {
+ return x + y;
+ }
+
+ public int subtract(int x, int y)
+ {
+ return x - y;
+ }
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorLocal.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorLocal.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorLocal.java 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,9 @@
+package org.jbpm.test.enterprise.stateless.bean;
+
+import javax.ejb.Local;
+
+
+@Local
+public interface CalculatorLocal extends Calculator
+{
+}
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorLocal.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorRemote.java
===================================================================
--- jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorRemote.java (rev 0)
+++ jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorRemote.java 2009-12-09 03:13:39 UTC (rev 5931)
@@ -0,0 +1,10 @@
+package org.jbpm.test.enterprise.stateless.bean;
+
+import javax.ejb.Remote;
+
+
+@Remote
+public interface CalculatorRemote extends Calculator
+{
+
+}
\ No newline at end of file
Property changes on: jbpm4/trunk/modules/test-enterprise/test-enterprise-ejb/src/main/java/org/jbpm/test/enterprise/stateless/bean/CalculatorRemote.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss JBPM SVN: r5929 - jbpm4/trunk/qa.
by do-not-reply@jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-12-08 22:06:48 -0500 (Tue, 08 Dec 2009)
New Revision: 5929
Added:
jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh
Modified:
jbpm4/trunk/qa/build.xml
Log:
script to setup testsuite for ejb and jms activities
Modified: jbpm4/trunk/qa/build.xml
===================================================================
--- jbpm4/trunk/qa/build.xml 2009-12-09 03:01:46 UTC (rev 5928)
+++ jbpm4/trunk/qa/build.xml 2009-12-09 03:06:48 UTC (rev 5929)
@@ -105,7 +105,7 @@
</target>
<!-- JBOSS SETUP -->
- <target name="testsuite.jboss.setup"
+ <target name="testsuite.jboss.setup"
depends="reinstall.jbpm"
description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
<ant antfile="${jbpm.home}/install/build.xml" target="reinstall.jboss" />
@@ -136,8 +136,8 @@
<fileset dir="cactus.webapp.cfg" />
</copy>
- <!-- delete the jbpm configuration files -->
- <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
+ <!-- delete the jbpm configuration files -->
+ <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
<delete file="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib/jta.jar" />
<!-- add examples.jar -->
@@ -163,7 +163,69 @@
<ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
<ant antfile="${jbpm.home}/install/build.xml" target="internal.stop.hsqldb.server.if.needed" />
</target>
+
+ <!-- ENTERPRISE SETUP -->
+ <target name="testsuite.enterprise.setup"
+ depends="reinstall.jbpm"
+ description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
+ <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="install.jbpm.into.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="internal.install.and.start.hsqldb.if.needed" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+
+ <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+ <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+ <copy file="${jbpm.home}/examples/target/examples.jar"
+ todir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+
+ <!-- to build the jbpm test webapp we start by copying the user webapp -->
+ <mkdir dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" />
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war">
+ <fileset dir="${jbpm.home}/install/generated/user-webapp"/>
+ </copy>
+
+ <!-- customize the jbpm configuration for the testsuite -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm/jbpm-service.sar" overwrite="true">
+ <fileset dir="jboss.jbpm.cfg" />
+ </copy>
+
+ <!-- customize the configuration for the jbpm-test-webapp -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" overwrite="true">
+ <fileset dir="cactus.webapp.cfg" />
+ </copy>
+
+ <!-- delete the jbpm configuration files -->
+ <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
+ <delete file="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib/jta.jar" />
+
+ <!-- add examples.jar -->
+ <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+ <copy file="${jbpm.home}/examples/target/examples.jar" todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+ <!-- add junit.jar -->
+ <copy file="${jbpm.home}/lib/junit.jar" todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+ <!-- add the cactus libs -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib">
+ <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
+ </copy>
+
+ <!-- start jboss -->
+ <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
+ </target>
+
+
+ <!-- ENTERPRISE TEARDOWN -->
+ <target name="testsuite.enterprise.teardown"
+ description="drops the jbpm schema and stops jboss">
+ <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="internal.stop.hsqldb.server.if.needed" />
+ </target>
+
+
<!-- ################ -->
<!-- ### UPGRADE ### -->
<!-- ################ -->
Added: jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh (rev 0)
+++ jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh 2009-12-09 03:06:48 UTC (rev 5929)
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# runs the jboss integration test suite
+
+MAVEN_OPTS="-Xms1024M -Xmx1024M"
+ANT_PROPERTIES="-Djboss.version=$JBOSS_VERSION -Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss"
+echo ANT_PROPERTIES=${ANT_PROPERTIES}
+
+#echo just in case the previous run didnt complete ok, we stop jboss
+#ant -f modules/distro/src/main/files/install/build.xml $ANT_PROPERTIES reinstall.jboss
+#ant -f modules/distro/src/main/files/install/build.xml $ANT_PROPERTIES stop.jboss
+
+mvn -U -Pdistro,integration clean install
+ant -f qa/build.xml $ANT_PROPERTIES testsuite.enterprise.setup
+
+cd modules/test-enterprise-suite
+mvn -Pruntest test
+cd ../..
+
+#ant -f qa/build.xml $ANT_PROPERTIES testsuite.enterprise.teardown
Property changes on: jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh
___________________________________________________________________
Name: svn:executable
+ *
16 years, 4 months
JBoss JBPM SVN: r5928 - projects/jsf-console/branches/jsf-console-3.2-soa.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-12-08 22:01:46 -0500 (Tue, 08 Dec 2009)
New Revision: 5928
Modified:
projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml
Log:
JBPM-2678: upgrade jbpm.version to 3.2.8 in jsf-console
Modified: projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml 2009-12-09 03:00:01 UTC (rev 5927)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml 2009-12-09 03:01:46 UTC (rev 5928)
@@ -40,7 +40,7 @@
<javax.el.version>1.2</javax.el.version>
<javax.faces.version>1.2_03</javax.faces.version>
<javax.servlet.version>2.5</javax.servlet.version>
- <jbpm.version>3.2.5.GA</jbpm.version>
+ <jbpm.version>3.2.8</jbpm.version>
<jboss.gravel.version>1.0.0.GA</jboss.gravel.version>
<junit.version>3.8.1</junit.version>
<sun.facelets.version>1.1.15.B1</sun.facelets.version>
16 years, 4 months
JBoss JBPM SVN: r5927 - jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en/modules.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-12-08 22:00:01 -0500 (Tue, 08 Dec 2009)
New Revision: 5927
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en/modules/persistence.xml
Log:
minor edit to userguide persistence chapter
Modified: jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en/modules/persistence.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en/modules/persistence.xml 2009-12-08 14:25:34 UTC (rev 5926)
+++ jbpm3/branches/jbpm-3.2-soa/modules/userguide/src/main/docbook/en/modules/persistence.xml 2009-12-09 03:00:01 UTC (rev 5927)
@@ -46,10 +46,8 @@
jbpmContext.close();
}</programlisting>
- <para>In what follows, we suppose that the configuration includes a persistence
- service similar to this one (as in the example configuration file
- <literal>src/config.files/jbpm.cfg.xml</literal>):
- </para>
+ <para>In the following sections, the configuration is assumed to include a persistence
+ service as shown below.</para>
<programlisting><jbpm-configuration>
@@ -59,8 +57,10 @@
</jbpm-context>
...
</jbpm-configuration></programlisting>
+ </section>
- </section><section id="conveniencemethodsonjbpmcontext"><title>Convenience methods on JbpmContext</title>
+ <section id="conveniencemethodsonjbpmcontext">
+ <title>Convenience methods on JbpmContext</title>
<para>The three most common persistence operations are:
<itemizedlist>
@@ -135,32 +135,28 @@
}</programlisting>
<para>Just as background information, the next part is an explanation of how jBPM manages
- the persistence and uses hibernate.
+ the persistence through Hibernate.
</para>
- <para>The <literal>JbpmConfiguration</literal> maintains a set of
- <literal>ServiceFactory</literal>s. The service factories are configured in the
- <literal>jbpm.cfg.xml</literal> as shown above and instantiated lazy. The
- <literal>DbPersistenceServiceFactory</literal> is only instantiated the first time
- when it is needed. After that, service factories are maintained in the
- <literal>JbpmConfiguration</literal>. A <literal>DbPersistenceServiceFactory</literal>
- manages a hibernate <literal>SessionFactory</literal>. But also the hibernate
- session factory is created lazy when requested the first time.
+ <para>The <literal>JbpmConfiguration</literal> maintains a list of
+ <literal>ServiceFactory</literal> instances. The service factories are configured in
+ <literal>jbpm.cfg.xml</literal> and instantiated as needed.
+ The <literal>DbPersistenceServiceFactory</literal> manages a Hibernate
+ <literal>SessionFactory</literal>. The session factory is built on demand as well,
+ since not every operation in <literal>DbPersistenceServiceFactory</literal> requires it.
</para>
<figure id="persistence.api.image">
- <title>The persistence related classes</title>
+ <title>Classes related to persistence</title>
<mediaobject><imageobject><imagedata align="center" fileref="images/persistence.api.gif"/></imageobject></mediaobject>
</figure>
<para>During the invocation of <literal>jbpmConfiguration.createJbpmContext()</literal>,
- only the <literal>JbpmContext</literal> is created. No further persistence related
- initializations are done at that time. The <literal>JbpmContext</literal> manages
- a <literal>DbPersistenceService</literal>, which is instantiated upon first request.
- The <literal>DbPersistenceService</literal> manages the hibernate session. Also the
- hibernate session inside the <literal>DbPersistenceService</literal> is created lazy.
- As a result, a hibernate session will be only be opened when the first operation is
- invoked that requires persistence and not earlier.
+ only the <literal>JbpmContext</literal> is created. No further persistence related
+ initializations are done at that time. The <literal>JbpmContext</literal> maintains
+ a sequence of <literal>Service</literal> instances, created as needed.
+ The <literal>DbPersistenceService</literal> wraps a Hibernate session
+ which is opened when the first persistence operation is performed.
</para>
</section><section id="managedtransactions"><title>Managed transactions</title>
16 years, 4 months
JBoss JBPM SVN: r5926 - in jbpm4/trunk/modules/distro/src/main/files: install and 1 other directory.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-12-08 09:25:34 -0500 (Tue, 08 Dec 2009)
New Revision: 5926
Modified:
jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
jbpm4/trunk/modules/distro/src/main/files/install/build.xml
Log:
JBPM-2006 fixing the jboss installation
Modified: jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2009-12-08 13:30:20 UTC (rev 5925)
+++ jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2009-12-08 14:25:34 UTC (rev 5926)
@@ -72,6 +72,7 @@
<exclude name="org/jbpm/examples/java/process.jpdl.xml" />
<exclude name="org/jbpm/examples/task/notification process.jpdl.xml" />
<exclude name="org/jbpm/examples/task/reminder process.jpdl.xml" />
+ <exclude name="org/jbpm/examples/rulesdecision/process.jpdl.xml" />
</fileset>
</jar>
<taskdef name="jbpm-deploy" classname="org.jbpm.pvm.internal.ant.JbpmDeployTask" classpathref="jbpm.libs.incl.dependencies" />
Modified: jbpm4/trunk/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-12-08 13:30:20 UTC (rev 5925)
+++ jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-12-08 14:25:34 UTC (rev 5926)
@@ -293,17 +293,6 @@
</fileset>
</copy>
- <copy todir="${jboss.server.config.dir}/lib" overwrite="true">
- <fileset dir="${jbpm.home}">
- <include name="jbpm.jar" />
- </fileset>
- <fileset dir="${jbpm.home}/lib">
- <include name="gwt-console-server-integration.jar" />
- <include name="gwt-console-rpc.jar" />
- <include name="jbpm-jboss.jar" />
- </fileset>
- </copy>
-
<copy todir="${jboss.server.config.dir}/deploy/jbpm" overwrite="true">
<fileset dir="${jbpm.home}/lib">
<include name="gwt-console-jbpm.war" />
@@ -312,14 +301,28 @@
</copy>
<copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
+ <fileset dir="${jbpm.home}">
+ <include name="jbpm.jar" />
+ </fileset>
<fileset dir="${jbpm.home}/lib">
+ <include name="antlr-runtime.jar" />
+ <include name="core.jar" />
+ <include name="drools-api.jar" />
+ <include name="drools-core.jar" />
+ <include name="drools-compiler.jar" />
+ <include name="freemarker.jar" />
+ <include name="groovy-all.jar" />
+ <include name="gwt-console-server-integration.jar" />
+ <include name="gwt-console-rpc.jar" />
+ <include name="janino.jar" />
+ <include name="jbpm-jboss.jar" />
<include name="jbpm-console-integration.jar" />
<include name="jbpm-console-form-plugin.jar" />
<include name="jbpm-console-graphView-plugin.jar"/>
- <include name="freemarker.jar" />
+ <include name="joda-time.jar" />
+ <include name="juel*.jar" />
<include name="livetribe-jsr223.jar" />
- <include name="juel*.jar" />
- <include name="groovy-all.jar" />
+ <include name="mvel2.jar" />
</fileset>
</copy>
16 years, 4 months
JBoss JBPM SVN: r5925 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task.
by do-not-reply@jboss.org
Author: jbarrez
Date: 2009-12-08 08:30:20 -0500 (Tue, 08 Dec 2009)
New Revision: 5925
Added:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java
Log:
Fix for JBPM-2492 : improve task outcomes
Added: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java (rev 0)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java 2009-12-08 13:30:20 UTC (rev 5925)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jbpm.pvm.internal.task;
+
+/**
+ * Class containing static constants regarding tasks.
+ *
+ * @author Joram Barrez
+ */
+public final class TaskConstants {
+
+ private TaskConstants() {}
+
+ /**
+ * Only to be used internally!
+ * This constant is used when completing a task and not specifying
+ * an outcome.
+ *
+ * IMPORTANT: end-users cannot use this String as the name of an
+ * outgoing transition on a task!
+ */
+ public static final String NO_TASK_OUTCOME_SPECIFIED = "jbpm_no_task_outcome_specified_jbpm";
+
+}
16 years, 4 months