[jbpm-commits] JBoss JBPM SVN: r5118 - jbpm4/branches/jimma/modules/migration/src/test/resources.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jun 25 06:12:15 EDT 2009


Author: jim.ma
Date: 2009-06-25 06:12:15 -0400 (Thu, 25 Jun 2009)
New Revision: 5118

Added:
   jbpm4/branches/jimma/modules/migration/src/test/resources/exception-handler.xml
Removed:
   jbpm4/branches/jimma/modules/migration/src/test/resources/tmp-output.xml
Log:
Added the missing file in previous commit

Added: jbpm4/branches/jimma/modules/migration/src/test/resources/exception-handler.xml
===================================================================
--- jbpm4/branches/jimma/modules/migration/src/test/resources/exception-handler.xml	                        (rev 0)
+++ jbpm4/branches/jimma/modules/migration/src/test/resources/exception-handler.xml	2009-06-25 10:12:15 UTC (rev 5118)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition xmlns="urn:jbpm.org:jpdl-3.2"
+	name="simple">
+	<start-state name="start">
+		<transition name="to_state" to="first">
+			<action name="action" class="com.sample.action.MessageActionHandler">
+				<message>Going to the first state!</message>
+			</action>
+		</transition>
+	</start-state>
+	<state name="first">
+		<event type="node-enter">
+			<action class="org.jbpm.AnotherTest" />
+		</event>
+		<transition name="to_end" to="end">
+			<action name="action" class="com.sample.action.MessageActionHandler">
+				<message>About to finish!</message>
+			</action>
+		</transition>
+	</state>
+	<end-state name="end">
+		<exception-handler exception-class="a">
+			<action class="b"/>
+		</exception-handler>
+	</end-state>
+    
+    <exception-handler exception-class="a">
+			<action class="b"/>
+	</exception-handler>
+</process-definition>
\ No newline at end of file

Deleted: jbpm4/branches/jimma/modules/migration/src/test/resources/tmp-output.xml
===================================================================
--- jbpm4/branches/jimma/modules/migration/src/test/resources/tmp-output.xml	2009-06-25 10:01:29 UTC (rev 5117)
+++ jbpm4/branches/jimma/modules/migration/src/test/resources/tmp-output.xml	2009-06-25 10:12:15 UTC (rev 5118)
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<process xmlns="http://jbpm.org/4.0/jpdl" name="hire">
-	<start>
-		<transition to="initial interview" />
-	</start>
-	<sub-process name="initial interview">
-		<parameter-in var="a" subvar="aa" />
-		<parameter-in var="b" subvar="bb" />
-		<transition to="end" />
-	</sub-process>
-	<end name="end" />
-</process>




More information about the jbpm-commits mailing list