[Acceleo] Project jar dependencies in standalone compilation [message #704102] |
Thu, 28 July 2011 09:25 |
Sebastien Roy Messages: 51 Registered: November 2009 |
Member |
|
|
Hello,
Some time ago I've written a set of acceleo (3.0.0) projects, which compilation and generation are triggered by maven mechanisms.
I am currently considering the migration of my work to the last version of Acceleo (3.1.0).
Reading the documentation, tutorials, etc, of version 3.1.0, I can see that the maven and standalone compilation support have been considerably improved since 3.0.0.
I have however the following question :
Is there a way to compile an acceleo project that has an (e)mtl dependency contained in a jar file ?
In the AcceleoCompiler.java, created through the Configure/Create pom.xml menu, the 4th argument deals with the project dependencies. However, I'm not sure that giving the path of a jar file will be enough...
Is there a way to also take contents of jar files into account for the dependencies ?
Regards,
Sebastien
|
|
|
Re: [Acceleo] Project jar dependencies in standalone compilation [message #707276 is a reply to message #704102] |
Mon, 01 August 2011 12:22 |
|
Sébastien,
Handling this kind of use cases was the goal of the "maven" developments on Acceleo. However, I must admit that I myself hasn't tested it yet, and that the person in charge of this integration is currently in holidays. We are currently in the process of integrating this with the EEF team, but that too is on hold for a while and will start again at the end of August.
This is unfortunately all I can answer for now : "yes, it should work" but "no, I can't give you directions as to what to put as the dependencies". Stéphane had explained a little more about this feature on his blog.
Laurent Goubet
Obeo
|
|
|
|
|
|
|
|
|
|
|
|
Re: [Acceleo] Project jar dependencies in standalone compilation [message #735203 is a reply to message #734402] |
Tue, 11 October 2011 08:29 |
|
Hi,
It is not expected and it was coming from a bug that should be fixed for Acceleo 3.2.0 RC2. The problem could also have appeared in a regular build of an Acceleo generator (in the workspace). ".emtl" files used to be bloated with unused content so now we are removing useless information, we did not take into account overridden templates to determine if a given template signature should be removed.
Thanks for reporting this problem, a fix has been contributed on HEAD and it will be available in the next nightly build so you'll be able to see if that fixes your problem. (It did on my examples but just to be sure). The build system is currently under maintenance so it may take few hours to have a nightly build. I'll contribute new unit tests for this issue in the meantime.
Regards,
Stephane Begaudeau, Obeo
--
Twitter: @sbegaudeau
Google+: stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
[Updated on: Tue, 11 October 2011 08:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05201 seconds