Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Launching Acceleo as plug-in
Launching Acceleo as plug-in [message #1647313] Tue, 03 March 2015 11:06 Go to next message
Eclipse UserFriend
Dear all,
I've been working in Acceleo and my project works as expected, but I
must run it as Java Application, instead of as a plug-in. Launching as
Java Application is much more slower.

I notice that when I generated the UI launcher I had to put manually the
emtl file into the exported plugin for it to work (emtl file it's not
shown in the project explorer, but it's there). In this way the UI
launcher works. Therefore, I guess running the project as a plug-in
should also work.
There is something extra I should do to launch my Acceleo project as a
plug-in apart from choosing "Acceleo Plug-in Application" in the
dropdown list in the run configuration?

Using Eclipse Luna SR1 and Acceleo 3.5.1

Best,

Víctor
Re: Launching Acceleo as plug-in [message #1698390 is a reply to message #1647313] Mon, 15 June 2015 09:05 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Quote:
I notice that when I generated the UI launcher I had to put manually the emtl file into the exported plugin for it to work


If you want to build your Acceleo generator, use the maven build plugin. While it may work by copying the emtl files, it is not a supported behavior. You can find an example of its use in the UML to Java generator.

Regards,

Stephane Bégaudeau, Obeo
Re: Launching Acceleo as plug-in [message #1698697 is a reply to message #1698390] Wed, 17 June 2015 10:26 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Stephane, I'll take a look at maven Acceleo building.

El 15/06/2015 a las 11:05, Stephane Begaudeau escribió:
> Hi,
>
> Quote:
>> I notice that when I generated the UI launcher I had to put manually
>> the emtl file into the exported plugin for it to work
>
>
> If you want to build your Acceleo generator, use
> https://wiki.eclipse.org/Acceleo/Maven. While it may work by copying the
> emtl files, it is not a supported behavior. You can find an example of
> its use in
> https://git.eclipse.org/c/umlgen/org.eclipse.umlgen.git/tree/org.eclipse.umlgen.gen.java/plugins/org.eclipse.umlgen.gen.java/pom.xml#n45.
>
>
> Regards,
>
> Stephane Bégaudeau, Obeo
Re: Launching Acceleo as plug-in [message #1699571 is a reply to message #1698390] Thu, 25 June 2015 08:11 Go to previous message
Eclipse UserFriend
Hi,
When moving the build process to Maven, I coulnd't find a repository for
Papyrus dependencies. Is there some maven repository out there with
Papyrus dependencies?

Best,

Víctor

El 15/06/2015 a las 11:05, Stephane Begaudeau escribió:
> Hi,
>
> Quote:
>> I notice that when I generated the UI launcher I had to put manually
>> the emtl file into the exported plugin for it to work
>
>
> If you want to build your Acceleo generator, use
> https://wiki.eclipse.org/Acceleo/Maven. While it may work by copying the
> emtl files, it is not a supported behavior. You can find an example of
> its use in
> https://git.eclipse.org/c/umlgen/org.eclipse.umlgen.git/tree/org.eclipse.umlgen.gen.java/plugins/org.eclipse.umlgen.gen.java/pom.xml#n45.
>
>
> Regards,
>
> Stephane Bégaudeau, Obeo
Previous Topic:[Accelleo] Access EEnumLiteral's EAnnotation
Next Topic:MoDisco Model to Java Source Code
Goto Forum:
  


Current Time: Wed Apr 24 22:54:45 GMT 2024

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

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

Back to the top