Home » Modeling » UML2 Tools » Errors generating diagrams from *.gmfgen
Errors generating diagrams from *.gmfgen [message #470726] |
Mon, 14 May 2007 17:54 |
Francisco Javier Cano Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Hello,
I'm working with UML2Tools sources downloaded from CVS, and I want to
add some dynamic templates to customize the code generated.
The problem is that I'm not able to generate code from .gmfgen files,
even on a fresh download (nothing added, nothing removed).
Whenever the generation process is launched several
"InvocationTargetException" exceptions are thrown during its execution.
These, as far as I know, are caused by some org.eclipse.uml2.* classes
that are not found, as their classpath is not added to the JETEmitter
that generates the code.
Did anyone else find this problem?
Is there any way to add jars to the JETEmitter that generates the code?
If not, is there any workaround?
Any help will be welcome :)
Thanks in advance,
Javi
--------
|
|
|
Re: Errors generating diagrams from *.gmfgen [message #470784 is a reply to message #470726] |
Wed, 16 May 2007 12:43 |
Michael Golubev Messages: 383 Registered: July 2009 |
Senior Member |
|
|
Hello Francisco_Javier_Cano_Munoz,
Please make sure that you have the [oeu2].diagram.codegen.* plugins in your
workspace.
If you have it, make sure that you are generating code with custom "Generate
UML2Tools diagram" action
provided by [oeu2].diagram.codegen plugin, instead of default "Generate diagram"
action, provided by GMF.
As far as I understand, it should fix the problem.
Regards,
Michael
Regards,
Mic
> Hello,
>
> I'm working with UML2Tools sources downloaded from CVS, and I want
> to add some dynamic templates to customize the code generated.
>
> The problem is that I'm not able to generate code from .gmfgen
> files, even on a fresh download (nothing added, nothing removed).
>
> Whenever the generation process is launched several
> "InvocationTargetException" exceptions are thrown during its
> execution. These, as far as I know, are caused by some
> org.eclipse.uml2.* classes that are not found, as their classpath is
> not added to the JETEmitter that generates the code.
>
> Did anyone else find this problem?
> Is there any way to add jars to the JETEmitter that generates the
> code?
> If not, is there any workaround?
> Any help will be welcome :)
>
> Thanks in advance,
>
> Javi
> --------
|
|
|
Re: Errors generating diagrams from *.gmfgen [message #594037 is a reply to message #470726] |
Wed, 16 May 2007 12:43 |
Michael Golubev Messages: 383 Registered: July 2009 |
Senior Member |
|
|
Hello Francisco_Javier_Cano_Munoz,
Please make sure that you have the [oeu2].diagram.codegen.* plugins in your
workspace.
If you have it, make sure that you are generating code with custom "Generate
UML2Tools diagram" action
provided by [oeu2].diagram.codegen plugin, instead of default "Generate diagram"
action, provided by GMF.
As far as I understand, it should fix the problem.
Regards,
Michael
Regards,
Mic
> Hello,
>
> I'm working with UML2Tools sources downloaded from CVS, and I want
> to add some dynamic templates to customize the code generated.
>
> The problem is that I'm not able to generate code from .gmfgen
> files, even on a fresh download (nothing added, nothing removed).
>
> Whenever the generation process is launched several
> "InvocationTargetException" exceptions are thrown during its
> execution. These, as far as I know, are caused by some
> org.eclipse.uml2.* classes that are not found, as their classpath is
> not added to the JETEmitter that generates the code.
>
> Did anyone else find this problem?
> Is there any way to add jars to the JETEmitter that generates the
> code?
> If not, is there any workaround?
> Any help will be welcome :)
>
> Thanks in advance,
>
> Javi
> --------
|
|
|
Goto Forum:
Current Time: Tue Mar 19 03:51:15 GMT 2024
Powered by FUDForum. Page generated in 0.02320 seconds
|