Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [MOFScript] Is it important the location of the entry point?
[MOFScript] Is it important the location of the entry point? [message #379055] Tue, 28 August 2007 11:05 Go to next message
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0026_01C7E974.0DD353E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have been writing some rules, but I have been running them and I have =
obtained the following message on the MOFScript console:

#Runtime info# No entry point defined. No execution.

But I have defined a main rule (that is, an entry point), but it is not =
at the beginning of the.m2t file. Thus, I thought the problem could =
arise due to the position of the main rule, and as a consequence I have =
moved the main rule to the beginning of the file. But now, I have =
obtained some errors in the main rul telling that there are some =
undefined functions, that have not been obtained with the main rule in =
the other position in the file.

How important is the position of a rule in the file? and Why MOFScript =
could not find the entry point?

Regards,
To=F1i






------=_NextPart_000_0026_01C7E974.0DD353E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>I have been writing some rules, but I =
have been=20
running them and I have obtained the following message on the MOFScript=20
console:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#Runtime info# No entry point defined. =
No=20
execution.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But I have defined a main rule (that =
is, an entry=20
point), but it is not at the beginning of the.m2t file. Thus, I thought =
the=20
problem could arise due to the position of the main rule, and as a =
consequence I=20
have moved the main rule to the beginning of the file. But now, I have =
obtained=20
some errors in the main rul telling that there are some undefined =
functions,=20
that&nbsp; have not been obtained with the main rule in the other =
position in=20
the file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How important is the position of a rule =
in the=20
file? and Why MOFScript&nbsp;could not find the entry =
point?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; To=F1i</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<P align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</P>
<P align=3Dleft><FONT face=3DArial =
size=3D2></FONT>&nbsp;</P></BODY></HTML>

------=_NextPart_000_0026_01C7E974.0DD353E0--
Re: [MOFScript] Is it important the location of the entry point? [message #379057 is a reply to message #379055] Wed, 29 August 2007 15:02 Go to previous messageGo to next message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello To
Re: [MOFScript] Is it important the location of the entry point? [message #379059 is a reply to message #379057] Thu, 30 August 2007 12:50 Go to previous messageGo to next message
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_00E8_01C7EB15.28CC80C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

There must not be any matching brackets mistake, because there are no =
error while compiling.
But I still have the same error:

#Runtime info# No entry point defined. No execution.

Could it be caused by the XMI serialization of models instead of an XML =
serialization?


"G=F8ran K. Olsen" <Goran.K.Olsen@Sintef.no> escribi=F3 en el mensaje =
news:fb41pn$2cn$1@build.eclipse.org...
> Hello To=F1i,
>=20
> The ordering of rules should not be important, it is handled by a =
property=20
> in the transformation model ("isEntryPoint =3D true").
> It is difficult to figure out what the problem is without seeing the=20
> transformation.
> Are you sure that you have all the matching brackets in-place?
>=20
> /G=F8ran
>=20
>=20
> "To=F1i Reina Quintero" <reinaqu@lsi.us.es> wrote in message=20
> news:fb0vh8$ndj$1@build.eclipse.org...
> I have been writing some rules, but I have been running them and I =
have=20
> obtained the following message on the MOFScript console:
>=20
> #Runtime info# No entry point defined. No execution.
>=20
> But I have defined a main rule (that is, an entry point), but it is =
not at=20
> the beginning of the.m2t file. Thus, I thought the problem could arise =
due=20
> to the position of the main rule, and as a consequence I have moved =
the main=20
> rule to the beginning of the file. But now, I have obtained some =
errors in=20
> the main rul telling that there are some undefined functions, that =
have not=20
> been obtained with the main rule in the other position in the file.
>=20
> How important is the position of a rule in the file? and Why MOFScript =
could=20
> not find the entry point?
>=20
> Regards,
> To=F1i=20
>=20
>
------=_NextPart_000_00E8_01C7EB15.28CC80C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>There must not be any matching brackets =
mistake,=20
because there are no error while compiling.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But I still have the same =
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#Runtime info# No entry point defined. =
No=20
execution.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT =
size=3D1></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Could it be caused by the XMI =
serialization of=20
models instead of an XML serialization?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"G=F8ran K. Olsen" &lt;</FONT><A=20
href=3D"mailto:Goran.K.Olsen@Sintef.no"><FONT face=3DArial=20
size=3D2>Goran.K.Olsen@Sintef.no</FONT></A><FONT face=3DArial =
size=3D2>&gt; escribi=F3=20
en el mensaje </FONT><A =
href=3D"news:fb41pn$2cn$1@build.eclipse.org"><FONT=20
face=3DArial =
size=3D2>news:fb41pn$2cn$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; Hello =
To=F1i,<BR>&gt; <BR>&gt;=20
The ordering of rules should not be important, it is handled by a =
property=20
<BR>&gt; in the transformation model ("isEntryPoint =3D true").<BR>&gt; =
It is=20
difficult to figure out what the problem is without seeing the <BR>&gt;=20
transformation.<BR>&gt; Are you sure that you have all the matching =
brackets=20
in-place?<BR>&gt; <BR>&gt; /G=F8ran<BR>&gt; <BR>&gt; <BR>&gt; "To=F1i =
Reina=20
Quintero" &lt;</FONT><A href=3D"mailto:reinaqu@lsi.us.es"><FONT =
face=3DArial=20
size=3D2>reinaqu@lsi.us.es</FONT></A><FONT face=3DArial size=3D2>&gt; =
wrote in message=20
<BR>&gt; </FONT><A href=3D"news:fb0vh8$ndj$1@build.eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:fb0vh8$ndj$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...<BR>&gt; I have been writing some rules, but I have been =
running them=20
and I have <BR>&gt; obtained the following message on the MOFScript=20
console:<BR>&gt; <BR>&gt; #Runtime info# No entry point defined. No=20
execution.<BR>&gt; <BR>&gt; But I have defined a main rule (that is, an =
entry=20
point), but it is not at <BR>&gt; the beginning of the.m2t file. Thus, I =
thought=20
the problem could arise due <BR>&gt; to the position of the main rule, =
and as a=20
consequence I have moved the main <BR>&gt; rule to the beginning of the =
file.=20
But now, I have obtained some errors in <BR>&gt; the main rul telling =
that there=20
are some undefined functions, that&nbsp; have not <BR>&gt; been obtained =
with=20
the main rule in the other position in the file.<BR>&gt; <BR>&gt; How =
important=20
is the position of a rule in the file? and Why MOFScript could <BR>&gt; =
not find=20
the entry point?<BR>&gt; <BR>&gt; Regards,<BR>&gt;&nbsp;&nbsp;&nbsp; =
To=F1i=20
<BR>&gt; <BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_00E8_01C7EB15.28CC80C0--
Re: [MOFScript] Is it important the location of the entry point? [message #379060 is a reply to message #379057] Thu, 30 August 2007 13:07 Go to previous message
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_011F_01C7EB17.6D225450
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Now I also have realized that it seems there is a thrown exception =
during the compilation process.
However, the No Error message appears at the end.
## Compiling 'SpringWF2T.m2t' (Using repository path: D:\Mis =
documentos\work-in-progress\Kermeta\EclipseWS\org.mwacsl.spr ingWF\metamod=
el)

ExecutionManager::updatePackageRegistry - =
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception: =
index=3D0, size=3D0 ## Parsing 'SpringWF2T.m2t'

## Finished Compiling.

## No errors

Could it be related to the fact that the entry point can not be found?

"G=F8ran K. Olsen" <Goran.K.Olsen@Sintef.no> escribi=F3 en el mensaje =
news:fb41pn$2cn$1@build.eclipse.org...
> Hello To=F1i,
>=20
> The ordering of rules should not be important, it is handled by a =
property=20
> in the transformation model ("isEntryPoint =3D true").
> It is difficult to figure out what the problem is without seeing the=20
> transformation.
> Are you sure that you have all the matching brackets in-place?
>=20
> /G=F8ran
>=20
>=20
> "To=F1i Reina Quintero" <reinaqu@lsi.us.es> wrote in message=20
> news:fb0vh8$ndj$1@build.eclipse.org...
> I have been writing some rules, but I have been running them and I =
have=20
> obtained the following message on the MOFScript console:
>=20
> #Runtime info# No entry point defined. No execution.
>=20
> But I have defined a main rule (that is, an entry point), but it is =
not at=20
> the beginning of the.m2t file. Thus, I thought the problem could arise =
due=20
> to the position of the main rule, and as a consequence I have moved =
the main=20
> rule to the beginning of the file. But now, I have obtained some =
errors in=20
> the main rul telling that there are some undefined functions, that =
have not=20
> been obtained with the main rule in the other position in the file.
>=20
> How important is the position of a rule in the file? and Why MOFScript =
could=20
> not find the entry point?
>=20
> Regards,
> To=F1i=20
>=20
>
------=_NextPart_000_011F_01C7EB17.6D225450
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Now I also have realized that it seems =
there is a=20
thrown exception during the compilation process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>However, the No Error message appears =
at the=20
end.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D1>
<P align=3Dleft><FONT size=3D2>## Compiling 'SpringWF2T.m2t' (Using =
repository path:=20
D:\Mis=20
documentos\work-in-progress\Kermeta\EclipseWS\org.mwacsl.spr ingWF\metamod=
el)</FONT></P>
<P align=3Dleft><FONT size=3D2>ExecutionManager::updatePackageRegistry - =

org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception: =
index=3D0,=20
size=3D0 ## Parsing 'SpringWF2T.m2t'</FONT></P>
<P align=3Dleft><FONT size=3D2>## Finished Compiling.</FONT></P>
<P align=3Dleft><FONT size=3D2>## No =
errors</FONT></P></FONT></FONT><FONT=20
size=3D1></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Could it be related to the fact that =
the entry=20
point can not be found?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"G=F8ran K. Olsen" &lt;</FONT><A=20
href=3D"mailto:Goran.K.Olsen@Sintef.no"><FONT face=3DArial=20
size=3D2>Goran.K.Olsen@Sintef.no</FONT></A><FONT face=3DArial =
size=3D2>&gt; escribi=F3=20
en el mensaje </FONT><A =
href=3D"news:fb41pn$2cn$1@build.eclipse.org"><FONT=20
face=3DArial =
size=3D2>news:fb41pn$2cn$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; Hello =
To=F1i,<BR>&gt; <BR>&gt;=20
The ordering of rules should not be important, it is handled by a =
property=20
<BR>&gt; in the transformation model ("isEntryPoint =3D true").<BR>&gt; =
It is=20
difficult to figure out what the problem is without seeing the <BR>&gt;=20
transformation.<BR>&gt; Are you sure that you have all the matching =
brackets=20
in-place?<BR>&gt; <BR>&gt; /G=F8ran<BR>&gt; <BR>&gt; <BR>&gt; "To=F1i =
Reina=20
Quintero" &lt;</FONT><A href=3D"mailto:reinaqu@lsi.us.es"><FONT =
face=3DArial=20
size=3D2>reinaqu@lsi.us.es</FONT></A><FONT face=3DArial size=3D2>&gt; =
wrote in message=20
<BR>&gt; </FONT><A href=3D"news:fb0vh8$ndj$1@build.eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:fb0vh8$ndj$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...<BR>&gt; I have been writing some rules, but I have been =
running them=20
and I have <BR>&gt; obtained the following message on the MOFScript=20
console:<BR>&gt; <BR>&gt; #Runtime info# No entry point defined. No=20
execution.<BR>&gt; <BR>&gt; But I have defined a main rule (that is, an =
entry=20
point), but it is not at <BR>&gt; the beginning of the.m2t file. Thus, I =
thought=20
the problem could arise due <BR>&gt; to the position of the main rule, =
and as a=20
consequence I have moved the main <BR>&gt; rule to the beginning of the =
file.=20
But now, I have obtained some errors in <BR>&gt; the main rul telling =
that there=20
are some undefined functions, that&nbsp; have not <BR>&gt; been obtained =
with=20
the main rule in the other position in the file.<BR>&gt; <BR>&gt; How =
important=20
is the position of a rule in the file? and Why MOFScript could <BR>&gt; =
not find=20
the entry point?<BR>&gt; <BR>&gt; Regards,<BR>&gt;&nbsp;&nbsp;&nbsp; =
To=F1i=20
<BR>&gt; <BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_011F_01C7EB17.6D225450--
Re: [MOFScript] Is it important the location of the entry point? [message #607058 is a reply to message #379055] Wed, 29 August 2007 15:02 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello To
Re: [MOFScript] Is it important the location of the entry point? [message #607062 is a reply to message #379057] Thu, 30 August 2007 12:50 Go to previous message
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_00E8_01C7EB15.28CC80C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

There must not be any matching brackets mistake, because there are no =
error while compiling.
But I still have the same error:

#Runtime info# No entry point defined. No execution.

Could it be caused by the XMI serialization of models instead of an XML =
serialization?


"G=F8ran K. Olsen" <Goran.K.Olsen@Sintef.no> escribi=F3 en el mensaje =
news:fb41pn$2cn$1@build.eclipse.org...
> Hello To=F1i,
>=20
> The ordering of rules should not be important, it is handled by a =
property=20
> in the transformation model ("isEntryPoint =3D true").
> It is difficult to figure out what the problem is without seeing the=20
> transformation.
> Are you sure that you have all the matching brackets in-place?
>=20
> /G=F8ran
>=20
>=20
> "To=F1i Reina Quintero" <reinaqu@lsi.us.es> wrote in message=20
> news:fb0vh8$ndj$1@build.eclipse.org...
> I have been writing some rules, but I have been running them and I =
have=20
> obtained the following message on the MOFScript console:
>=20
> #Runtime info# No entry point defined. No execution.
>=20
> But I have defined a main rule (that is, an entry point), but it is =
not at=20
> the beginning of the.m2t file. Thus, I thought the problem could arise =
due=20
> to the position of the main rule, and as a consequence I have moved =
the main=20
> rule to the beginning of the file. But now, I have obtained some =
errors in=20
> the main rul telling that there are some undefined functions, that =
have not=20
> been obtained with the main rule in the other position in the file.
>=20
> How important is the position of a rule in the file? and Why MOFScript =
could=20
> not find the entry point?
>=20
> Regards,
> To=F1i=20
>=20
>
------=_NextPart_000_00E8_01C7EB15.28CC80C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>There must not be any matching brackets =
mistake,=20
because there are no error while compiling.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But I still have the same =
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#Runtime info# No entry point defined. =
No=20
execution.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT =
size=3D1></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Could it be caused by the XMI =
serialization of=20
models instead of an XML serialization?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"G=F8ran K. Olsen" &lt;</FONT><A=20
href=3D"mailto:Goran.K.Olsen@Sintef.no"><FONT face=3DArial=20
size=3D2>Goran.K.Olsen@Sintef.no</FONT></A><FONT face=3DArial =
size=3D2>&gt; escribi=F3=20
en el mensaje </FONT><A =
href=3D"news:fb41pn$2cn$1@build.eclipse.org"><FONT=20
face=3DArial =
size=3D2>news:fb41pn$2cn$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; Hello =
To=F1i,<BR>&gt; <BR>&gt;=20
The ordering of rules should not be important, it is handled by a =
property=20
<BR>&gt; in the transformation model ("isEntryPoint =3D true").<BR>&gt; =
It is=20
difficult to figure out what the problem is without seeing the <BR>&gt;=20
transformation.<BR>&gt; Are you sure that you have all the matching =
brackets=20
in-place?<BR>&gt; <BR>&gt; /G=F8ran<BR>&gt; <BR>&gt; <BR>&gt; "To=F1i =
Reina=20
Quintero" &lt;</FONT><A href=3D"mailto:reinaqu@lsi.us.es"><FONT =
face=3DArial=20
size=3D2>reinaqu@lsi.us.es</FONT></A><FONT face=3DArial size=3D2>&gt; =
wrote in message=20
<BR>&gt; </FONT><A href=3D"news:fb0vh8$ndj$1@build.eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:fb0vh8$ndj$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...<BR>&gt; I have been writing some rules, but I have been =
running them=20
and I have <BR>&gt; obtained the following message on the MOFScript=20
console:<BR>&gt; <BR>&gt; #Runtime info# No entry point defined. No=20
execution.<BR>&gt; <BR>&gt; But I have defined a main rule (that is, an =
entry=20
point), but it is not at <BR>&gt; the beginning of the.m2t file. Thus, I =
thought=20
the problem could arise due <BR>&gt; to the position of the main rule, =
and as a=20
consequence I have moved the main <BR>&gt; rule to the beginning of the =
file.=20
But now, I have obtained some errors in <BR>&gt; the main rul telling =
that there=20
are some undefined functions, that&nbsp; have not <BR>&gt; been obtained =
with=20
the main rule in the other position in the file.<BR>&gt; <BR>&gt; How =
important=20
is the position of a rule in the file? and Why MOFScript could <BR>&gt; =
not find=20
the entry point?<BR>&gt; <BR>&gt; Regards,<BR>&gt;&nbsp;&nbsp;&nbsp; =
To=F1i=20
<BR>&gt; <BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_00E8_01C7EB15.28CC80C0--
Re: [MOFScript] Is it important the location of the entry point? [message #607064 is a reply to message #379057] Thu, 30 August 2007 13:07 Go to previous message
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_011F_01C7EB17.6D225450
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Now I also have realized that it seems there is a thrown exception =
during the compilation process.
However, the No Error message appears at the end.
## Compiling 'SpringWF2T.m2t' (Using repository path: D:\Mis =
documentos\work-in-progress\Kermeta\EclipseWS\org.mwacsl.spr ingWF\metamod=
el)

ExecutionManager::updatePackageRegistry - =
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception: =
index=3D0, size=3D0 ## Parsing 'SpringWF2T.m2t'

## Finished Compiling.

## No errors

Could it be related to the fact that the entry point can not be found?

"G=F8ran K. Olsen" <Goran.K.Olsen@Sintef.no> escribi=F3 en el mensaje =
news:fb41pn$2cn$1@build.eclipse.org...
> Hello To=F1i,
>=20
> The ordering of rules should not be important, it is handled by a =
property=20
> in the transformation model ("isEntryPoint =3D true").
> It is difficult to figure out what the problem is without seeing the=20
> transformation.
> Are you sure that you have all the matching brackets in-place?
>=20
> /G=F8ran
>=20
>=20
> "To=F1i Reina Quintero" <reinaqu@lsi.us.es> wrote in message=20
> news:fb0vh8$ndj$1@build.eclipse.org...
> I have been writing some rules, but I have been running them and I =
have=20
> obtained the following message on the MOFScript console:
>=20
> #Runtime info# No entry point defined. No execution.
>=20
> But I have defined a main rule (that is, an entry point), but it is =
not at=20
> the beginning of the.m2t file. Thus, I thought the problem could arise =
due=20
> to the position of the main rule, and as a consequence I have moved =
the main=20
> rule to the beginning of the file. But now, I have obtained some =
errors in=20
> the main rul telling that there are some undefined functions, that =
have not=20
> been obtained with the main rule in the other position in the file.
>=20
> How important is the position of a rule in the file? and Why MOFScript =
could=20
> not find the entry point?
>=20
> Regards,
> To=F1i=20
>=20
>
------=_NextPart_000_011F_01C7EB17.6D225450
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Now I also have realized that it seems =
there is a=20
thrown exception during the compilation process.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>However, the No Error message appears =
at the=20
end.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D1>
<P align=3Dleft><FONT size=3D2>## Compiling 'SpringWF2T.m2t' (Using =
repository path:=20
D:\Mis=20
documentos\work-in-progress\Kermeta\EclipseWS\org.mwacsl.spr ingWF\metamod=
el)</FONT></P>
<P align=3Dleft><FONT size=3D2>ExecutionManager::updatePackageRegistry - =

org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception: =
index=3D0,=20
size=3D0 ## Parsing 'SpringWF2T.m2t'</FONT></P>
<P align=3Dleft><FONT size=3D2>## Finished Compiling.</FONT></P>
<P align=3Dleft><FONT size=3D2>## No =
errors</FONT></P></FONT></FONT><FONT=20
size=3D1></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Could it be related to the fact that =
the entry=20
point can not be found?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"G=F8ran K. Olsen" &lt;</FONT><A=20
href=3D"mailto:Goran.K.Olsen@Sintef.no"><FONT face=3DArial=20
size=3D2>Goran.K.Olsen@Sintef.no</FONT></A><FONT face=3DArial =
size=3D2>&gt; escribi=F3=20
en el mensaje </FONT><A =
href=3D"news:fb41pn$2cn$1@build.eclipse.org"><FONT=20
face=3DArial =
size=3D2>news:fb41pn$2cn$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; Hello =
To=F1i,<BR>&gt; <BR>&gt;=20
The ordering of rules should not be important, it is handled by a =
property=20
<BR>&gt; in the transformation model ("isEntryPoint =3D true").<BR>&gt; =
It is=20
difficult to figure out what the problem is without seeing the <BR>&gt;=20
transformation.<BR>&gt; Are you sure that you have all the matching =
brackets=20
in-place?<BR>&gt; <BR>&gt; /G=F8ran<BR>&gt; <BR>&gt; <BR>&gt; "To=F1i =
Reina=20
Quintero" &lt;</FONT><A href=3D"mailto:reinaqu@lsi.us.es"><FONT =
face=3DArial=20
size=3D2>reinaqu@lsi.us.es</FONT></A><FONT face=3DArial size=3D2>&gt; =
wrote in message=20
<BR>&gt; </FONT><A href=3D"news:fb0vh8$ndj$1@build.eclipse.org"><FONT =
face=3DArial=20
size=3D2>news:fb0vh8$ndj$1@build.eclipse.org</FONT></A><FONT =
face=3DArial=20
size=3D2>...<BR>&gt; I have been writing some rules, but I have been =
running them=20
and I have <BR>&gt; obtained the following message on the MOFScript=20
console:<BR>&gt; <BR>&gt; #Runtime info# No entry point defined. No=20
execution.<BR>&gt; <BR>&gt; But I have defined a main rule (that is, an =
entry=20
point), but it is not at <BR>&gt; the beginning of the.m2t file. Thus, I =
thought=20
the problem could arise due <BR>&gt; to the position of the main rule, =
and as a=20
consequence I have moved the main <BR>&gt; rule to the beginning of the =
file.=20
But now, I have obtained some errors in <BR>&gt; the main rul telling =
that there=20
are some undefined functions, that&nbsp; have not <BR>&gt; been obtained =
with=20
the main rule in the other position in the file.<BR>&gt; <BR>&gt; How =
important=20
is the position of a rule in the file? and Why MOFScript could <BR>&gt; =
not find=20
the entry point?<BR>&gt; <BR>&gt; Regards,<BR>&gt;&nbsp;&nbsp;&nbsp; =
To=F1i=20
<BR>&gt; <BR>&gt;</FONT></BODY></HTML>

------=_NextPart_000_011F_01C7EB17.6D225450--
Previous Topic:[xText] org::example::DSLExtensions
Next Topic:[MOFScript] How to express: if ( pseudostate.kind = uml.PseudostateKind(deepHistory) ) { ... }
Goto Forum:
  


Current Time: Sun Nov 23 21:32:07 GMT 2014

Powered by FUDForum. Page generated in 0.07459 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software