[jBPM] New message: "Re: How to create a graphical collection of already defined tasks?"
by Falko Menge
User development,
A new message was posted in the thread "How to create a graphical collection of already defined tasks?":
http://community.jboss.org/message/529391#529391
Author : Falko Menge
Profile : http://community.jboss.org/people/falko.menge
Message:
--------------------------------------------------------------
I implemented a generator for stencilset extensions for exactly that purpose in the Oryx project, which forms the core of the Signavio editor. The generator allows to create stencil set extensions containing pre-configured model elements, e.g., jBPM Java activities, which will appear in the pallete on the left. You can see that in action by pointing a Mozilla Firefox to http://com.posr.ws/oryx/servicecomposer?svc0=http%3A%2F%2Fposr.ws%2Finsta... (http://posr.ws/screenshots/com.posr.png).
The http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr... can be started by sending a HTTP-POST request to a http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr.... An example http://code.google.com/p/oryx-editor/source/browse/trunk/editor/test/exam... and http://code.google.com/p/oryx-editor/source/browse/trunk/editor/test/exam... to send such a request also provided. The generator is also included in the jBPM releases since version 4.1. However, it is not enabled by default, the example files are missing, and the http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr... is not configured with the correct paths.
Thus, I suggest to grab the source from http://code.google.com/p/signavio-oryx-initiative/source/checkout or directly from http://code.google.com/p/oryx-editor/source/checkout to get all related files.
Then you have to compile the http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr... with correct paths and enable the servlet in the web.xml of the jbpmeditor.war, i.e., with:
<servlet>
<display-name>Stencilset Extension Generator Servlet</display-name>
<servlet-name>StencilSetExtensionGeneratorServlet</servlet-name>
<servlet-class>
org.oryxeditor.server.StencilSetExtensionGeneratorServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StencilSetExtensionGeneratorServlet</servlet-name>
<url-pattern>/editor/stencilset-extension-generator</url-pattern>
</servlet-mapping>
You may also need to create the folder 'jbpmeditor.war/editor/stencilsets/extensions/generated-stencil-set-extensions', which is used to store the generated exceptions.
So there is a chance, that you can use this to solve your problem. However, it will definitely not work out of the box. If you have further questions regarding the stencilset extension generator or Oryx in general, I'll be happy to answer them.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529391#529391
16 years, 1 month
[jBPM] New message: "Re: Violation of unique constraint with two splits (JBPM-255"
by null null
User development,
A new message was posted in the thread "Violation of unique constraint with two splits (JBPM-2553)":
http://community.jboss.org/message/529384#529384
Author : null null
Profile : http://community.jboss.org/people/ustone
Message:
--------------------------------------------------------------
Is this issue confirmed as a bug?
I got this message with followig definition:
<?xml version="1.0" encoding="UTF-8"?>
<process key="LOOP" name="Loop" xmlns="http://jbpm.org/4.0/jpdl">
<start g="216,13,48,48" name="startNode">
<transition g="-45,-18" name="to decreaseCounter" to="decreaseCounter"/>
</start>
<end g="303,630,48,48" name="endNode"/>
<java class="de.lbbw.jbpmtest.TestActivity" g="52,277,92,52" method="sayHello" name="sayHello">
<arg>
<object expr="#{request}"/>
</arg>
<transition g="-61,-18" name="to joinHello" to="joinHello"/>
</java>
<java class="de.lbbw.jbpmtest.TestActivity" g="201,87,92,52" method="decreaseCounter" name="decreaseCounter" var="request">
<arg>
<object expr="#{request}"/>
</arg>
<transition g="-43,-18" name="to forkHello" to="forkHello"/>
</java>
<decision g="403,290,48,48" name="repeatAgain">
<handler class="de.lbbw.jbpmtest.RepeatAgainHandler" />
<transition g="-37,-18" name="AGAIN" to="decreaseCounter"/>
<transition g="-58,-18" name="NOTAGAIN" to="joinHello"/>
</decision>
<fork g="237,198,48,48" name="forkHello">
<transition g="-45,-18" name="to sayHello" to="sayHello"/>
<transition g="-77,-18" name="to repeatAgain" to="repeatAgain"/>
</fork>
<join g="294,473,48,48" multiplicity="3" name="joinHello">
<transition g="-61,-18" name="to endNode" to="endNode"/>
</join>
</process>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529384#529384
16 years, 1 month
[JBoss Microcontainer Development] New message: "Re: How to migrate AssembledDirectory"
by Adrian Brock
User development,
A new message was posted in the thread "How to migrate AssembledDirectory":
http://community.jboss.org/message/529380#529380
Author : Adrian Brock
Profile : http://community.jboss.org/people/adrian@jboss.org
Message:
--------------------------------------------------------------
> johnbailey wrote:
>
> A better long-term approach would be to move to using ShrinkWrap archives to declaratively create ear/war/jar archives. ShrinkWrap already has fluent API to add classes/resources to an archive.
>
Not for these tests. We don't want to create an archive, although Thomas has already found a tool for doing that called "bnd".
For these tests, we want to pass the metadata objects in explicitly (via the predetermined attachments on the deployment)
rather than having them parsed from xml.
e.g. for testing all the different permutations of OSGi metadata
we use an "AssembledDirectory" that filters the specified packages in the classpath and then
we create many different OSGiMetaData objects with slight tweaks to different parameters.
Any other way would require hundreds of manifest files and slow down the tests as you have to construct the jars.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529380#529380
16 years, 1 month