Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » org.eclipse.xtend.typesystem.uml2 as plugin-depency
org.eclipse.xtend.typesystem.uml2 as plugin-depency [message #732213] Tue, 04 October 2011 05:13 Go to next message
Eclipse UserFriend
hi to all
i want to run a XPandTemplate from a plugin. for that i have to put org.eclipse.xtend.typesystem.uml2 as a plugindepency in the pluginproject! but when i do this, the plugin does not work, so i have put org.eclipse.xtend.typesystem.uml2 as a jar-file in the pluginclasspath. that works fine. but i'am interested why the first solution doesn't work?
have somebody any idea?

greetings
stoehm
Re: org.eclipse.xtend.typesystem.uml2 as plugin-depency [message #732219 is a reply to message #732213] Tue, 04 October 2011 05:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

what do you mean with "does not work". any error messages or something like that?
or a reproducable example?

~Christian
Re: org.eclipse.xtend.typesystem.uml2 as plugin-depency [message #732226 is a reply to message #732213] Tue, 04 October 2011 05:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi

If you are running on GIT/CVS then you may be having version
compatibility issues because as of Juno M2 UML2 has moved to UML 2.4
with a new major version and very narrow EMF version tolerance.

More generally, have you validated plugins in your launch configuration.

Regards

Ed Willink

On 04/10/2011 10:13, stoehm wrote:
> hi to all
> i want to run a XPandTemplate from a plugin. for that i have to put
> org.eclipse.xtend.typesystem.uml2 as a plugindepency in the
> pluginproject! but when i do this, the plugin does not work, so i have
> put org.eclipse.xtend.typesystem.uml2 as a jar-file in the
> pluginclasspath. that works fine. but i'am interested why the first
> solution doesn't work?
> have somebody any idea?
>
> greetings
> stoehm
Re: org.eclipse.xtend.typesystem.uml2 as plugin-depency [message #732231 is a reply to message #732226] Tue, 04 October 2011 05:47 Go to previous messageGo to next message
Eclipse UserFriend
When using UML2 4.0.0 this can be worked around by adding a URI map to the StandaloneSetup. The Juno M2 version already includes this mapping in the UML2 Setup class.

When running Xpand in a plugin it must be considered to use the ProjectIncludingResourceLoader. See an older article here: http://www.openarchitectureware.org/article.php/howto_cartridge_as_plugin

Regards,
~Karsten
Re: org.eclipse.xtend.typesystem.uml2 as plugin-depency [message #732234 is a reply to message #732231] Tue, 04 October 2011 05:50 Go to previous message
Eclipse UserFriend
hello
thanks for the replies, i will figure this out now
stoehm
Previous Topic:[acceleo] Good practice, implicit variable and constant queries
Next Topic:[acceleo] @main & invoking generated Java class
Goto Forum:
  


Current Time: Fri Jul 25 06:32:23 EDT 2025

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

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

Back to the top