Skip to main content


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: 762
Registered: July 2009
Location: Dortmund, Germany
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, EMF, Eclipse IDE?
Go to: http://devhub.karakun.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: Fri Apr 19 21:17:43 GMT 2024

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

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

Back to the top