Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Different behaviors in Eclipse and in Maven
Different behaviors in Eclipse and in Maven [message #1740225] Wed, 10 August 2016 14:37 Go to next message
Elie Richa is currently offline Elie RichaFriend
Messages: 14
Registered: February 2016
Junior Member
Hello,

My Acceleo generator project is behaving differently in Eclipse and in
Maven. The correct behavior is in Eclipse and I'd like to ensure that I
get the same behavior in Maven.

I suspected having different versions of Acceleo in Eclipse and in
Maven. The version in Eclipse is 3.6.4.201605040614.

So I added the same update site that I use in Eclipse as a repository in
Maven (http://download.eclipse.org/acceleo/updates/releases/3.6) and I
set the version of Acceleo to 3.6.4 in the pom.xml.

As a result, Maven did indeed download the same version as Eclipse,
3.6.4.201605040614, however I still got different behaviors.

I'm using the Equinox Acceleo launcher from Maven. How can I make sure
that the Eclipse instance used by the tycho-eclipserun-plugin is indeed
using the correct Acceleo version?

Regards,

--
Elie
Re: Different behaviors in Eclipse and in Maven [message #1740298 is a reply to message #1740225] Thu, 11 August 2016 09:55 Go to previous message
Elie Richa is currently offline Elie RichaFriend
Messages: 14
Registered: February 2016
Junior Member
On 10/08/16 16:37, Elie Richa wrote:

> I'm using the Equinox Acceleo launcher from Maven. How can I make sure
> that the Eclipse instance used by the tycho-eclipserun-plugin is indeed
> using the correct Acceleo version?

In fact I think I've found the answer.

The Equinox launcher relies on plugin manifests to determine which
dependencies it should install and load. So if I want a particular
Acceleo version to be used by the Maven Equinox launcher, I can specify
that version in my plugin's manifest. I haven't tried yet but I expect
this should work.

Regards,

--
Elie
Previous Topic:How Does Acceleo Know to Regenerate EMTL files?
Next Topic:Xpand and GMF
Goto Forum:
  


Current Time: Wed Nov 14 11:58:17 GMT 2018

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

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

Back to the top