Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPAND] Using a template contained in a seperate project
[XPAND] Using a template contained in a seperate project [message #786964] Tue, 31 January 2012 01:55 Go to next message
Scott Matsumura is currently offline Scott MatsumuraFriend
Messages: 2
Registered: January 2012
Junior Member
Hi all,

I was wondering if it was possible from a workflow to use an XPAND template located in another project.

It seems like the namespaces are relative to the project itself. Is there a way to make namespaces reference another project?

Thanks in advance!
Re: [XPAND] Using a template contained in a seperate project [message #787135 is a reply to message #786964] Tue, 31 January 2012 07:46 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 360
Registered: July 2009
Location: Dortmund
Senior Member

Hi Scott!

Of course this is possible. The namespaces are not relative to a project, they are relative to the classpath. Your project containing the workflow just needs a project dependency to the generator project.

Regards,
~Karsten


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Re: [XPAND] Using a template contained in a seperate project [message #787607 is a reply to message #787135] Tue, 31 January 2012 19:33 Go to previous message
Scott Matsumura is currently offline Scott MatsumuraFriend
Messages: 2
Registered: January 2012
Junior Member
Karsten,

That resolved my issue. Thank you very much!

Thanks,
Scott
Previous Topic:[acceleo] Extending a module and overriding templates
Next Topic:[acceleo] The type of the first parameter of the main template named ... is a proxy.
Goto Forum:
  


Current Time: Sun Dec 21 20:57:48 GMT 2014

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

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