JBoss JBPM SVN: r2023 - in jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704: enterprise/src/main/java and 2 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2008-08-26 21:02:31 -0400 (Tue, 26 Aug 2008)
New Revision: 2023
Added:
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/overview.html
Modified:
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/build.xml
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/identity/build.xml
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/jar/build.xml
Log:
reestablished javadoc overview page
Modified: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/build.xml
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/build.xml 2008-08-27 01:00:05 UTC (rev 2022)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/build.xml 2008-08-27 01:02:31 UTC (rev 2023)
@@ -128,7 +128,7 @@
<target name="generate.javadoc" depends="define.libs.classpath" unless="enterprise.javadoc.uptodate">
<javadoc destdir="target/javadoc"
windowtitle="jBPM Enterpise ${lib.jbpm.jpdl.version}"
- overview="src/main/java/package.html">
+ overview="src/main/java/overview.html">
<classpath>
<path location="${lib.jbpm.jpdl.jar.local}" />
<path refid="libs.classpath" />
Added: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/overview.html
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/overview.html (rev 0)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/overview.html 2008-08-27 01:02:31 UTC (rev 2023)
@@ -0,0 +1,4 @@
+<body>
+ <h1>API documentation for JBPM - Java Business Process Management</h1>
+ <p>More information can be found at <a href="http://www.jbpm.org">http://www.jbpm.org</a></p>
+</body>
\ No newline at end of file
Modified: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/identity/build.xml
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/identity/build.xml 2008-08-27 01:00:05 UTC (rev 2022)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/identity/build.xml 2008-08-27 01:02:31 UTC (rev 2023)
@@ -110,7 +110,7 @@
unless="identity.javadoc.uptodate">
<javadoc destdir="target/javadoc"
windowtitle="jBPM Identity ${lib.jbpm.identity.version}"
- overview="src/main/java/package.html">
+ overview="src/main/java/overview.html">
<classpath>
<path location="${lib.jbpm.jpdl.jar.local}" />
<path refid="libs.classpath" />
Modified: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/jar/build.xml
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/jar/build.xml 2008-08-27 01:00:05 UTC (rev 2022)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/jar/build.xml 2008-08-27 01:02:31 UTC (rev 2023)
@@ -156,7 +156,7 @@
<target name="generate.javadoc" depends="define.libs.classpath" unless="jpdl.javadoc.uptodate">
<javadoc destdir="target/javadoc"
windowtitle="jBPM jPDL ${lib.jbpm.jpdl.version}"
- overview="src/main/java/package.html">
+ overview="src/main/java/overview.html">
<classpath>
<path refid="libs.classpath" />
</classpath>
17 years, 8 months
JBoss JBPM SVN: r2022 - jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2008-08-26 21:00:05 -0400 (Tue, 26 Aug 2008)
New Revision: 2022
Modified:
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/JobListenerBean.java
Log:
fixed unmappable character and javadoc warnings
Modified: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java 2008-08-27 00:59:24 UTC (rev 2021)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java 2008-08-27 01:00:05 UTC (rev 2022)
@@ -190,7 +190,7 @@
/*
* if the connection supports xa, the session will be transacted, else the
* session will auto acknowledge; in either case no explicit transaction
- * control must be performed - see ejb 2.1 �17.3.5
+ * control must be performed - see ejb 2.1 section 17.3.5
*/
return jmsConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);
}
Modified: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/JobListenerBean.java
===================================================================
--- jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/JobListenerBean.java 2008-08-27 00:59:24 UTC (rev 2021)
+++ jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/enterprise/src/main/java/org/jbpm/ejb/impl/JobListenerBean.java 2008-08-27 01:00:05 UTC (rev 2022)
@@ -6,11 +6,12 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jbpm.command.Command;
+import org.jbpm.job.Job;
/**
- * Message-driven bean that listens for {@link Message messages} containing
- * a reference to a pending {@linkplain Job job. to support asynchronous
- * continuations.
+ * Message-driven bean that listens for {@linkplain Message messages}
+ * containing a reference to a pending {@linkplain Job job} to support
+ * asynchronous continuations.
*
* The message must have a property called <code>jobId</code> of type
* <code>long</code> which references a pending <literal>Job</literal>
17 years, 8 months
JBoss JBPM SVN: r2021 - in jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704: jbpm4jsf and 6 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2008-08-26 20:59:24 -0400 (Tue, 26 Aug 2008)
New Revision: 2021
Modified:
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/console/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jbpm4jsf/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/db/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/businesstrip/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/raise/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/websale/
jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/userguide/
Log:
excluded target directories from version control
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/console
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jbpm4jsf
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/db
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/businesstrip
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/raise
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/examples/websale
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: jbpm3/branches/jpdl-3.2.3.GA_JBPM-1704/jpdl/userguide
___________________________________________________________________
Name: svn:ignore
+ target
17 years, 8 months
JBoss JBPM SVN: r2020 - jbpm3/trunk/modules/jpdl/integration.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 13:30:02 -0400 (Tue, 26 Aug 2008)
New Revision: 2020
Modified:
jbpm3/trunk/modules/jpdl/integration/pom.xml
Log:
layout
Modified: jbpm3/trunk/modules/jpdl/integration/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 17:13:23 UTC (rev 2019)
+++ jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 17:30:02 UTC (rev 2020)
@@ -10,11 +10,8 @@
<!-- ====================================================================== -->
<!-- $Id$ -->
-
-<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">
+<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>JBoss jBPM - jPDL CTS Integration</name>
<groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-jpdl-integration</artifactId>
@@ -51,7 +48,6 @@
<version>${version}</version>
</dependency>
</dependencies>
-
<build>
<plugins>
<plugin>
@@ -85,33 +81,32 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/jboss/bpm/**/*DescriptorTest.java</exclude>
- <exclude>org/jboss/bpm/**/*MarshallerTest.java</exclude>
- <exclude>org/jboss/bpm/**/*STPTest.java</exclude>
-
- <exclude>org/jboss/bpm/cts/activity/**</exclude>
- <exclude>org/jboss/bpm/cts/endevent/**</exclude>
- <exclude>org/jboss/bpm/cts/engine/**</exclude>
- <exclude>org/jboss/bpm/cts/executioncontext/**</exclude>
- <exclude>org/jboss/bpm/cts/gateway/**</exclude>
- <exclude>org/jboss/bpm/cts/process/**</exclude>
- <exclude>org/jboss/bpm/cts/processmanager/**</exclude>
- <exclude>org/jboss/bpm/cts/signalmanager/**</exclude>
- <exclude>org/jboss/bpm/cts/startevent/**</exclude>
- <exclude>org/jboss/bpm/cts/task/**</exclude>
- <exclude>org/jboss/bpm/pattern/control/exclusivechoice/**</exclude>
- <exclude>org/jboss/bpm/pattern/control/multichoice/**</exclude>
- <exclude>org/jboss/bpm/pattern/control/parallelsplit/**</exclude>
- <exclude>org/jboss/bpm/pattern/control/simplemerge/**</exclude>
- <exclude>org/jboss/bpm/pattern/control/synchronization/**</exclude>
- <exclude>org/jboss/bpm/pattern/data/**</exclude>
- </excludes>
- </configuration>
- </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>org/jboss/bpm/**/*DescriptorTest.java</exclude>
+ <exclude>org/jboss/bpm/**/*MarshallerTest.java</exclude>
+ <exclude>org/jboss/bpm/**/*STPTest.java</exclude>
+ <exclude>org/jboss/bpm/cts/activity/**</exclude>
+ <exclude>org/jboss/bpm/cts/endevent/**</exclude>
+ <exclude>org/jboss/bpm/cts/engine/**</exclude>
+ <exclude>org/jboss/bpm/cts/executioncontext/**</exclude>
+ <exclude>org/jboss/bpm/cts/gateway/**</exclude>
+ <exclude>org/jboss/bpm/cts/process/**</exclude>
+ <exclude>org/jboss/bpm/cts/processmanager/**</exclude>
+ <exclude>org/jboss/bpm/cts/signalmanager/**</exclude>
+ <exclude>org/jboss/bpm/cts/startevent/**</exclude>
+ <exclude>org/jboss/bpm/cts/task/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/exclusivechoice/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/multichoice/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/parallelsplit/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/simplemerge/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/synchronization/**</exclude>
+ <exclude>org/jboss/bpm/pattern/data/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
17 years, 8 months
JBoss JBPM SVN: r2018 - in jbpm3/trunk/modules/jpdl/integration: src/main/java and 6 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 11:23:39 -0400 (Tue, 26 Aug 2008)
New Revision: 2018
Added:
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ExecutionManagerImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/MessageManagerImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessEngineImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessManagerImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/SignalManagerImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/AbstractElementImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ActivityBuilderImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EndStateWrapper.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EventBuilderImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/FlowObjectImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/NodeWrapper.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderFactoryImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/SequenceFlowImpl.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StartStateWrapper.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StateWrapper.java
jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/TaskBuilderImpl.java
Modified:
jbpm3/trunk/modules/jpdl/integration/.classpath
jbpm3/trunk/modules/jpdl/integration/pom.xml
jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml
Log:
Add API Integration
Modified: jbpm3/trunk/modules/jpdl/integration/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
+++ jbpm3/trunk/modules/jpdl/integration/.classpath 2008-08-26 15:23:39 UTC (rev 2018)
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.6"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/integration/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 12:12:59 UTC (rev 2017)
+++ jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 15:23:39 UTC (rev 2018)
@@ -35,12 +35,6 @@
</dependency>
<dependency>
<groupId>org.jboss.bpm</groupId>
- <artifactId>jboss-bpm-ri</artifactId>
- <version>${jboss.bpm.api.version}</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.bpm</groupId>
<artifactId>jboss-bpm-testsuite</artifactId>
<scope>provided</scope>
<type>zip</type>
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ExecutionManagerImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ExecutionManagerImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ExecutionManagerImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,93 @@
+/*
+ * 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.integration.client;
+
+// $Id$
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.client.ExecutionManager;
+import org.jboss.bpm.client.SignalManager;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.Signal;
+import org.jboss.bpm.model.StartEvent;
+import org.jboss.bpm.model.Process.ProcessStatus;
+import org.jboss.bpm.model.Signal.SignalType;
+import org.jboss.bpm.runtime.Attachments;
+import org.jbpm.graph.def.ProcessDefinition;
+import org.jbpm.graph.exe.Execution;
+import org.jbpm.integration.model.ProcessImpl;
+
+/**
+ * The process manager is the entry point to create, find and otherwise manage processes.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class ExecutionManagerImpl extends ExecutionManager
+{
+ // provide logging
+ private static final Log log = LogFactory.getLog(ExecutionManagerImpl.class);
+
+ @Override
+ public void startProcess(Process proc, Attachments att)
+ {
+ ProcessImpl procImpl = (ProcessImpl)proc;
+ procImpl.setProcessStatus(ProcessStatus.Active);
+ ProcessDefinition jbpmProc = procImpl.getProcessDefinition();
+
+ SignalManager sigManager = SignalManager.locateSignalManager();
+ sigManager.throwSignal(new Signal(proc.getID(), SignalType.SYSTEM_PROCESS_ENTER));
+ try
+ {
+ Execution jbpmEx = new Execution(jbpmProc);
+ while (jbpmEx.hasEnded() == false)
+ {
+ jbpmEx.signal();
+ }
+ }
+ finally
+ {
+ sigManager.throwSignal(new Signal(proc.getID(), SignalType.SYSTEM_PROCESS_EXIT));
+ }
+ procImpl.setProcessStatus(ProcessStatus.Completed);
+ }
+
+ @Override
+ public ProcessStatus waitForEnd(Process proc)
+ {
+ return proc.getProcessStatus();
+ }
+
+ @Override
+ public ProcessStatus waitForEnd(Process proc, long timeout)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ @Override
+ public void startProcess(StartEvent start, Attachments att)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ExecutionManagerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/MessageManagerImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/MessageManagerImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/MessageManagerImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,55 @@
+/*
+ * 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.integration.client;
+
+// $Id$
+
+import javax.management.ObjectName;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.client.MessageManager;
+import org.jboss.bpm.model.Event;
+import org.jboss.bpm.model.Message;
+import org.jboss.bpm.model.Task;
+
+/**
+ * The ProcessEngine sends mesages through the MessageManager.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class MessageManagerImpl extends MessageManager
+{
+ // provide logging
+ private static final Log log = LogFactory.getLog(MessageManagerImpl.class);
+
+ /**
+ * Send a message to a given {@link Task} or {@link Event}
+ */
+ @Override
+ public void sendMessage(ObjectName procID, String targetName, Message msg)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/MessageManagerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessEngineImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessEngineImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessEngineImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,60 @@
+/*
+ * 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.integration.client;
+
+//$Id$
+
+import org.jboss.bpm.client.ExecutionManager;
+import org.jboss.bpm.client.MessageManager;
+import org.jboss.bpm.client.ProcessEngine;
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.client.SignalManager;
+
+/**
+ * A process engine with public access
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 18-Jun-2008
+ */
+public class ProcessEngineImpl extends ProcessEngine
+{
+ public void setProcessManager(ProcessManager processManager)
+ {
+ this.processManager = processManager;
+ }
+
+ public void setExecutionManager(ExecutionManager executionManager)
+ {
+ this.executionManager = executionManager;
+ }
+
+ public void setSignalManager(SignalManager signalManager)
+ {
+ this.signalManager = signalManager;
+ }
+
+ public void setMessageManager(MessageManager messageManager)
+ {
+ this.messageManager = messageManager;
+ }
+
+}
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessEngineImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessManagerImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessManagerImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessManagerImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,49 @@
+/*
+ * 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.integration.client;
+
+// $Id$
+
+import java.util.Map;
+
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.client.DialectRegistry;
+import org.jboss.bpm.client.ProcessManager;
+
+/**
+ * The process manager is the entry point to create, find and otherwise manage processes.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class ProcessManagerImpl extends ProcessManager
+{
+ public void setDialectHandlers(Map<String, DialectHandler> dialectHandlers)
+ {
+ this.dialectHandlers = dialectHandlers;
+ }
+
+ public void setDialectRegistry(DialectRegistry dialectRegistry)
+ {
+ this.dialectRegistry = dialectRegistry;
+ }
+}
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/ProcessManagerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/SignalManagerImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/SignalManagerImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/SignalManagerImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,36 @@
+/*
+ * 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.integration.client;
+
+// $Id$
+
+import org.jboss.bpm.client.SignalManager;
+
+/**
+ * The ProcessEngine sends signals through the SignalManager
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class SignalManagerImpl extends SignalManager
+{
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/client/SignalManagerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/AbstractElementImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/AbstractElementImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/AbstractElementImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,40 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import javax.management.ObjectName;
+
+import org.jboss.bpm.model.AbstractElement;
+
+/**
+ * The parent of all Elements
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public abstract class AbstractElementImpl implements AbstractElement
+{
+ protected ObjectName id;
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/AbstractElementImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ActivityBuilderImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ActivityBuilderImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ActivityBuilderImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,72 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.ActivityBuilder;
+import org.jboss.bpm.model.Expression.ExpressionLanguage;
+
+/**
+ * The EventBuilder can be used to build an Event dynamically.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class ActivityBuilderImpl extends ProcessBuilderImpl implements ActivityBuilder
+{
+ public ActivityBuilderImpl(ProcessImpl proc, FlowObjectImpl flowObject)
+ {
+ super(proc, flowObject);
+ }
+
+ public ActivityBuilder addIORule(String body, ExpressionLanguage lang)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addInputSet()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addOutputSet()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addPropertyInput(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addPropertyOutput(String name, String value)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addProperty(String name, String value)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ActivityBuilderImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EndStateWrapper.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EndStateWrapper.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EndStateWrapper.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,75 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.client.SignalManager;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.Signal;
+import org.jboss.bpm.model.Signal.SignalType;
+import org.jbpm.graph.exe.ExecutionContext;
+import org.jbpm.graph.node.EndState;
+
+/**
+ * Override Node methods for signal processing
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public class EndStateWrapper extends EndState implements NodeWrapper
+{
+ private FlowObject flowObject;
+
+ public EndStateWrapper(String name)
+ {
+ super(name);
+ }
+
+ @Override
+ public FlowObject getFlowObject()
+ {
+ return flowObject;
+ }
+
+ @Override
+ public void setFlowObject(FlowObject flowObject)
+ {
+ this.flowObject = flowObject;
+ }
+
+ @Override
+ public void execute(ExecutionContext executionContext)
+ {
+ SignalManager sigManager = SignalManager.locateSignalManager();
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_END_EVENT_ENTER));
+ try
+ {
+ super.execute(executionContext);
+ }
+ finally
+ {
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_END_EVENT_EXIT));
+ }
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EndStateWrapper.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EventBuilderImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EventBuilderImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EventBuilderImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,58 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.EventBuilder;
+import org.jboss.bpm.model.EventDetail.EventDetailType;
+import org.jboss.bpm.model.Signal.SignalType;
+
+/**
+ * The EventBuilder can be used to build an Event dynamically.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class EventBuilderImpl extends ProcessBuilderImpl implements EventBuilder
+{
+ public EventBuilderImpl(ProcessImpl proc, FlowObjectImpl flowObject)
+ {
+ super(proc, flowObject);
+ }
+
+ public EventBuilder addEventDetail(EventDetailType detailType)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public EventBuilder addMessageRef(String msgName)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public EventBuilder addSignalRef(SignalType signalType, String signalMessage)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/EventBuilderImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/FlowObjectImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/FlowObjectImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/FlowObjectImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,101 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import java.util.List;
+
+import javax.management.ObjectName;
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.Assignment;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.ObjectNameFactory;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.SequenceFlow;
+import org.jboss.util.id.UID;
+import org.jbpm.graph.def.Node;
+
+/**
+ * A Flow Object is one of the set of following graphical objects: Event, Activity, and Gateway.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public class FlowObjectImpl extends AbstractElementImpl implements FlowObject
+{
+ private Process proc;
+ private Node jbpmNode;
+ private SequenceFlow outFlow;
+
+ public FlowObjectImpl(Process proc, Node jbpmNode)
+ {
+ this.proc = proc;
+ this.jbpmNode = jbpmNode;
+
+ NodeWrapper nodeWrapper = (NodeWrapper)jbpmNode;
+ nodeWrapper.setFlowObject(this);
+ }
+
+ public Node getNode()
+ {
+ return jbpmNode;
+ }
+
+ public Process getProcess()
+ {
+ return proc;
+ }
+
+ public ObjectName getID()
+ {
+ if (id == null)
+ {
+ StringBuilder str = new StringBuilder("org.jbpm:");
+ str.append("type=Other,name=" + getName() + ",id=" + new UID());
+ id = ObjectNameFactory.create(str.toString());
+ }
+ return id;
+ }
+
+ public String getName()
+ {
+ return jbpmNode.getName();
+ }
+
+ public SequenceFlow getOutFlow()
+ {
+ return outFlow;
+ }
+
+ public void setOutFlow(SequenceFlow outFlow)
+ {
+ this.outFlow = outFlow;
+ }
+
+ public List<Assignment> getAssignments()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/FlowObjectImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/NodeWrapper.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/NodeWrapper.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/NodeWrapper.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,39 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.model.FlowObject;
+
+/**
+ * Override Node methods for signal processing
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public interface NodeWrapper
+{
+ FlowObject getFlowObject();
+
+ void setFlowObject(FlowObject flowObject);
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/NodeWrapper.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderFactoryImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderFactoryImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderFactoryImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
+
+/**
+ * The ProcessBuilder can be used to dynamically build {@link Process}es.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessBuilderFactoryImpl extends ProcessBuilderFactory
+{
+ @Override
+ public ProcessBuilder newProcessBuilder()
+ {
+ return new ProcessBuilderImpl();
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderFactoryImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,170 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.EventBuilder;
+import org.jboss.bpm.model.GatewayBuilder;
+import org.jboss.bpm.model.MessageBuilder;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.TaskBuilder;
+import org.jboss.bpm.model.Assignment.AssignTime;
+import org.jboss.bpm.model.Expression.ExpressionLanguage;
+import org.jboss.bpm.model.Gateway.GatewayType;
+import org.jboss.bpm.model.Task.TaskType;
+import org.jbpm.graph.def.Node;
+import org.jbpm.graph.def.ProcessDefinition;
+import org.jbpm.graph.def.Transition;
+
+/**
+ * The ProcessBuilder can be used to dynamically build a {@link Process}.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class ProcessBuilderImpl implements ProcessBuilder
+{
+ protected ProcessImpl proc;
+ protected FlowObjectImpl flowObject;
+
+ public ProcessBuilderImpl()
+ {
+ }
+
+ public ProcessBuilderImpl(ProcessImpl proc, FlowObjectImpl flowObject)
+ {
+ this.proc = proc;
+ this.flowObject = flowObject;
+ }
+
+ public ProcessBuilder addProcess(String name)
+ {
+ ProcessDefinition jbpmProc = new ProcessDefinition(name);
+ proc = new ProcessImpl(jbpmProc);
+ return this;
+ }
+
+ public EventBuilder addStartEvent(String name)
+ {
+ Node jbpmNode = new StartStateWrapper(name);
+ flowObject = new FlowObjectImpl(proc, jbpmNode);
+ proc.addFlowObject(flowObject);
+ ProcessDefinition jbpmProc = proc.getProcessDefinition();
+ jbpmProc.setStartState(jbpmNode);
+ return new EventBuilderImpl(proc, flowObject);
+ }
+
+ public EventBuilder addEndEvent(String name)
+ {
+ Node jbpmNode = new EndStateWrapper(name);
+ flowObject = new FlowObjectImpl(proc, jbpmNode);
+ proc.addFlowObject(flowObject);
+ return new EventBuilderImpl(proc, flowObject);
+ }
+
+ public TaskBuilder addTask(String name)
+ {
+ Node jbpmNode = new StateWrapper(name);
+ flowObject = new FlowObjectImpl(proc, jbpmNode);
+ proc.addFlowObject(flowObject);
+ return new TaskBuilderImpl(proc, flowObject);
+ }
+
+ public ProcessBuilder addSequenceFlow(String targetName)
+ {
+ Node jbpmNode = flowObject.getNode();
+ Transition jbpmTransition = new Transition(targetName);
+ jbpmTransition.setFrom(jbpmNode);
+ jbpmNode.addLeavingTransition(jbpmTransition);
+ flowObject.setOutFlow(new SequenceFlowImpl(jbpmTransition));
+ return this;
+ }
+
+ public Process getProcess()
+ {
+ proc.initialize();
+ return proc;
+ }
+
+ public ProcessBuilder addAssignment(AssignTime time, ExpressionLanguage lang, String fromExpr, String toProp)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public EventBuilder addEvent(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addExecutionHandler(Class<?> clazz)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addFlowHandler(Class<?> clazz)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public GatewayBuilder addGateway(String name, GatewayType type)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public MessageBuilder addMessage(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addMessageFlow(String targetName)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addProcess(Process proc)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addProperty(String name, String value)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessBuilder addSignalHandler(Class<?> clazz)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public TaskBuilder addTask(String name, TaskType type)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public Process getProcessForInclude()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessBuilderImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,226 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import javax.management.ObjectName;
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.client.ExecutionManager;
+import org.jboss.bpm.model.Assignment;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.InputSet;
+import org.jboss.bpm.model.Message;
+import org.jboss.bpm.model.ObjectNameFactory;
+import org.jboss.bpm.model.OutputSet;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.Property;
+import org.jboss.bpm.model.SequenceFlow;
+import org.jboss.bpm.runtime.Attachments;
+import org.jboss.util.id.UID;
+import org.jbpm.graph.def.Node;
+import org.jbpm.graph.def.ProcessDefinition;
+import org.jbpm.graph.def.Transition;
+
+/**
+ * A Process is any Activity performed within a company or organization.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public class ProcessImpl extends AbstractElementImpl implements Process
+{
+ private ProcessDefinition jbpmProc;
+ private List<FlowObject> flowObjects = new ArrayList<FlowObject>();
+ private ProcessStatus status = ProcessStatus.None;
+
+ public ProcessImpl(ProcessDefinition jbpmProc)
+ {
+ this.jbpmProc = jbpmProc;
+ }
+
+ public ProcessDefinition getProcessDefinition()
+ {
+ return jbpmProc;
+ }
+
+ public ObjectName getID()
+ {
+ if (id == null)
+ {
+ StringBuilder str = new StringBuilder("org.jbpm:");
+ str.append("type=Process,name=" + getName() + ",id=" + new UID());
+ id = ObjectNameFactory.create(str.toString());
+ }
+ return id;
+ }
+
+ public String getName()
+ {
+ return jbpmProc.getName();
+ }
+
+ public ProcessStatus getProcessStatus()
+ {
+ return status;
+ }
+
+ public void setProcessStatus(ProcessStatus status)
+ {
+ this.status = status;
+ }
+
+ public void addFlowObject(FlowObject flowObject)
+ {
+ flowObjects.add(flowObject);
+ }
+
+ public ObjectName startProcess()
+ {
+ ExecutionManager exManager = ExecutionManager.locateExecutionManager();
+ exManager.startProcess(this, null);
+ return getID();
+ }
+
+ public ProcessStatus waitForEnd()
+ {
+ ExecutionManager exManager = ExecutionManager.locateExecutionManager();
+ return exManager.waitForEnd(this);
+ }
+
+ public ProcessStatus waitForEnd(long timeout)
+ {
+ ExecutionManager exManager = ExecutionManager.locateExecutionManager();
+ return exManager.waitForEnd(this, timeout);
+ }
+
+ public List<FlowObject> getFlowObjects()
+ {
+ return Collections.unmodifiableList(flowObjects);
+ }
+
+ public FlowObject getFlowObject(String name)
+ {
+ for (FlowObject fo : getFlowObjects())
+ {
+ if (name.equals(fo.getName()))
+ return fo;
+ }
+ return null;
+ }
+
+ public void initialize()
+ {
+ for (FlowObject fo : getFlowObjects())
+ {
+ FlowObjectImpl foImpl = (FlowObjectImpl)fo;
+ SequenceFlowImpl flowImpl = (SequenceFlowImpl)foImpl.getOutFlow();
+ if (flowImpl != null)
+ {
+ String targetName = flowImpl.getTargetName();
+ FlowObjectImpl targetFO = (FlowObjectImpl)getFlowObject(targetName);
+ Node jbpmTarget = targetFO.getNode();
+ Transition jbpmTransition = flowImpl.getTransition();
+ jbpmTransition.setTo(jbpmTarget);
+ }
+ }
+ }
+
+ // not implemented *******************************************************************
+
+ public List<Assignment> getAssignments()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public <T extends FlowObject> List<T> getFlowObjects(Class<T> clazz)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<InputSet> getInputSets()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public Message getMessage(String msgName)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<Message> getMessages()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<OutputSet> getOutputSets()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<String> getPerformers()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ProcessType getProcessType()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ObjectName startProcess(Attachments att)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<Property> getProperties()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public Property getProperty(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public List<String> getPropertyNames()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public Object getPropertyValue(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public <T> T getPropertyValue(Class<T> clazz, String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/ProcessImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/SequenceFlowImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/SequenceFlowImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/SequenceFlowImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,81 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.Expression;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.SequenceFlow;
+import org.jbpm.graph.def.Transition;
+
+/**
+ * A Sequence Flow is used to show the order that activities will be performed in a Process.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class SequenceFlowImpl implements SequenceFlow
+{
+ private Transition jbpmTransition;
+
+ public SequenceFlowImpl(Transition jbpmTransition)
+ {
+ this.jbpmTransition = jbpmTransition;
+ }
+
+ public Transition getTransition()
+ {
+ return jbpmTransition;
+ }
+
+ public String getName()
+ {
+ return jbpmTransition.getName();
+ }
+
+ public String getTargetName()
+ {
+ return jbpmTransition.getName();
+ }
+
+ public Expression getConditionExpression()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ConditionType getConditionType()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public FlowObject getSourceRef()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public FlowObject getTargetRef()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/SequenceFlowImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StartStateWrapper.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StartStateWrapper.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StartStateWrapper.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,75 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.client.SignalManager;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.Signal;
+import org.jboss.bpm.model.Signal.SignalType;
+import org.jbpm.graph.exe.ExecutionContext;
+import org.jbpm.graph.node.StartState;
+
+/**
+ * Override Node methods for signal processing
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public class StartStateWrapper extends StartState implements NodeWrapper
+{
+ private FlowObject flowObject;
+
+ public StartStateWrapper(String name)
+ {
+ super(name);
+ }
+
+ @Override
+ public FlowObject getFlowObject()
+ {
+ return flowObject;
+ }
+
+ @Override
+ public void setFlowObject(FlowObject flowObject)
+ {
+ this.flowObject = flowObject;
+ }
+
+ @Override
+ public void execute(ExecutionContext executionContext)
+ {
+ SignalManager sigManager = SignalManager.locateSignalManager();
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_START_EVENT_ENTER));
+ try
+ {
+ super.execute(executionContext);
+ }
+ finally
+ {
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_START_EVENT_EXIT));
+ }
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StartStateWrapper.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StateWrapper.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StateWrapper.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StateWrapper.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,75 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.client.SignalManager;
+import org.jboss.bpm.model.FlowObject;
+import org.jboss.bpm.model.Signal;
+import org.jboss.bpm.model.Signal.SignalType;
+import org.jbpm.graph.exe.ExecutionContext;
+import org.jbpm.graph.node.State;
+
+/**
+ * Override Node methods for signal processing
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+@SuppressWarnings("serial")
+public class StateWrapper extends State implements NodeWrapper
+{
+ private FlowObject flowObject;
+
+ public StateWrapper(String name)
+ {
+ super(name);
+ }
+
+ @Override
+ public FlowObject getFlowObject()
+ {
+ return flowObject;
+ }
+
+ @Override
+ public void setFlowObject(FlowObject flowObject)
+ {
+ this.flowObject = flowObject;
+ }
+
+ @Override
+ public void execute(ExecutionContext executionContext)
+ {
+ SignalManager sigManager = SignalManager.locateSignalManager();
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_TASK_ENTER));
+ try
+ {
+ super.execute(executionContext);
+ }
+ finally
+ {
+ sigManager.throwSignal(new Signal(flowObject.getID(), SignalType.SYSTEM_TASK_EXIT));
+ }
+ }
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/StateWrapper.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/TaskBuilderImpl.java
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/TaskBuilderImpl.java (rev 0)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/TaskBuilderImpl.java 2008-08-26 15:23:39 UTC (rev 2018)
@@ -0,0 +1,74 @@
+/*
+ * 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.integration.model;
+
+//$Id$
+
+import org.jboss.bpm.NotImplementedException;
+import org.jboss.bpm.model.ActivityBuilder;
+import org.jboss.bpm.model.TaskBuilder;
+import org.jboss.bpm.model.Expression.ExpressionLanguage;
+
+/**
+ * The EventBuilder can be used to build an Event dynamically.
+ *
+ * @author thomas.diesler(a)jboss.com
+ * @since 26-Aug-2008
+ */
+public class TaskBuilderImpl extends ActivityBuilderImpl implements TaskBuilder
+{
+ public TaskBuilderImpl(ProcessImpl proc, FlowObjectImpl flowObject)
+ {
+ super(proc, flowObject);
+ }
+
+ public TaskBuilder addMessageRef(String msgName)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addIORule(String body, ExpressionLanguage lang)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addInputSet()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addOutputSet()
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addPropertyInput(String name)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+ public ActivityBuilder addPropertyOutput(String name, String value)
+ {
+ throw new NotImplementedException("JBPM-1705", "jBPM3 implementation of the API");
+ }
+
+}
\ No newline at end of file
Property changes on: jbpm3/trunk/modules/jpdl/integration/src/main/java/org/jbpm/integration/model/TaskBuilderImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml 2008-08-26 12:12:59 UTC (rev 2017)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml 2008-08-26 15:23:39 UTC (rev 2018)
@@ -4,11 +4,10 @@
<bean name="KernelLocator" class="org.jboss.kernel.plugins.util.KernelLocator"/>
<!-- The Builder Factories -->
- <bean name="jBPMProcessBuilderFactory" class="org.jboss.bpm.ri.model.impl.ProcessBuilderFactoryImpl"/>
- <bean name="jBPMMessageBuilderFactory" class="org.jboss.bpm.ri.model.impl.MessageBuilderFactoryImpl"/>
+ <bean name="jBPMProcessBuilderFactory" class="org.jbpm.integration.model.ProcessBuilderFactoryImpl"/>
<!-- The ProcessEngine -->
- <bean name="jBPMProcessEngine" class="org.jboss.bpm.ri.client.ProcessEngineImpl">
+ <bean name="jBPMProcessEngine" class="org.jbpm.integration.client.ProcessEngineImpl">
<property name="processManager"><inject bean="jBPMProcessManager"/></property>
<property name="executionManager"><inject bean="jBPMExecutionManager"/></property>
<property name="signalManager"><inject bean="jBPMSignalManager"/></property>
@@ -16,12 +15,12 @@
</bean>
<!-- The Managers -->
- <bean name="jBPMExecutionManager" class="org.jboss.bpm.ri.client.ExecutionManagerImpl"/>
- <bean name="jBPMSignalManager" class="org.jboss.bpm.ri.client.SignalManagerImpl"/>
- <bean name="jBPMMessageManager" class="org.jboss.bpm.ri.client.MessageManagerImpl"/>
+ <bean name="jBPMExecutionManager" class="org.jbpm.integration.client.ExecutionManagerImpl"/>
+ <bean name="jBPMSignalManager" class="org.jbpm.integration.client.SignalManagerImpl"/>
+ <bean name="jBPMMessageManager" class="org.jbpm.integration.client.MessageManagerImpl"/>
<!-- The ProcessManager -->
- <bean name="jBPMProcessManager" class="org.jboss.bpm.ri.client.ProcessManagerImpl">
+ <bean name="jBPMProcessManager" class="org.jbpm.integration.client.ProcessManagerImpl">
<property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
<property name="dialectHandlers">
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler"/>
17 years, 8 months
JBoss JBPM SVN: r2017 - in jbpm3/trunk: modules/console and 11 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 08:12:59 -0400 (Tue, 26 Aug 2008)
New Revision: 2017
Modified:
jbpm3/trunk/.classpath
jbpm3/trunk/modules/console/.classpath
jbpm3/trunk/modules/distribution/.classpath
jbpm3/trunk/modules/enterprise/.classpath
jbpm3/trunk/modules/jbpm4jsf/.classpath
jbpm3/trunk/modules/jpdl/.classpath
jbpm3/trunk/modules/jpdl/core/.classpath
jbpm3/trunk/modules/jpdl/db/.classpath
jbpm3/trunk/modules/jpdl/identity/.classpath
jbpm3/trunk/modules/jpdl/integration/.classpath
jbpm3/trunk/modules/jpdl/integration/pom.xml
jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml
jbpm3/trunk/modules/jpdl/simulation/.classpath
jbpm3/trunk/modules/jpdl/userguide/.classpath
Log:
Use JRE_CONTAINER JDK-1.5
Modified: jbpm3/trunk/.classpath
===================================================================
--- jbpm3/trunk/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/console/.classpath
===================================================================
--- jbpm3/trunk/modules/console/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/console/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/distribution/.classpath
===================================================================
--- jbpm3/trunk/modules/distribution/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/distribution/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/enterprise/.classpath
===================================================================
--- jbpm3/trunk/modules/enterprise/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/enterprise/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -4,7 +4,7 @@
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jbpm4jsf/.classpath
===================================================================
--- jbpm3/trunk/modules/jbpm4jsf/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jbpm4jsf/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/core/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/core/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/core/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/db/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/db/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/db/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/identity/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/identity/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/identity/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -4,7 +4,7 @@
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/integration/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/integration/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -2,5 +2,6 @@
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/integration/pom.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/integration/pom.xml 2008-08-26 12:12:59 UTC (rev 2017)
@@ -91,6 +91,33 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>org/jboss/bpm/**/*DescriptorTest.java</exclude>
+ <exclude>org/jboss/bpm/**/*MarshallerTest.java</exclude>
+ <exclude>org/jboss/bpm/**/*STPTest.java</exclude>
+
+ <exclude>org/jboss/bpm/cts/activity/**</exclude>
+ <exclude>org/jboss/bpm/cts/endevent/**</exclude>
+ <exclude>org/jboss/bpm/cts/engine/**</exclude>
+ <exclude>org/jboss/bpm/cts/executioncontext/**</exclude>
+ <exclude>org/jboss/bpm/cts/gateway/**</exclude>
+ <exclude>org/jboss/bpm/cts/process/**</exclude>
+ <exclude>org/jboss/bpm/cts/processmanager/**</exclude>
+ <exclude>org/jboss/bpm/cts/signalmanager/**</exclude>
+ <exclude>org/jboss/bpm/cts/startevent/**</exclude>
+ <exclude>org/jboss/bpm/cts/task/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/exclusivechoice/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/multichoice/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/parallelsplit/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/simplemerge/**</exclude>
+ <exclude>org/jboss/bpm/pattern/control/synchronization/**</exclude>
+ <exclude>org/jboss/bpm/pattern/data/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
Modified: jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/integration/src/main/resources/jbpm-beans.xml 2008-08-26 12:12:59 UTC (rev 2017)
@@ -24,22 +24,14 @@
<bean name="jBPMProcessManager" class="org.jboss.bpm.ri.client.ProcessManagerImpl">
<property name="dialectRegistry"><inject bean="jBPMDialectRegistry"/></property>
<property name="dialectHandlers">
- <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
- <entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
- <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
- </map>
+ <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler"/>
</property>
</bean>
- <bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.api10.DialectHandlerImpl"/>
- <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
<!-- The DialectRegistry -->
<bean name="jBPMDialectRegistry" class="org.jboss.bpm.client.DialectRegistry">
<property name="registry">
- <map keyClass="java.lang.String" valueClass="java.lang.String">
- <entry><key>urn:bpm.jboss:pdl-0.1</key><value>api10</value></entry>
- <entry><key>http://stp.eclipse.org/bpmn</key><value>stp</value></entry>
- </map>
+ <map keyClass="java.lang.String" valueClass="java.lang.String"/>
</property>
</bean>
Modified: jbpm3/trunk/modules/jpdl/simulation/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/simulation/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/simulation/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" path="src/main/resources"/>
- <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="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/trunk/modules/jpdl/userguide/.classpath
===================================================================
--- jbpm3/trunk/modules/jpdl/userguide/.classpath 2008-08-26 10:35:03 UTC (rev 2016)
+++ jbpm3/trunk/modules/jpdl/userguide/.classpath 2008-08-26 12:12:59 UTC (rev 2017)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
17 years, 8 months
JBoss JBPM SVN: r2016 - jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 06:35:03 -0400 (Tue, 26 Aug 2008)
New Revision: 2016
Modified:
jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
Log:
Build target container optionally
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 10:24:26 UTC (rev 2015)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 10:35:03 UTC (rev 2016)
@@ -29,10 +29,21 @@
if [ ! -d "$JBOSSDIR" ]; then
cd $WORKSPACE
svn co -r$JBOSS_REV $JBOSS_SVN $CONTAINER
- $JBOSSDIR/build/build.sh clean main
+else
+ cd $WORKSPACE
+ svn up -r$JBOSS_REV $CONTAINER
fi
+
#
+# Build target container
+#
+if [ ! -d $JBOSS_INSTANCE ]; then
+ cd $JBOSSDIR
+ ./build/build.sh clean main
+fi
+
+#
# Verify build
#
if [ ! -d $JBOSS_INSTANCE ]; then
17 years, 8 months
JBoss JBPM SVN: r2015 - in jbpm3/trunk/hudson: hudson-home/jobs/jBPM-Matrix and 2 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 06:24:26 -0400 (Tue, 26 Aug 2008)
New Revision: 2015
Modified:
jbpm3/trunk/hudson/ant.properties.example
jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml
Log:
Enable more Matrix Axis
Modified: jbpm3/trunk/hudson/ant.properties.example
===================================================================
--- jbpm3/trunk/hudson/ant.properties.example 2008-08-26 10:04:00 UTC (rev 2014)
+++ jbpm3/trunk/hudson/ant.properties.example 2008-08-26 10:24:26 UTC (rev 2015)
@@ -44,6 +44,6 @@
hudson.mail.recipients=
hudson.smtp.host=localhost
-# Hudson setup
+# Hudson (1.251)
apache-tomcat=5.5.20
-sun-hudson=1.226
+sun-hudson=2402/108356
\ No newline at end of file
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 10:04:00 UTC (rev 2014)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 10:24:26 UTC (rev 2015)
@@ -4,7 +4,7 @@
JBPMDIR=$WORKSPACE/jbpm
JBOSSDIR=$WORKSPACE/$CONTAINER
DISTRODIR=$JBPMDIR/modules/distribution/target
-JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_BINDADDR=@jboss.bind.address(a)$EXECUTOR_NUMBER
case "$CONTAINER" in
jboss421*)
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml 2008-08-26 10:24:26 UTC (rev 2015)
@@ -31,6 +31,7 @@
<name>container</name>
<values>
<string>jboss421</string>
+ <string>jboss422</string>
</values>
</axis>
<axis>
@@ -43,6 +44,7 @@
<name>jdk</name>
<values>
<string>jdk1.5</string>
+ <string>jdk1.6</string>
</values>
</axis>
</axes>
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml 2008-08-26 10:24:26 UTC (rev 2015)
@@ -11,12 +11,12 @@
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
- <name>container</name>
+ <name>CONTAINER</name>
<optional>false</optional>
<defaultValue>jboss422</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
- <name>database</name>
+ <name>DATABASE</name>
<optional>false</optional>
<defaultValue>hypersonic</defaultValue>
</hudson.model.StringParameterDefinition>
@@ -44,9 +44,6 @@
<builders>
<hudson.tasks.Shell>
<command>
-export CONTAINER=$container
-export DATABASE=$database
-
#
# call command.sh
#
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml 2008-08-26 10:24:26 UTC (rev 2015)
@@ -11,12 +11,12 @@
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
- <name>container</name>
+ <name>CONTAINER</name>
<optional>false</optional>
<defaultValue>jboss422</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
- <name>database</name>
+ <name>DATABASE</name>
<optional>false</optional>
<defaultValue>hypersonic</defaultValue>
</hudson.model.StringParameterDefinition>
@@ -44,9 +44,6 @@
<builders>
<hudson.tasks.Shell>
<command>
-export CONTAINER=$container
-export DATABASE=$database
-
#
# call command.sh
#
17 years, 8 months
JBoss JBPM SVN: r2014 - in jbpm3/trunk/hudson: hudson-home/jobs and 3 other directories.
by do-not-reply@jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-08-26 06:04:00 -0400 (Tue, 26 Aug 2008)
New Revision: 2014
Added:
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml
Removed:
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-AS-4.2.2/
jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml
Modified:
jbpm3/trunk/hudson/build.xml
jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml
Log:
Add configurable hudson jobs
Modified: jbpm3/trunk/hudson/build.xml
===================================================================
--- jbpm3/trunk/hudson/build.xml 2008-08-26 09:16:59 UTC (rev 2013)
+++ jbpm3/trunk/hudson/build.xml 2008-08-26 10:04:00 UTC (rev 2014)
@@ -128,6 +128,11 @@
<filtersfile file="${hudson.dir}/ant.properties"/>
</filterset>
</copy>
+ <chmod perm="+x">
+ <fileset dir="${hudson.home}">
+ <include name="jobs/*/command.sh"/>
+ </fileset>
+ </chmod>
<echo/>
<echo message="*************************************"/>
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 09:16:59 UTC (rev 2013)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/command.sh 2008-08-26 10:04:00 UTC (rev 2014)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
WORKSPACE=`pwd`
JBPMDIR=$WORKSPACE/jbpm
JBOSSDIR=$WORKSPACE/$CONTAINER
@@ -24,26 +26,17 @@
#
# checkout with an explicit version
#
-if [ -d "$JBOSSDIR" ]; then
- cd $WORKSPACE
- svn up -r$JBOSS_REV $CONTAINER
-else
+if [ ! -d "$JBOSSDIR" ]; then
cd $WORKSPACE
svn co -r$JBOSS_REV $JBOSS_SVN $CONTAINER
+ $JBOSSDIR/build/build.sh clean main
fi
#
-# build jboss
-#
-cd $JBOSSDIR
-rm -rf thirdparty/*
-./build/build.sh clean main
-
-#
# Verify build
#
-if [ ! -d ./build/output/$JBOSS_BUILD ]; then
- echo "Cannot find expected build: $JBOSS_BUILD"
+if [ ! -d $JBOSS_INSTANCE ]; then
+ echo "Cannot find expected build: $JBOSS_INSTANCE"
exit 1
fi
@@ -80,7 +73,7 @@
#
# execute tests
#
-mvn test 2>&1 | tee $WORKSPACE/tests.log
+mvn test 2>&1 | tee $WORKSPACE/tests.log
# cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u | tee $WORKSPACE/fixme.txt
# cat $WORKSPACE/fixme.txt | egrep "\[\S*]" > $WORKSPACE/errata-$CONTAINER.txt
Modified: jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml 2008-08-26 09:16:59 UTC (rev 2013)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM-Matrix/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<matrix-project>
<actions class="java.util.concurrent.CopyOnWriteArrayList"/>
- <description></description>
+ <description>Build and test the @version.id@ Matrix</description>
<logRotator>
<daysToKeep>28</daysToKeep>
<numToKeep>-1</numToKeep>
@@ -49,15 +49,13 @@
<builders>
<hudson.tasks.Shell>
<command>
-WORKSPACE=`pwd`
-JBPMDIR=$WORKSPACE/jbpm
-CONTAINER=$container
-DATABASE=$database
+export CONTAINER=$container
+export DATABASE=$database
#
# call command.sh
#
-$JBPMDIR/hudson/hudson-home/jobs/jBPM-Matrix/command.sh
+@hudson.home(a)/jobs/jBPM-Matrix/command.sh
</command>
</hudson.tasks.Shell>
</builders>
Copied: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5 (from rev 2010, jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-AS-4.2.2)
Deleted: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-AS-4.2.2/config.xml 2008-08-26 08:28:35 UTC (rev 2010)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
@@ -1,106 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<project>
- <builders class="vector">
- <hudson.tasks.Shell>
- <command>
-#
-# Module settings
-#
-MODULE=jBPM3-AS-4.2.2
-
-WORKSPACE=`pwd`
-JBOSS_TARGET=jboss422
-JBPMDIR=$WORKSPACE/jbpm
-DISTRODIR=$JBPMDIR/modules/distribution/target
-JBOSS_BINDADDR=(a)jboss.bind.address@
-JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.2/workspace/JBossAS-4.2.2/build/output/(a)hudson.jboss422.build@
-ENVIRONMENT="-Djboss.bind.address=(a)jboss.bind.address@ -Djboss422.home=$JBOSS_INSTANCE"
-
-#
-# stop jbossas
-#
-$JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
-
-#
-# Build distro
-#
-cd $JBPMDIR
-cp profiles.xml.example profiles.xml
-mvn -U -Pdistro clean package
-
-#
-# Deploy distro
-#
-java -jar $DISTRODIR/jbpm-distribution-@version.id(a)-install.jar $DISTRODIR/resources/auto-install-$JBOSS_TARGET.xml
-
-#
-# start jbossas
-#
-$JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE start $JBOSS_BINDADDR
-
-# Was it successfully started?
-$JBPMDIR/hudson/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8080 $WORKSPACE
-if [ -e $WORKSPACE/spider.failed ]; then
- tail -n 100 $JBOSS_INSTANCE/server/@jboss.server.instance(a)/log/server.log
- $JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop $JBOSS_BINDADDR
- exit 1
-fi
-
-#
-# log dependency tree
-#
-mvn dependency:tree | tee $WORKSPACE/dependency-tree.txt
-
-#
-# execute tests
-#
-mvn test 2>&1 | tee $WORKSPACE/tests.log
-# cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u | tee $WORKSPACE/fixme.txt
-# cat $WORKSPACE/fixme.txt | egrep "\[\S*]" > $WORKSPACE/errata-$JBOSS_TARGET.txt
-
-#
-# stop jbossas
-#
-$JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
-cp $JBOSS_INSTANCE/server/@jboss.server.instance(a)/log/boot.log $WORKSPACE/jboss-boot.log
-cp $JBOSS_INSTANCE/server/@jboss.server.instance(a)/log/server.log $WORKSPACE/jboss-server.log
-</command>
- </hudson.tasks.Shell>
- </builders>
- <publishers class="vector">
- <hudson.tasks.junit.JUnitResultArchiver>
- <testResults>jbpm/modules/**/target/surefire-reports/TEST-*.xml</testResults>
- </hudson.tasks.junit.JUnitResultArchiver>
- <hudson.tasks.Mailer>
- <recipients>@hudson.mail.recipients@</recipients>
- <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
- <sendToIndividuals>true</sendToIndividuals>
- </hudson.tasks.Mailer>
- </publishers>
- <buildWrappers class="vector"/>
- <scm class="hudson.scm.SubversionSCM">
- <locations>
- <hudson.scm.SubversionSCM-ModuleLocation>
- <remote>@hudson.jbpm.url@</remote>
- <local>jbpm</local>
- </hudson.scm.SubversionSCM-ModuleLocation>
- </locations>
- <useUpdate>true</useUpdate>
- <browser class="hudson.scm.browsers.FishEyeSVN">
- <url>http://fisheye.jboss.com/browse/JbpmSvn</url>
- <rootModule></rootModule>
- </browser>
- </scm>
- <canRoam>true</canRoam>
- <disabled>false</disabled>
- <enableRemoteTrigger>false</enableRemoteTrigger>
- <triggers class="vector"/>
- <logRotator>
- <daysToKeep>28</daysToKeep>
- <numToKeep>-1</numToKeep>
- </logRotator>
- <keepDependencies>false</keepDependencies>
- <properties/>
- <description>Build and test jbpm-(a)version.id@ against AS-4.2.2</description>
- <actions class="vector"/>
-</project>
Copied: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml (from rev 2013, jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-AS-4.2.2/config.xml)
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml (rev 0)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.5/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
@@ -0,0 +1,68 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions class="vector" />
+ <description>Build and test @version.id@ on JDK1.5</description>
+ <logRotator>
+ <daysToKeep>28</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.StringParameterDefinition>
+ <name>container</name>
+ <optional>false</optional>
+ <defaultValue>jboss422</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>database</name>
+ <optional>false</optional>
+ <defaultValue>hypersonic</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ <hudson.security.AuthorizationMatrixProperty />
+ </properties>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm3/trunk</remote>
+ <local>jbpm</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <jdk>jdk1.5</jdk>
+ <triggers class="vector" />
+ <builders>
+ <hudson.tasks.Shell>
+ <command>
+export CONTAINER=$container
+export DATABASE=$database
+
+#
+# call command.sh
+#
+@hudson.home(a)/jobs/jBPM-Matrix/command.sh
+ </command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients></recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers />
+</project>
\ No newline at end of file
Added: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml
===================================================================
--- jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml (rev 0)
+++ jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml 2008-08-26 10:04:00 UTC (rev 2014)
@@ -0,0 +1,68 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions class="vector" />
+ <description>Build and test @version.id@ on JDK1.6</description>
+ <logRotator>
+ <daysToKeep>28</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties>
+ <hudson.model.ParametersDefinitionProperty>
+ <parameterDefinitions>
+ <hudson.model.StringParameterDefinition>
+ <name>container</name>
+ <optional>false</optional>
+ <defaultValue>jboss422</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ <hudson.model.StringParameterDefinition>
+ <name>database</name>
+ <optional>false</optional>
+ <defaultValue>hypersonic</defaultValue>
+ </hudson.model.StringParameterDefinition>
+ </parameterDefinitions>
+ </hudson.model.ParametersDefinitionProperty>
+ <hudson.security.AuthorizationMatrixProperty />
+ </properties>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm3/trunk</remote>
+ <local>jbpm</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <jdk>jdk1.6</jdk>
+ <triggers class="vector" />
+ <builders>
+ <hudson.tasks.Shell>
+ <command>
+export CONTAINER=$container
+export DATABASE=$database
+
+#
+# call command.sh
+#
+@hudson.home(a)/jobs/jBPM-Matrix/command.sh
+ </command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients></recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers />
+</project>
\ No newline at end of file
Property changes on: jbpm3/trunk/hudson/hudson-home/jobs/jBPM3-JDK1.6/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 8 months