|[Acceleo] Project jar dependencies in standalone compilation [message #704102]
||Thu, 28 July 2011 05:25
| Sebastien Roy
Registered: November 2009
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 ?
|Re: [Acceleo] Project jar dependencies in standalone compilation [message #735203 is a reply to message #734402]
||Tue, 11 October 2011 04:29
| Stephane Begaudeau
Registered: April 2010
Location: Nantes (France)
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.
Stephane Begaudeau, Obeo
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
[Updated on: Tue, 11 October 2011 04:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.10021 seconds