[jbpm-commits] JBoss JBPM SVN: r4052 - in jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples: end/multiple and 6 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Feb 26 09:31:06 EST 2009


Author: koen.aers at jboss.com
Date: 2009-02-26 09:31:06 -0500 (Thu, 26 Feb 2009)
New Revision: 4052

Modified:
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/concurrency/graphbased/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/multiple/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/state/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/conditions/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/expression/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/handler/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/script/text/process.jpdl.xml
   jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/state/choice/process.jpdl.xml
Log:
changes to process files in to make them compatible with 4.0.0.alpha2 version of gpd

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/concurrency/graphbased/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/concurrency/graphbased/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/concurrency/graphbased/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -7,21 +7,21 @@
    </start>
    
    <fork name="fork" g="96,102,48,48">
-      <transition to="send invoice" g="120,41"/>
+      <transition to="send invoice" g="120,41:"/>
       <transition to="load truck"/>
-      <transition to="print shipping documents" g="120,213"/>
+      <transition to="print shipping documents" g="120,213:"/>
    </fork>
    
    <state name="send invoice" g="176,16,149,52">
-      <transition to="final join" g="606,41"/>
+      <transition to="final join" g="606,41:"/>
    </state>
    
    <state name="load truck" g="176,100,149,52">
-      <transition to="shipping join" g="377,126"/>
+      <transition to="shipping join" g="377,126:"/>
    </state>
    
    <state name="print shipping documents" g="176,184,149,58">
-      <transition to="shipping join" g="378,213"/>
+      <transition to="shipping join" g="378,213:"/>
    </state>
    
    <join name="shipping join" g="353,145,48,48">
@@ -29,7 +29,7 @@
    </join>
    
    <state name="drive truck to destination" g="431,140,148,52">
-      <transition to="final join" g="607,165"/>
+      <transition to="final join" g="607,165:"/>
    </state>
    
    <join name="final join" g="583,73,48,48">

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/multiple/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/multiple/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/multiple/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -3,17 +3,17 @@
 <process name="EndMultiple" xmlns="http://jbpm.org/4/jpdl">
 
   <start g="16,96,48,48">
-    <transition to="get return code" />
+    <transition to="get return code" name=""/>
   </start>
   
-  <state name="get return code" g="96,94,111,52">
-    <transition name="200" to="ok" g="151,60" />
-    <transition name="400" to="bad request" />
-    <transition name="500" to="internal server error" g="151,183" />
+  <state g="96,94,111,52" name="get return code">
+    <transition g="151,60:-36,11" name="200" to="ok"/>
+    <transition g=":-16,-27" name="400" to="bad request"/>
+    <transition g="151,183:-33,-32" name="500" to="internal server error"/>
   </state>
   
-  <end name="ok" g="238,37,48,48" />
-  <end name="bad request" g="238,98,48,48" />
-  <end name="internal server error" g="240,160,48,48" />
+  <end g="238,37,48,48" name="ok"/>
+  <end g="238,98,48,48" name="bad request"/>
+  <end g="240,160,48,48" name="internal server error"/>
   
-</process>
+</process>
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/state/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/state/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/end/state/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -3,17 +3,17 @@
 <process name="EndState" xmlns="http://jbpm.org/4/jpdl">
 
   <start g="16,96,48,48">
-     <transition to="get return code"/>
+     <transition to="get return code" name=""/>
   </start>
 
-  <state name="get return code" g="96,94,110,52">
-    <transition name="200" to="ok" g="150,63"/>
-    <transition name="400" to="bad request" />
-    <transition name="500" to="internal server error" g="150,177"/>
+  <state g="96,94,110,52" name="get return code">
+    <transition g="150,63:-36,11" name="200" to="ok"/>
+    <transition g=":-16,-27" name="400" to="bad request"/>
+    <transition g="150,177:-33,-32" name="500" to="internal server error"/>
   </state>
 
-  <end name="ok" state="completed" g="239,40,48,48"/>
-  <end-cancel name="bad request" g="239,97,48,48"/>
-  <end-error name="internal server error" g="240,154,48,48"/>
+  <end g="239,40,48,48" name="ok" state="completed"/>
+  <end-cancel g="239,97,48,48" name="bad request"/>
+  <end-error g="240,154,48,48" name="internal server error"/>
 
-</process>
+</process>
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/conditions/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/conditions/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/conditions/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -7,13 +7,13 @@
   </start>
   
   <exclusive name="evaluate document" g="96,102,48,48">
-    <transition to="submit document" g="120,60">
+    <transition to="submit document" g="120,60:">
       <condition expr="#{content==&quot;good&quot;}" />
     </transition>
     <transition to="try again">
       <condition expr="#{content==&quot;bad&quot;}" />
     </transition>
