Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » target folder from mtl file
target folder from mtl file [message #1018663] Thu, 14 March 2013 09:19 Go to next message
Abder bfh is currently offline Abder bfhFriend
Messages: 1
Registered: March 2013
Junior Member
With acceleo 3, how can I get the target to which I will generate my files, on the mtl files?
Re: target folder from mtl file [message #1018785 is a reply to message #1018663] Thu, 14 March 2013 13:19 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 432
Registered: April 2010
Location: Nantes (France)
Senior Member


The target folder is not accessible directly but when you are launching the generation, you could store it in a static variable in your launcher and then use a Java service to retrieve it.
The destination is in the field targetFolder in your Java launcher.


Stephane Begaudeau, Obeo

Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: | Eclipse Java Development Tools Tips and Tricks
Previous Topic:[Acceleo] UnresolvedReferenceException
Next Topic:[Acceleo] Invalid attributes during template invocation
Goto Forum:

Current Time: Wed Oct 26 19:32:10 GMT 2016

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

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