|
|
Re: Problems integrating generator into eclipse plugin [message #559402 is a reply to message #559177] |
Thu, 16 September 2010 14:10 |
Philipp Zech Messages: 96 Registered: July 2009 |
Member |
|
|
On 09/15/2010 10:29 PM, Philipp Zech wrote:
> On 09/15/2010 10:25 PM, Christian Dietrich wrote:
>> - did you try my stufff that generates from uml::Classes?
>> (uml model created with eclipse)
>> - can you provide your stuff too?
>> - did you drop the stuff in the dropins folder?
>>
>> ~Christian
> hi,
>
> i'm just trying it with your stuff. i'll be back soon.
>
> philipp
Hi christian,
sorry for getting back so late, but I had some problems with my internet
and some stuff to do. I first must admit, that up to now I didn't test
your stuff, but I further investigated my project and I found out that
it leads to a quite curious error:
[ERROR](Element: EXPAND
info::teststories::generator::xpand::Teststory::Teststory FOR model;
Reported by: Generator(StoryGenerator): generating
'info::teststories::generator::xpand::Teststory::Teststory FOR model' =>
/home/c703443/workspace/senseTests/src/info/teststories/sut/ stories)
for the easy of checking I've uploaded my generator plugin and an
according model, which should produce a nearly empty java source file
(just some skeleton code, which will lead to errors on your machine, as
you're missing some libraries and other plugins) to drop.io:
http://drop.io/svbpspf
Maybe you can give me the final hint, why my exported plugin leads to
this error and the generator running inside an instance not. In the
meantime I'll try out your stuff.
Thanks,
Philipp
|
|
|
Re: Problems integrating generator into eclipse plugin [message #559408 is a reply to message #559402] |
Thu, 16 September 2010 14:36 |
Philipp Zech Messages: 96 Registered: July 2009 |
Member |
|
|
On 09/16/2010 04:10 PM, Philipp Zech wrote:
> On 09/15/2010 10:29 PM, Philipp Zech wrote:
>> On 09/15/2010 10:25 PM, Christian Dietrich wrote:
>>> - did you try my stufff that generates from uml::Classes?
>>> (uml model created with eclipse)
>>> - can you provide your stuff too?
>>> - did you drop the stuff in the dropins folder?
>>>
>>> ~Christian
>> hi,
>>
>> i'm just trying it with your stuff. i'll be back soon.
>>
>> philipp
> Hi christian,
>
> sorry for getting back so late, but I had some problems with my internet
> and some stuff to do. I first must admit, that up to now I didn't test
> your stuff, but I further investigated my project and I found out that
> it leads to a quite curious error:
>
> [ERROR](Element: EXPAND
> info::teststories::generator::xpand::Teststory::Teststory FOR model;
> Reported by: Generator(StoryGenerator): generating
> 'info::teststories::generator::xpand::Teststory::Teststory FOR model' =>
> /home/c703443/workspace/senseTests/src/info/teststories/sut/ stories)
>
> for the easy of checking I've uploaded my generator plugin and an
> according model, which should produce a nearly empty java source file
> (just some skeleton code, which will lead to errors on your machine, as
> you're missing some libraries and other plugins) to drop.io:
> http://drop.io/svbpspf
>
> Maybe you can give me the final hint, why my exported plugin leads to
> this error and the generator running inside an instance not. In the
> meantime I'll try out your stuff.
>
> Thanks,
>
> Philipp
sorry, forgot the fragment:
http://drop.io/zqg2bs3
cheers,
philipp
|
|
|
|
|
|
|
Re: Problems integrating generator into eclipse plugin [message #559439 is a reply to message #559434] |
Thu, 16 September 2010 15:33 |
|
Hi
i digged a bit more and stumbled over this:
«DEFINE Teststories FOR uml::Package»
«FOREACH (List[uml::Package])ownedElement AS teststory»
«IF teststory.getAppliedStereotype("TTSProfile::Teststory") != null»
«EXPAND Teststory FOR teststory»
«ENDIF»
«ENDFOREACH»
«ENDDEFINE»
but the Teststories package contains only an activity with stereotype Teststory but the template
«DEFINE Teststory FOR uml::Activity»
«ENDDEFINE»
is missing
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03993 seconds