Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » variable path src-gen (variable path src-gen )
variable path src-gen [message #1750630] Fri, 23 December 2016 13:09 Go to next message
David Garcia is currently offline David GarciaFriend
Messages: 16
Registered: July 2016
Junior Member
Hello,

I am generating source code from a .xmi data model. I have defined a generator.mwe in my xpand project and I have configured src-gen like "srcGenPath=src-gen". It generates my files relative to xpand project path.

I would like define srcGenPath dependent on a field of my model, so I could generate my files in different paths but I don't know if I have access from generator.mwe to fields data model.

Regards,
Re: variable path src-gen [message #1750635 is a reply to message #1750630] Fri, 23 December 2016 14:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
It's better to ask on the M2T forum: https://eclipse.org/forums/index.php/f/24/

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: variable path src-gen [message #1750642 is a reply to message #1750635] Fri, 23 December 2016 15:31 Go to previous message
David Garcia is currently offline David GarciaFriend
Messages: 16
Registered: July 2016
Junior Member
Thanks
Previous Topic:[EMF] Reusable Annotations
Next Topic:Different item providers for the same EObject in EMF.Edit
Goto Forum:
  


Current Time: Wed Sep 18 20:07:39 GMT 2024

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

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

Back to the top