Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Share a (E)MTL file using a JAR dependency
Share a (E)MTL file using a JAR dependency [message #1844080] Tue, 31 August 2021 14:19 Go to next message
David D is currently offline David DFriend
Messages: 4
Registered: July 2009
Junior Member

I'm trying to put all my common stuff into a JAR. I have several Maven projects, let's say:
- acceleo-commons
- acceleo-project-1

In the first one I put:
- a customized MTL to EMTL compiler (using AcceleoCompilerHelper)
- a customized generator (using AbstractAcceleoGenerator)

In the second there is the model and the MTL files. This is working well.

Now I'd like to also share some utilities like a logger. I have the files "logger.mtl" and "" in "acceleo-project-1" that I'd like to put into "acceleo-commons". I spent a lot of time with the debugger to understand how the dependencies are resolved but I didn't find any way to do that. Is this possible?

Re: Share a (E)MTL file using a JAR dependency [message #1844083 is a reply to message #1844080] Tue, 31 August 2021 16:00 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7635
Registered: July 2009
Senior Member

The EMTL builder does not always work well. If you search the forum you will find at least a couple of messages where I explain my workarounds.


Ed Willink
Previous Topic:From Ecore to Java
Next Topic:Generate text on Annotation
Goto Forum:

Current Time: Mon Dec 04 21:25:02 GMT 2023

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

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

Back to the top