-    <transition to="give up" g="120,189" />
+    <transition to="give up" g="120,189:" />
   </exclusive>
 
   <state name="submit document" g="175,35,122,52"/>

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/expression/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/expression/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/expression/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -1,19 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process name="ExclusiveExpression" xmlns="http://jbpm.org/4/jpdl">
-
-  <start g="16,102,48,48">
-    <transition to="evaluate document"/>
-  </start>
-
-  <exclusive name="evaluate document" expr="#{content}" g="96,102,48,48">
-    <transition name="good" to="submit document" g="120,60"/>
-    <transition name="bad" to="try again"/>
-    <transition name="ugly" to="give up" g="120,189"/>
-  </exclusive>
-
-  <state name="submit document" g="175,35,122,52"/>
-  <state name="try again" g="176,100,122,52"/>
-  <state name="give up" g="177,164,122,52"/>
-
-</process>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="ExclusiveExpression" xmlns="http://jbpm.org/4/jpdl">
+
+  <start g="16,102,48,48">
+    <transition to="evaluate document" name=""/>
+  </start>
+
+  <exclusive expr="#{content}" g="96,102,48,48" name="evaluate document">
+    <transition g="120,60:-36,23" name="good" to="submit document"/>
+    <transition g=":-15,-21" name="bad" to="try again"/>
+    <transition g="120,189:-35,-41" name="ugly" to="give up"/>
+  </exclusive>
+
+  <state g="175,35,122,52" name="submit document"/>
+  <state g="176,100,122,52" name="try again"/>
+  <state g="177,164,122,52" name="give up"/>
+
+</process>
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/handler/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/handler/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/exclusive/handler/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -1,20 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process name="ExclusiveHandler" xmlns="http://jbpm.org/4/jpdl">
-
-  <start g="16,102,48,48">
-    <transition to="evaluate document" />
-  </start>
-
-  <exclusive name="evaluate document" g="96,102,48,48">
-    <handler class="org.jbpm.examples.exclusive.handler.ContentEvaluation" />
-    <transition name="good" to="submit document" g="120,60" />
-    <transition name="bad" to="try again" />
-    <transition name="ugly" to="give up" g="120,189" />
-  </exclusive>
-
-  <state name="submit document" g="175,35,122,52"/>
-  <state name="try again" g="176,100,122,52"/>
-  <state name="give up" g="177,164,122,52"/>
-
-</process>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="ExclusiveHandler" xmlns="http://jbpm.org/4/jpdl">
+
+  <start g="16,102,48,48">
+    <transition to="evaluate document" name=""/>
+  </start>
+
+  <exclusive g="96,102,48,48" name="evaluate document">
+    <handler class="org.jbpm.examples.exclusive.handler.ContentEvaluation"/>
+    <transition g="120,60:-37,22" name="good" to="submit document"/>
+    <transition g=":-19,-22" name="bad" to="try again"/>
+    <transition g="120,189:-33,-39" name="ugly" to="give up"/>
+  </exclusive>
+
+  <state g="175,35,122,52" name="submit document"/>
+  <state g="176,100,122,52" name="try again"/>
+  <state g="177,164,122,52" name="give up"/>
+
+</process>
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/script/text/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/script/text/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/script/text/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -3,7 +3,7 @@
 <process name="ScriptText" xmlns="http://jbpm.org/4/jpdl">
 
   <start g="16,22,80,40">
-    <transition to="invoke script" g="48,68,48,48"/>
+    <transition to="invoke script" />
   </start>
 
   <script name="invoke script" 

Modified: jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/state/choice/process.jpdl.xml
===================================================================
--- jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/state/choice/process.jpdl.xml	2009-02-26 14:30:35 UTC (rev 4051)
+++ jbpm4/trunk/modules/examples/src/test/resources/org/jbpm/examples/state/choice/process.jpdl.xml	2009-02-26 14:31:06 UTC (rev 4052)
@@ -1,17 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<process name="StateChoice" xmlns="http://jbpm.org/4/jpdl">
-
-   <start g="16,60,48,48">
-    <transition to="wait for response" />
-  </start>
-
-  <state name="wait for response" g="96,58,109,52">
-    <transition name="accept" to="submit document" g="151,41"/>
-    <transition name="reject" to="try again" g="151,125"/>
-  </state>
-
-  <state name="submit document" g="237,16,114,52"/>
-  <state name="try again" g="237,100,114,52"/>
-
-</process>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="StateChoice" xmlns="http://jbpm.org/4/jpdl">
+
+   <start g="16,60,48,48">
+    <transition to="wait for response" name=""/>
+  </start>
+
+  <state g="96,58,109,52" name="wait for response">
+    <transition g="151,41:-48,0" name="accept" to="submit document"/>
+    <transition g="151,125:-47,-17" name="reject" to="try again"/>
+  </state>
+
+  <state g="237,16,114,52" name="submit document"/>
+  <state g="237,100,114,52" name="try again"/>
+
+</process>
\ No newline at end of file




More information about the jbpm-commits mailing list