[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv

kukeltje do-not-reply at jboss.com
Wed Sep 2 16:02:33 EDT 2009


"Nanaki" wrote : 
  | 
  |   | ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource(
  |   |             "org/xxx/definitions/yyy/processdefinition.xml");
  |   | 
  | But i still don't understand (I didn't find a true example on internet) how to "use the jbpm api and retrieve the jpdl file from" like you said.
  | 

The parseXmlResouce above does this... 

"Nanaki" wrote : 
  | Because now, as i understand, i can do all the movements i desire with the token on the workflow, but can't display it on the workflow image.
  | 
  | Can you show me a part of java code that retrieve this image from the "processdefinition.xml" and how to display it (and update it at each time that we move the token with the method token.signal("xxx")
  | 
  | 
The image is not retrieved from the processdefinition.xml, it is a separate image in a deployment. It is generated by the gpd. Look at the ant task in the source for deployments on how to also deploy this image. 

"Nanaki" wrote : 
  | I'd like to have for example the same interface like when we deploy with Jboss server (the image with a red square around the node).
  | 

That is part of the console. Look at the sourcecode of that on how the image and processdefinition.xml together are used to implement this.

"Nanaki" wrote : 
  | In a second time, is there any other method via JBPM 4.1 ?
  | My collegue asks if there's a simple method by using the processdefinition.xml file, and the template folder deployed in the Webapps  folder when installing JBPM 4.1 ?
  | 
  | 

I do not get what you mean here?

"Nanaki" wrote : 
  | Have you ever tested this version since its release ?
  | 

I used the nightly on a regular basis, but not fully tested it, why?

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

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



More information about the jboss-user mailing list