Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » problem when launching acceleo application(problem when launching acceleo application)
problem when launching acceleo application [message #1696799] Thu, 28 May 2015 15:25 Go to next message
arbia karoui is currently offline arbia karouiFriend
Messages: 3
Registered: February 2014
Junior Member
hi,

i'm trying to launch an acceleo application. i'm using the luna eclipse platform.
in my generate.mtl file i have used:

[module generate('http://www.eclipse.org/uml2/5.0.0/UML')]

when i launch the application, an error appears in the console:


Package with uri 'http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard' not found.


can you help me.

thanks
Re: problem when launching acceleo application [message #1696807 is a reply to message #1696799] Thu, 28 May 2015 16:28 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6078
Registered: July 2009
Senior Member
Hi

Probably your classpath is wrong. Since you didn't provide a repro, I
cannot comment further.

The default launcher for Acceleo was broken, but I think the default has
now been changed. I forget the names since I don't use Acceleo any more.
Try the other one.

Regards

Ed Willink

On 28/05/2015 16:25, arbia karoui wrote:
> hi,
>
> i'm trying to launch an acceleo application. i'm using the luna
> eclipse platform.
> in my generate.mtl file i have used:
>
> [module generate('http://www.eclipse.org/uml2/5.0.0/UML')]
>
> when i launch the application, an error appears in the console:
>
>
> Package with uri
> 'http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard' not found.
>
>
> can you help me.
>
> thanks
Re: problem when launching acceleo application [message #1698378 is a reply to message #1696799] Mon, 15 June 2015 08:24 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 451
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Ensure that you have a dependency to org.eclipse.uml2.uml in your MANIFEST.MF and then register the UML metamodel in the method registerPackages of your Java launcher. Have a look here (line 405/406).

Regards,

Stephane B├ęgaudeau, Obeo



Previous Topic:Xtend2 type-system wrappers
Next Topic:Acceleo - search for class
Goto Forum:
  


Current Time: Fri Oct 19 09:40:29 GMT 2018

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

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

Back to the top