this is my input file
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bpdm="http://bpdm">
<bpdm:BusinessProcessDiagram xmi:id="_uPuHQKRcEdu5hY99KrynBQ">
<Pools xmi:id="_2oTi0KRcEdu5hY99KrynBQ"
Id="_uRqA8KRcEdu5hY99KrynBQ" Name="Pool">
<Process xmi:id="_2ocswKRcEdu5hY99KrynBQ" Name="Process">
<GraphicalElements xsi:type="bpdm:Task"
xmi:id="_2ocswaRcEdu5hY99KrynBQ" Id="_v_n-oKRcEdu5hY99KrynBQ"
Pool="_2oTi0KRcEdu5hY99KrynBQ" Name="Task1"/>
<GraphicalElements xsi:type="bpdm:Intermediate"
xmi:id="_2ocswqRcEdu5hY99KrynBQ" Id="_w8a-EKRcEdu5hY99KrynBQ"
Pool="_2oTi0KRcEdu5hY99KrynBQ" Name="Intermediate" Trigger="Message"/>
<GraphicalElements xsi:type="bpdm:Task"
xmi:id="_2ocsw6RcEdu5hY99KrynBQ" Id="_ysLrgKRcEdu5hY99KrynBQ"
Pool="_2oTi0KRcEdu5hY99KrynBQ" Name="Task2"/>
</Process>
<lanes xmi:id="_2ocsxKRcEdu5hY99KrynBQ"
Id="_uSQd4KRcEdu5hY99KrynBQ" Name="Lane"
parentpool="_2oTi0KRcEdu5hY99KrynBQ"/>
</Pools>
</bpdm:BusinessProcessDiagram>
<bpdm:SequenceFlow xmi:id="_2omdwKRcEdu5hY99KrynBQ"
Id="_yHXuQKRcEdu5hY99KrynBQ" Name=""/>
<bpdm:SequenceFlow xmi:id="_2omdwaRcEdu5hY99KrynBQ"
Id="_zRIysKRcEdu5hY99KrynBQ" Name=""/>
</xmi:XMI>
this is my output
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:bpel="http://bpel">
<bpel:Invoke xmi:id="23576727" operation="Task2"/>
<bpel:Process1 xmi:id="9773627" activities="#16409152" name="Pool"/>
<bpel:Sequence xmi:id="16409152" activities="#4748800 #23576727"/>
<bpel:Invoke xmi:id="4748800" operation="Task1"/>
</xmi:XMI>
there is no structure as such
<process>
<sequence>
<invoke>
<invoke>
my rule follows
RULE Bpmn2Bpel(p,s)
FORALL BusinessProcessDiagram b
MAKE Process1 p ,Sequence s
SET p.name = b.Pools.Name
;
RULE do2(po,p,s,i)
EXTENDS Bpmn2Bpel(p,s)
FORALL Task po
MAKE Invoke i
SET p.activities=s,
s.activities=i,
i.operation=po.Name
;
how can I achieve proper structure......
i'll appreciate if anyone helps me with this...
regards
gaurav
Can you tell me which version of Tefkat you're using? Changes to EMF
relating to cross-resource containment that didn't get properly
propagated into the XMI code have led to a bug that exhibits the
results you're describing. The EMF bug will be fixed in 2.3 and I
added a work-around to the lawley branch of Tefkat just before Xmas
but I don't think I pushed out a build (I've just returned from
holidays and don't have my dev machine handy to check).
Cheers,
michael
I am using eclipse 3.2 with tefkat 2.1.0 and emf 2.2.0
any solution ???
One more thing is there any good tutorial or blog where tefkat syntax
and usage is explained.
As a newbie and first time doing a model transformation facing lot of
difficulties in understanding
the things.
have gone through
Practical Declarative Model Transformation With Tefkat
Michael Lawley1 and Jim Steel2
but still need more understanding
i'll appreciate any help given....
regards
gaurav
> I am using eclipse 3.2 with tefkat 2.1.0 and emf 2.2.0
Is there a build ID on the Tefkat version (eg 2.1.0.2006xxxxxxxxx)?
> One more thing is there any good tutorial or blog where tefkat syntax
> and usage is explained.
> As a newbie and first time doing a model transformation facing lot of
> difficulties in understanding
> the things.
>
> have gone through
> Practical Declarative Model Transformation With Tefkat
> Michael Lawley1 and Jim Steel2
>
> but still need more understanding
>
> i'll appreciate any help given....
Have you looked at the links below?
http://tefkat.sourceforge.net/language_intro.html
http://tefkat.sourceforge.net/tutorial1.html
http://tefkat.sourceforge.net/syntax.html
michael
it says 2.1.0.lawley186
thanks for the links
regards
gaurav
On Jan 16, 11:21 am, "michael lawley" <mich...@lawley.id.au> wrote:
> On 16/01/07, gaurav v bagga <gaurav.v.ba...@gmail.com> wrote:
>
> > I am using eclipse 3.2 with tefkat 2.1.0 and emf 2.2.0Is there a build ID on the Tefkat version (eg 2.1.0.2006xxxxxxxxx)?
>
> > One more thing is there any good tutorial or blog where tefkat syntax
> > and usage is explained.
> > As a newbie and first time doing a model transformation facing lot of
> > difficulties in understanding
> > the things.
>
> > have gone through
> > Practical Declarative Model Transformation With Tefkat
> > Michael Lawley1 and Jim Steel2
>
> > but still need more understanding
>
> > i'll appreciate any help given....Have you looked at the links below?
michael
On Jan 17, 10:12 am, "michael lawley" <mich...@lawley.id.au> wrote:
> Apologies, I have fixed this bug but I haven't checked in the code yet
> nor, obviously, pushed out a build containing the fix. I hope to be
> able to get this out in the next 24 hrs.
>
> michael
>
> On 16/01/07, michael lawley <mich...@lawley.id.au> wrote:
>
> > Hi gaurav,
>
> > Can you tell me which version of Tefkat you're using? Changes to EMF
> > relating to cross-resource containment that didn't get properly
> > propagated into the XMI code have led to a bug that exhibits the
> > results you're describing. The EMF bug will be fixed in 2.3 and I
> > added a work-around to the lawley branch of Tefkat just before Xmas
> > but I don't think I pushed out a build (I've just returned from
> > holidays and don't have my dev machine handy to check).
>
> > Cheers,
>
> > michael
>
The update site now contains a new build (...lawley195) that should
fix the serialisation problem you've been seeing as well as some bogus
reports of floundering. There have been a number of other changes as
well and it's not well tested so please let me know asap if you have
any other stability problems.
Regards,
michael