Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Writing workflow fragments
Writing workflow fragments [message #41773] Mon, 27 April 2009 11:57 Go to next message
Johan Wannheden is currently offline Johan WannhedenFriend
Messages: 40
Registered: July 2009
Member
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 13:03 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
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 13:52 Go to previous messageGo to next message
Johan Wannheden is currently offline Johan WannhedenFriend
Messages: 40
Registered: July 2009
Member
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 14:49 Go to previous message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

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
>>



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Integrating a generated Editor standalone
Next Topic:[Announce] TMF XTEXT 0.7.0 I200904271049 is available
Goto Forum:
  


Current Time: Wed Jul 17 22:28:10 GMT 2024

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

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

Back to the top