[jboss-user] [JBoss Seam] - Re: trouble testing with testNG

juangiovanolli do-not-reply at jboss.com
Wed Dec 27 12:11:08 EST 2006


when i comment the jbpm tag in components.xml the problem disappears (bah, the problem with the jbpm disappears; the problem that you see first continues, but is not important by now).
i try to copy the jpdl.xml in the same path than components.xml, but the problem persist.
the process definitions are shown below:

PROCESSABSTRACT.XML

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition name="ProcessAbstract">
  | 	<start-state name="start">
  | 		<transition name="" to="taskA"></transition>
  | 	</start-state>
  | 	<end-state name="end1"></end-state>
  | 	<task-node name="taskA">
  | 		<task name="taskA" description="#{taskManager.description}">
  | 			<assignment actor-id="actorA" />
  | 		</task>
  | 		<transition name="" to="taskB"></transition>
  | 	</task-node>
  | 	<task-node name="taskB">
  | 		<task name="taskB" description="#{taskManager.description}">
  | 			<assignment actor-id="actorB" />
  | 		</task>
  | 		<transition name="" to="taskC"></transition>
  | 	</task-node>
  | 	<task-node name="taskC">
  | 		<task name="taskC" description="#{taskManager.description}">
  | 			<assignment actor-id="actorC" />
  | 		</task>
  | 		<transition name="" to="end1"></transition>
  | 	</task-node>
  | </process-definition>
  | 

PROCESSDEFINITION.XML

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |     name="ProcessSample">
  |    <start-state name="Start">
  |       <transition name="" to="Create"></transition>
  |    </start-state>
  |    <end-state name="end1"></end-state>
  |    <task-node name="Create">
  |       <task name="CreateTask"></task>
  |       <transition name="Issued" to="Analys Review"></transition>
  |    </task-node>
  |    <task-node name="Analys Review">
  |       <task name="task1"></task>
  |       <transition name="Revised by Analyst" to="Manager Approval"></transition>
  |       <transition name="Rejected by Analyst" to="Update"></transition>
  |    </task-node>
  |    <task-node name="Manager Approval">
  |       <transition name="Approved by Manager" to="Project Assignment"></transition>
  |       <transition name="Rejected" to="end1"></transition>
  |    </task-node>
  |    <task-node name="Project Assignment">
  |       <transition name="Assigned by Technical Leader" to="Technical Solution"></transition>
  |    </task-node>
  |    <task-node name="Update">
  |       <transition name="Cancelled by Requester" to="end1"></transition>
  |    </task-node>
  |    <task-node name="Technical Solution">
  |       <transition name="Done" to="Acceptance"></transition>
  |    </task-node>
  |    <task-node name="Acceptance">
  |       <transition name="Closed" to="end1"></transition>
  |       <transition name="Rejected Solution" to="Technical Solution">
  |       
  |       </transition>
  |    </task-node>
  | </process-definition>
  | 

THANKS and Happy New Year wherever you are!


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996481#3996481

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996481



More information about the jboss-user mailing list