I have getten the answer from STP bpmn newsgroup. A guy from bpmn team
said the reason.
It is same to my thoughts: the redundance of these attributes.
Now user only can get the source and target information from vertices.
> So, 1.0.1 is the current release, and 2.0.0M3 is a milestone (for
> Galileo, probably)?
>
> If so, then we need to support 1.0.1 in JBT 3.0 and look at supporting
> both in a later release where 2.0.0M3 is released too.
>
> Are either of the formats used by 2.0.0M3 and 1.0.1 more
> "standard"/correct in the BPMN world?
>
> -- John
>
In the bpmn specification, a sequence flow should include the source
and target attributes.
In *.bpmn file, if a sequence flow has these two attributes, user can
visually get the information about
a sequenceflow's source node and target node.
In my last product about bpmn editor, these two attributes were
included in sequence flow. But I do not
know which method is more standard.
I think maybe STP bpmn modeler consider the redundance of these
attributes.
Because a task node:
<vertices xmi:type="bpmn:Activity"
xmi:id="_69D2YcToEd22teFP9tln4A"
iD="_69D2YMToEd22teFP9tln4A" outgoingEdges="_9Uzw4cToEd22teFP9tln4A"
name="Task" activityType="Task"/>
<vertices xmi:type="bpmn:Activity"
xmi:id="_89mKwcToEd22teFP9tln4A"
iD="_89mKwMToEd22teFP9tln4A"
incomingEdges="_9Uzw4cToEd22teFP9tln4A"/>
a sequence flow:
<sequenceEdges xmi:type="bpmn:SequenceEdge"
xmi:id="_9Uzw4cToEd22teFP9tln4A" iD="_9Uzw4MToEd22teFP9tln4A"
source="_69D2YcToEd22teFP9tln4A"
target="_89mKwcToEd22teFP9tln4A"/>
We can get the source and target information from vertices's
outgoingEdges and incommingEdges. So STP bpmn modeler remove these two
attribute in 2.0.0M3 version.
But in STP bpmn modeler emf model, a sequence flow has these two
attributes and can call getSource() method to get source node.
This is a advantage of using emf model to do the convertion. But now
we use DOM model to do the convertion, we have to handle this issue.
However I have post a message in stp bpmn newsgroup for this quesion,
let us wait the answer.
Grid
> On Mon, 2008-12-08 at 15:56 +0800, grid.qian wrote:
>
>> Hi guys,
>>
>> This mail is a summary of the mail thread about STP modeler.
>> Based eclipse Ganymede-SR1, we can install STP modeler by update site.
>> The STP modeler now has two version: 1.0.1 for Ganymede SR1 and 2.0.0M3
>> from committer build. (
http://download.eclipse.org/stp/downloads/)
>> There are some differences between 1.0.1 and 2.0.0M3. One of these
>> differences bring about the issue JBIDE3364.
>>
>> The difference is about sequence edges in a sample *.bpmn file:
>> In 1.0.1 version
>> <sequenceEdges xmi:type="bpmn:SequenceEdge"
>> xmi:id="_UAo2UcTuEd2TWonbw8O5Jg" iD="_UAo2UMTuEd2TWonbw8O5Jg"
>> source="_R362UcTuEd2TWonbw8O5Jg"
target="_Tny4gcTuEd2TWonbw8O5Jg"/>
>> In 2.0.0M3 version
>> <sequenceEdges xmi:type="bpmn:SequenceEdge"
>> xmi:id="_UAo2UcTuEd2TWonbw8O5Jg"
iD="_UAo2UMTuEd2TWonbw8O5Jg"/>
>>
>> In 2.0.0M3 version, the sequenceEdges node has not source and target
>> attributes. So the issue JBIDE3364 occurs.
>>
>> So I want to know if we should support 2.0.0M3 in jboss tools 3.0? or
>> support 2.0.0M3 in jboss tools later vertion?
>>
>>
>> Grid
>>
>>
>>
>>> Grid,
>>>
>>> Not sure what you mean when you say based on Ganymeade. All of the
>>> testing I have been doing is based on Ganymede:
>>>
>>> eclipse-jee-ganymede-SR1-linux-gtk.
>>>
>>> Which different version of STP are you using?
>>>
>>>
>> Aha, yes. I download the Ganymede-sr1 again. It does not include STP
>> modeler. Maybe my ganymede is not clear
>> base. So I test again on Ganymede-sr1 and update to 1.0(Ganymede) and to
>> 1.0.1(Ganymede SR1). The JBIDE-3364 does not
>> occur. Only when update to stp.archivedsite-2.0.0.M3. The JBIDE-3364
>> occurs.
>>
>> For this, should I support stp.archivedsite-2.0.0.M3? (it is a committer
>> build)
>>
>>
>>
<
http://download.eclipse.org/stp/updates/releases/1.0.1.200809261307/site....
>>
>>
>>> Jeff
>>>
>>>
>>> ----- Original Message -----
>>> From: "grid.qian" <fqian(a)redhat.com>
>>> To: "Jeffrey Delong" <jdelong(a)redhat.com>
>>> Cc: jbosstools-dev(a)lists.jboss.org
>>> Sent: Sunday, December 7, 2008 10:24:16 PM GMT -07:00 US/Canada Mountain
>>> Subject: Re: Which version should I support? (Re: [jbosstools-dev] Re:
>>> How to use JBPm Converter)
>>>
>>>
>>>
>>>
>>>>>
http://download.eclipse.org/stp/downloads/
>>>>>
>>>>>
>>> From this link page, the Ganymede is stable.
>>> stp.archivedsite-2.0.0.M3.zip is committer build.
>>>
>>>
>>>
>>>> O, my god!
>>>> Jeff, you are right. Based on your stp.archivedsite-2.0.0.M3.zip, I
>>>> get the issue.
>>>> But based on Ganymede, this issue does not occur.
>>>> The stp modeler is too distable!
>>>>
>>>> Which version should I support? or both?
>>>> Any suggestion are appreciated.
>>>>
>>>> Grid
>>>>
>>>>
>>>>
>>>>> ----- Original Message -----
>>>>> From: "grid.qian" <fqian(a)redhat.com>
>>>>> To: "Jeffrey Delong" <jdelong(a)redhat.com>
>>>>> Cc: jbosstools-dev(a)lists.jboss.org, "John Graham"
<jgraham(a)redhat.com>
>>>>> Sent: Sunday, December 7, 2008 9:45:06 PM GMT -07:00 US/Canada
Mountain
>>>>> Subject: Re: [jbosstools-dev] Re: How to use JBPm Converter
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Grid,
>>>>>>
>>>>>> As I stated below, I am using the SOA Tools BPMN Editor.
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> Now I have installed:
>>>>>>>>>
>>>>>>>>> eclipse-jee-ganymede-SR1-linux-gtk
>>>>>>>>> JBossTools-3.0.0.CR1-N200812050815-ALL-linux-gtk
>>>>>>>>> and the SOA Tools BPMN Modeler from
stp.archivedsite-2.0.0.M3.zip
>>>>>>>>>
>>>>>>>>>
>>>>>> It is true that my models were generated from PI4SOA CDL models.
>>>>>> However I created a very simple model directly in SOA Tools BPMN
>>>>>> Modeler and I experience the same issue when trying to convert it
>>>>>> to JPDL (attached those files). Also, not sure what you mean by
>>>>>> "sequenceflow". I don't see sequenceflow in any
.bpmn or
>>>>>> .bpmn_diagram.
>>>>>>
>>>>>>
>>>>> O, "sequenceflow" is a name from bpmn specification. In
*.bpmn, it
>>>>> 's name is "sequenceEdges". In stp bpmn editor,
it's name is Flow
>>>>> Connector.
>>>>> I am running stp bpmn editor by debugging stp bpmn editor sources.
>>>>> So maybe some differences?
>>>>> Where do you get the stp.archivedsite-2.0.0.M3.zip? Please give me a
>>>>> link.Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Jeff
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> From: "grid.qian" <fqian(a)redhat.com>
>>>>>> To: "John Graham" <jgraham(a)redhat.com>
>>>>>> Cc: "Jeffrey Delong" <jdelong(a)redhat.com>,
>>>>>> jbosstools-dev(a)lists.jboss.org
>>>>>> Sent: Sunday, December 7, 2008 8:14:43 PM GMT -07:00 US/Canada
>>>>>> Mountain
>>>>>> Subject: Re: [jbosstools-dev] Re: How to use JBPm Converter
>>>>>>
>>>>>> Hi Jeff,
>>>>>> I have known the reason of the issue JBIDE-3364.
>>>>>> I think your bpmn files are not from STP BPMN EDITOR?
>>>>>> STP bpmn editor bpmn file: *.bpmn, it's sequenceflow has a
attribute:
>>>>>> source. The source is the sequenceflow's source node. But
your bpmn
>>>>>> files has not this attribute. So this issue occurs.
>>>>>>
>>>>>> John,
>>>>>> We need to support these files from other editor?
>>>>>> If yes, I need to do some works for it.
>>>>>> If not, I have a workaround:
>>>>>> Open the bpmn file using stp bpmn editor, do some changes
>>>>>> (not real changes, only aim to call stp editor's save
method)
>>>>>> Then save the file. At this time, the stp editor add the source
>>>>>> attribute
>>>>>> to the sequenceflow automatically, you may use the bpmn export
>>>>>> correctly
>>>>>>
>>>>>> Grid
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> I tried again with another BPMN model that had multiple
pools.
>>>>>>>> When I
>>>>>>>> uncheck a pool in the wizard, it throws an NPE. Should
this be
>>>>>>>> described in another JIRA issue
>>>>>>>>
>>>>>>>>
>>>>>>> Yes, please.
>>>>>>>
>>>>>>> -- John
>>>>>>>
>>>>>>> On Fri, 2008-12-05 at 14:22 -0500, Jeffrey Delong wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Jon,
>>>>>>>>
>>>>>>>> I attached the files. Grid did not report the file worked
>>>>>>>> correctly for him, he just reported that the zip file
from the
>>>>>>>> download site that I sent him installed correctly in his
>>>>>>>> environment.
>>>>>>>>
>>>>>>>> I tried again with another BPMN model that had multiple
pools.
>>>>>>>> When I uncheck a pool in the wizard, it throws an NPE.
Should
>>>>>>>> this be described in another JIRA issue?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Jeff
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "John Graham" <jgraham(a)redhat.com>
>>>>>>>> To: "Jeffrey Delong"
<jdelong(a)redhat.com>
>>>>>>>> Cc: jbosstools-dev(a)lists.jboss.org, "feng.qian"
<fqian(a)redhat.com>
>>>>>>>> Sent: Friday, December 5, 2008 12:09:45 PM GMT -07:00
US/Canada
>>>>>>>> Mountain
>>>>>>>> Subject: Re: [jbosstools-dev] Re: How to use JBPm
Converter
>>>>>>>>
>>>>>>>> Jeff,
>>>>>>>>
>>>>>>>> I've created:
>>>>>>>>
>>>>>>>>
https://jira.jboss.org/jira/browse/JBIDE-3364
>>>>>>>>
>>>>>>>> to track this. Can you please attach the BPMN file in
question to
>>>>>>>> that
>>>>>>>> JIRA, so Grid can look into it (not sure if this is the
same file as
>>>>>>>> originally discussed on this thread, since Grid reported
that file
>>>>>>>> worked correctly for him.)
>>>>>>>>
>>>>>>>> Grid: Please take a look into this.
>>>>>>>>
>>>>>>>> -- John
>>>>>>>>
>>>>>>>> On Fri, 2008-12-05 at 13:26 -0500, Jeffrey Delong wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>> Now I have installed:
>>>>>>>>>
>>>>>>>>> eclipse-jee-ganymede-SR1-linux-gtk
>>>>>>>>> JBossTools-3.0.0.CR1-N200812050815-ALL-linux-gtk
>>>>>>>>> and the SOA Tools BPMN Modeler from
stp.archivedsite-2.0.0.M3.zip
>>>>>>>>>
>>>>>>>>> The BPMN Converter is installed, and I see it when I
use Export
>>>>>>>>> from the Context Menu. However when I get to the step
in the
>>>>>>>>> wizard that has me select the pool, I select the only
pool in my
>>>>>>>>> BPMN diagram (I had hand removed the other pools
prior to start
>>>>>>>>> with a simple example), and it hangs when I select
next, and I
>>>>>>>>> have to cancel. My BPMN model was generated from the
pi4soa CDL
>>>>>>>>> tool.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Jeff
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ----- Original Message -----
>>>>>>>>> From: "John Graham"
<jgraham(a)redhat.com>
>>>>>>>>> To: "Jeffrey Delong"
<jdelong(a)redhat.com>
>>>>>>>>> Cc: jbosstools-dev(a)lists.jboss.org,
"feng.qian" <fqian(a)redhat.com>
>>>>>>>>> Sent: Friday, December 5, 2008 10:20:54 AM GMT -07:00
US/Canada
>>>>>>>>> Mountain
>>>>>>>>> Subject: Re: [jbosstools-dev] Re: How to use JBPm
Converter
>>>>>>>>>
>>>>>>>>> Jeff,
>>>>>>>>>
>>>>>>>>> I suspect that Grid created this zip from his own
environment,
>>>>>>>>> since I'm
>>>>>>>>> not aware of any regularly produced zips in this
area.
>>>>>>>>>
>>>>>>>>> The requirement you mention about using SOA-P tooling
only from
>>>>>>>>> JBT has
>>>>>>>>> been the subject of debate before, with one serious
limiting factor
>>>>>>>>> being the JBT build. As Nick B moves the JBT to a
modular
>>>>>>>>> system, then I
>>>>>>>>> think these sorts of subsets become possible.
Ultimately, it
>>>>>>>>> would be
>>>>>>>>> Max's call.
>>>>>>>>>
>>>>>>>>> -- John
>>>>>>>>>
>>>>>>>>> On Fri, 2008-12-05 at 12:15 -0500, Jeffrey Delong
wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Jon,
>>>>>>>>>>
>>>>>>>>>> A lot of times we don't want the entire JBoss
Tools, but just
>>>>>>>>>> the plugins that we intend to use. In particular
doing soa
>>>>>>>>>> development work I have no interest in or use for
seam, rich
>>>>>>>>>> faces, jbossas tooling. So until there is a
version of JBoss
>>>>>>>>>> Tools targeted at the SOA developer, I would
prefer to add the
>>>>>>>>>> plugins I require. Grid mentioned a common zip,
but the one he
>>>>>>>>>> passed me was old. I don't see a tools common
zip on the
>>>>>>>>>> download page. How would I find this?
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> Jeff
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: "John Graham"
<jgraham(a)redhat.com>
>>>>>>>>>> To: "feng.qian"
<fqian(a)redhat.com>
>>>>>>>>>> Cc: "Jeffrey Delong"
<jdelong(a)redhat.com>,
>>>>>>>>>> jbosstools-dev(a)lists.jboss.org
>>>>>>>>>> Sent: Friday, December 5, 2008 8:59:26 AM GMT
-07:00 US/Canada
>>>>>>>>>> Mountain
>>>>>>>>>> Subject: Re: [jbosstools-dev] Re: How to use JBPm
Converter
>>>>>>>>>>
>>>>>>>>>> On the surface (just scanning the thread below):
>>>>>>>>>>
>>>>>>>>>> Jeff: Having the plug-in and feature in the right
directories
>>>>>>>>>> is the
>>>>>>>>>> first step, but that does not necessarily mean
that the Eclipse
>>>>>>>>>> platform
>>>>>>>>>> will load them (dependencies could be missing).
If you don't see a
>>>>>>>>>> "BPMN" category under Export, then it
is likely due to missing
>>>>>>>>>> dependencies. I would suggest the latest Eclipse
Gaynmede J2EE
>>>>>>>>>> package
>>>>>>>>>> and latest JBT CR1 build to ensure everything is
in place.
>>>>>>>>>>
>>>>>>>>>> -- John
>>>>>>>>>>
>>>>>>>>>> On Fri, 2008-12-05 at 13:27 +0800, feng.qian
wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Hi Jeffrey,
>>>>>>>>>>>
>>>>>>>>>>> I have tested your zip file. No problems.
>>>>>>>>>>> Please go to the eclipse menu Help->About
Eclipse
>>>>>>>>>>> Platform->Plug-in Details and see
>>>>>>>>>>> if the plugin is correctly installed.
>>>>>>>>>>>
>>>>>>>>>>> Grid
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Grid,
>>>>>>>>>>>>
>>>>>>>>>>>> Downloaded from:
>>>>>>>>>>>>
>>>>>>>>>>>>
http://www.jboss.org/tools/download/
>>>>>>>>>>>>
>>>>>>>>>>>> I have verified that both the feature and
the plugin are in
>>>>>>>>>>>> the appropriate directory:
>>>>>>>>>>>>
>>>>>>>>>>>> I have attached the zip file.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> Jeff
>>>>>>>>>>>>
>>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>>> From: "feng.qian"
<fqian(a)redhat.com>
>>>>>>>>>>>> To: "Jeffrey Delong"
<jdelong(a)redhat.com>
>>>>>>>>>>>> Sent: Thursday, December 4, 2008 9:39:16
PM GMT -07:00
>>>>>>>>>>>> US/Canada Mountain
>>>>>>>>>>>> Subject: Re: How to use JBPm Converter
>>>>>>>>>>>>
>>>>>>>>>>>> Jeffrey Delong wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> Grid,
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is not working for me. I do not
see the BPMN Folder.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I unzipped
jBPM-Convert-1.0.0.Beta1-R200810311334.zip into
>>>>>>>>>>>>> eclipse folder.
>>>>>>>>>>>>>
>>>>>>>>>>>>> FYI I have installed:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
pi4soa2.0.0.CR4-eclipse3.4-linux.tar.gz
>>>>>>>>>>>>> jbpm 3.1.5 via the local update site
>>>>>>>>>>>>> (jbpm-jpdl-designer-site-3.1.5.zip)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
jBPM-Convert-1.0.0.Beta1-R200810311334.zip?
>>>>>>>>>>>> Where do you get it? I have never seen
this zip. But I think
>>>>>>>>>>>> it maybe:
>>>>>>>>>>>> The zip should include a feature named
>>>>>>>>>>>> org.jboss.tools.jbpm.convert.feature and
a plugin named
>>>>>>>>>>>> org.jboss.tools.jbpm.convert.
>>>>>>>>>>>> You should put the plugin into
eclipse/plugins and the
>>>>>>>>>>>> feature into eclipse/features.
>>>>>>>>>>>> If not working, please send the zip to
me.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> eclipse stp bpmn modeler from local
update site
>>>>>>>>>>>>> (stp.archivedsite-2.0.0.M3.zip)
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is my "process
designer" workbench :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Jeff
>>>>>>>>>>>>>
>>>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>>>> From: "feng.qian"
<fqian(a)redhat.com>
>>>>>>>>>>>>> To: "Jeffrey Delong"
<jdelong(a)redhat.com>
>>>>>>>>>>>>> Sent: Thursday, December 4, 2008
6:54:33 PM GMT -07:00
>>>>>>>>>>>>> US/Canada Mountain
>>>>>>>>>>>>> Subject: Re: How to use JBPm
Converter
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Jeffrey,
>>>>>>>>>>>>> This is my carelessness. I forgot to
tell you the changes
>>>>>>>>>>>>> about jbpm convert. As John's
suggestion, I removed the
>>>>>>>>>>>>> popup menu of jbpm convert and added
a export wizard.
>>>>>>>>>>>>> You may:
>>>>>>>>>>>>> 1. Choose a *.bpmn file ,and right
click on it.
>>>>>>>>>>>>> 2. The popup menu is opened.
>>>>>>>>>>>>> 3. You click on Export... action.
>>>>>>>>>>>>> 4. A wizard for export open.
>>>>>>>>>>>>> 5. In this wizard, there is a
folder named BPMN Export,
>>>>>>>>>>>>> click it to expand it and click
BPMN -> JPDL menu.
>>>>>>>>>>>>> 6. A wizard for jbpm converter
open.
>>>>>>>>>>>>> This wizard looks like that before. I
think you are able to
>>>>>>>>>>>>> use it.
>>>>>>>>>>>>> Any questions, please let me know.
>>>>>>>>>>>>> (Before you use jbpm convert, you
must have two file in a
>>>>>>>>>>>>> folder: *.bpmn and *.bpmn_diagram)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers
>>>>>>>>>>>>> Grid
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Grid,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I installed the JBPM Converter
into my Eclipse 3.4
>>>>>>>>>>>>>> installation (Linux). Next time I
started it Eclipse it
>>>>>>>>>>>>>> came up shrunken in the top left
corner of my display.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have a BPMN diagram (that I
generated from a PI4SOA cdm
>>>>>>>>>>>>>> file) and want to try to convert
it to jBPM. Not sure what
>>>>>>>>>>>>>> is the right way to do that.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Jeff
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
_______________________________________________
>>>>>>>>>>> jbosstools-dev mailing list
>>>>>>>>>>> jbosstools-dev(a)lists.jboss.org
>>>>>>>>>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> jbosstools-dev mailing list
>>>> jbosstools-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>>>
>>>>
>>>
>>>
>>
>
>
------------------------------------------------------------------------
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev