Different behaviors in Eclipse and in Maven [message #1740225] |
Wed, 10 August 2016 14:37  |
Elie Richa Messages: 72 Registered: February 2016 |
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
Elie Richa, Ph.D
Software Engineer, AdaCore
https://www.adacore.com
|
|
|
Re: Different behaviors in Eclipse and in Maven [message #1740298 is a reply to message #1740225] |
Thu, 11 August 2016 09:55  |
Elie Richa Messages: 72 Registered: February 2016 |
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
Elie Richa, Ph.D
Software Engineer, AdaCore
https://www.adacore.com
|
|
|
Powered by
FUDForum. Page generated in 0.01980 seconds