wonder

1 view
Skip to first unread message

gaurav v bagga

unread,
Jan 24, 2007, 5:00:14 AM1/24/07
to Tefkat
hi michael,

i have tried a lot but i still have no clue
with 196 i am not able to run tefkat.xml as Run or Debug
when i clean the project it runs one time only.

i ran your example and mine that to after cleaning the project
then it ran which it did by itself(after cleaning)

your output

<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:rel="http://relational">
<rel:Column xmi:id="17490939" name="savingsAccount"/>
<rel:Table xmi:id="33396518" name="OffShoreCompany">
<column xmi:id="30304202" name="name"/>
<column xmi:id="17490939" name="savingsAccount"/>
<key xmi:id="8589" name="OffShoreCompany"/>
</rel:Table>
<rel:Key xmi:id="8589" table="#33396518" name="OffShoreCompany"/>
<rel:Column xmi:id="30304202" name="name"/>
<rel:Column xmi:id="10142322" name="savingsAccount"/>
<rel:Table xmi:id="5491898" name="LocalCompany">
<column xmi:id="27651708" name="name"/>
<column xmi:id="10142322" name="savingsAccount"/>
<key xmi:id="13375473" name="LocalCompany"/>
</rel:Table>
<rel:Key xmi:id="13375473" table="#5491898" name="LocalCompany"/>
<rel:Column xmi:id="27651708" name="name"/>
<rel:Column xmi:id="20439574" name="name"/>
<rel:Table xmi:id="31210760" name="Person">
<column xmi:id="2823864" name="savingsAccount"/>
<column xmi:id="20439574" name="name"/>
<key xmi:id="14729340" name="Person"/>
</rel:Table>
<rel:Key xmi:id="14729340" table="#31210760" name="Person"/>
<rel:Column xmi:id="2823864" name="savingsAccount"/>
<rel:Table xmi:id="24979196" name="Account">
<key xmi:id="25857018" name="Account"/>
</rel:Table>
<rel:Key xmi:id="25857018" table="#24979196" name="Account"/>
</xmi:XMI>

looks good
but i wonder why we have references like #24979196 not normally what i
have seen in emf
type="//@contents.1"/


my out put

<?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="27126217" operation="Task2"/>
<bpel:Process1 xmi:id="6273564" activities="#11776933" name="Pool"/>
<bpel:Sequence xmi:id="11776933" activities="#30875188 #27126217"/>
<bpel:Invoke xmi:id="30875188" operation="Task1"/>
</xmi:XMI>

is it that i am writting the rule wrong way or if i change the way
writting rule i get the structure right.

if you want i'll mail you all the files you try on your system

i have switched to 3.2.1
emf 2.2.1

i am using windows xp :)

i am helpless

regards
gaurav

michael lawley

unread,
Jan 24, 2007, 7:10:31 AM1/24/07
to Tef...@googlegroups.com
Hi Gaurav,

Sure, send me the files (use mic...@lawley.id.au if you don't want
them public) and I'll have a look.

Cheers,

michael

michael lawley

unread,
Jan 29, 2007, 3:14:57 AM1/29/07
to Tef...@googlegroups.com
Hi Gaurav,

There are two things you need to do, one for each problem. To fix the
nesting issue you need to mark the appropriate references (eg
Process1.activities, Sequence.activities) as being containment
references.

To fix the multiple runs problem you need to replace the resource:/...
URIs with the appropriate Ns URIs (http://bpel, etc) and add the URI
maps to Preferences->Tefkat so the editor can resolve them.

michael

gaurav v bagga

unread,
Jan 29, 2007, 3:40:36 AM1/29/07
to Tefkat
hi michael,

containment solved issue

------ multiple runs thing i dint get

{replace the resource:/...URIs with the appropriate Ns URIs
(http://bpel, etc) }

i saw Preferences->Tefkat in which there was source and
target uri
are both same as source targetModels or key value pair of
http://....
in tefkat.xml ?

------- it seems that without containment it wont nest it ?


regards
gaurav

michael lawley

unread,
Jan 29, 2007, 6:39:33 AM1/29/07
to Tef...@googlegroups.com
You need to remove these lines from the .qvt file

IMPORT platform:/resource/bpel2bpmn/models/bpdm.ecore
IMPORT platform:/resource/bpel2bpmn/models/bpel.ecore

and add these lines

NAMESPACE http://bpdm
NAMESPACE http://bpel

and add

URI Source URI Target
http://bpdm platform:/resource/bpel2bpmn/models/bpdm.ecore
http://bpel platform:/resource/bpel2bpmn/models/bpel.ecore

in Preferences->Tefkat

gaurav v bagga

unread,
Jan 29, 2007, 9:19:36 AM1/29/07
to Tefkat
hi,

thanks for reply

reg
gaurav

Reply all
Reply to author
Forward
0 new messages