Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Writing workflow fragments
Writing workflow fragments [message #41773] Mon, 27 April 2009 07:57 Go to next message
Eclipse UserFriend
Hi all,

in order to generate some additional code for my Xtext project I'm
trying to implement a fragment that is called upon execution of a MWE
workflow file. I get the following error message dialog when entering
the fully qualified name of the fragment class to be loaded:

An internal error occurred during: "parsing document".
Cannot find type 'AbstractGeneratorFragment'

Apart from implementing the Java generator fragment class and Xpand
template, what exactly needs to be done in order to run a custom
workflow fragment?

Regards,
Johan
Re: Writing workflow fragments [message #41804 is a reply to message #41773] Mon, 27 April 2009 09:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi Johan,

I guess you get this error in the MWE editor? When you try to execute
the workflow, it runs fine, doesn't it?

The error reporting of the MWE editor has been refactored a lot in the
past weeks. What version are you using?

Regards,
Sebastian

Am 27.04.2009 13:57 Uhr, schrieb Johan Wannheden:
> Hi all,
>
> in order to generate some additional code for my Xtext project I'm
> trying to implement a fragment that is called upon execution of a MWE
> workflow file. I get the following error message dialog when entering
> the fully qualified name of the fragment class to be loaded:
>
> An internal error occurred during: "parsing document".
> Cannot find type 'AbstractGeneratorFragment'
>
> Apart from implementing the Java generator fragment class and Xpand
> template, what exactly needs to be done in order to run a custom
> workflow fragment?
>
> Regards,
> Johan
Re: Writing workflow fragments [message #41831 is a reply to message #41804] Mon, 27 April 2009 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sebastian,

yes, I do get the error in the MWE editor. Unfortunately I also get
errors when executing the workflow, but those might be due to other
problems. If I understand your reply correctly the MWE editor error can
safely be ignored, and that information already helps me a lot.

I am using M6a (0.7.0.v200904130430) and looking forward to the error
reporting updates :-).

Thank you,
Johan

Sebastian Zarnekow wrote:
> Hi Johan,
>
> I guess you get this error in the MWE editor? When you try to execute
> the workflow, it runs fine, doesn't it?
>
> The error reporting of the MWE editor has been refactored a lot in the
> past weeks. What version are you using?
>
> Regards,
> Sebastian
>
> Am 27.04.2009 13:57 Uhr, schrieb Johan Wannheden:
>> Hi all,
>>
>> in order to generate some additional code for my Xtext project I'm
>> trying to implement a fragment that is called upon execution of a MWE
>> workflow file. I get the following error message dialog when entering
>> the fully qualified name of the fragment class to be loaded:
>>
>> An internal error occurred during: "parsing document".
>> Cannot find type 'AbstractGeneratorFragment'
>>
>> Apart from implementing the Java generator fragment class and Xpand
>> template, what exactly needs to be done in order to run a custom
>> workflow fragment?
>>
>> Regards,
>> Johan
>
Re: Writing workflow fragments [message #41860 is a reply to message #41831] Mon, 27 April 2009 10:49 Go to previous message
Eclipse UserFriend
Hi Johan,
if you would like to use the latest Integration build, just add
http://download.eclipse.org/modeling/tmf/updates/interim/ Update Site to
your Update Manager.

Best regards,
Dennis.

Johan Wannheden schrieb:
> Hi Sebastian,
>
> yes, I do get the error in the MWE editor. Unfortunately I also get
> errors when executing the workflow, but those might be due to other
> problems. If I understand your reply correctly the MWE editor error can
> safely be ignored, and that information already helps me a lot.
>
> I am using M6a (0.7.0.v200904130430) and looking forward to the error
> reporting updates :-).
>
> Thank you,
> Johan
>
> Sebastian Zarnekow wrote:
>> Hi Johan,
>>
>> I guess you get this error in the MWE editor? When you try to execute
>> the workflow, it runs fine, doesn't it?
>>
>> The error reporting of the MWE editor has been refactored a lot in the
>> past weeks. What version are you using?
>>
>> Regards,
>> Sebastian
>>
>> Am 27.04.2009 13:57 Uhr, schrieb Johan Wannheden:
>>> Hi all,
>>>
>>> in order to generate some additional code for my Xtext project I'm
>>> trying to implement a fragment that is called upon execution of a MWE
>>> workflow file. I get the following error message dialog when entering
>>> the fully qualified name of the fragment class to be loaded:
>>>
>>> An internal error occurred during: "parsing document".
>>> Cannot find type 'AbstractGeneratorFragment'
>>>
>>> Apart from implementing the Java generator fragment class and Xpand
>>> template, what exactly needs to be done in order to run a custom
>>> workflow fragment?
>>>
>>> Regards,
>>> Johan
>>
Previous Topic:Integrating a generated Editor standalone
Next Topic:[Announce] TMF XTEXT 0.7.0 I200904271049 is available
Goto Forum:
  


Current Time: Mon Jun 16 15:06:42 EDT 2025

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

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

Back to the top