Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMaking an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/514494/#msg_514494
I'm trying to make an ETL rule extend two others. My code looks similar to the following:
rule CopyChild
transform s : Source!Child
to t: Target!Child
extends CopyMom, CopyDad {
t.name := t.name;
}
rule CopyMom
transform s : Source!Mom
to t : Target!Mom {
t.surname2 := t.surname2;
}
rule CopyDad
transform s : Source!Dad
to t : Target!Dad {
t.surname := t.surname;
}
However, I get an error at the first rule that says "Rule ',' not found". Any suggestion to what I'm doing wrong would be very appreciated .
Cheers,
Maider]]>Maider 2010-02-15T15:27:58-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/514500/#msg_514500
This is a bug. Could you please file a bug report and copy the link here?
Maider wrote:
> Hi,
>
> I'm trying to make an ETL rule extend two others. My code looks similar
> to the following:
>
> rule CopyChild
> transform s : Source!Child
> to t: Target!Child
> extends CopyMom, CopyDad { t.name := t.name;
> }
>
> rule CopyMom
> transform s : Source!Mom
> to t : Target!Mom { t.surname2 := t.surname2;
>
> }
>
> rule CopyDad
> transform s : Source!Dad
> to t : Target!Dad { t.surname := t.surname;
> }
>
> However, I get an error at the first rule that says "Rule ',' not
> found". Any suggestion to what I'm doing wrong would be very
> appreciated :) .
> Cheers,
> Maider
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-02-15T15:48:07-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/514507/#msg_514507
Thanks for your quick reply.
Cheers,
Maider]]>Maider 2010-02-15T16:14:13-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/586148/#msg_586148
Thanks for your quick reply.
Cheers,
Maider]]>Maider 2010-02-15T16:14:14-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/586177/#msg_586177
Cheers,
Dimitris
Maider wrote:
> Hi Dimitris,
>
> Thanks for your quick reply.
>
> Sure, here is the https://bugs.eclipse.org/bugs/show_bug.cgi?id=302872
>
> (I hope I did it right)
>
> Cheers,
> Maider]]>Dimitrios Kolovos2010-02-15T16:58:56-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/514525/#msg_514525
Cheers,
Dimitris
Maider wrote:
> Hi Dimitris,
>
> Thanks for your quick reply.
>
> Sure, here is the https://bugs.eclipse.org/bugs/show_bug.cgi?id=302872
>
> (I hope I did it right)
>
> Cheers,
> Maider]]>Dimitrios Kolovos2010-02-15T16:58:56-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/514544/#msg_514544
Cheers,
Maider]]>Maider 2010-02-15T17:53:21-00:00Re: Making an ETL rule extend two rules
https://www.eclipse.org/forums/index.php/mv/msg/162658/586212/#msg_586212
Cheers,
Maider]]>Maider 2010-02-15T17:53:22-00:00