Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Share Xpand templates
Share Xpand templates [message #489266] Fri, 02 October 2009 07:41 Go to next message
Hector is currently offline HectorFriend
Messages: 20
Registered: July 2009
Junior Member
Hello,

I am trying to generate the same code from different models (each one has its own metamodel) and I have build a template with some rules that only need xpand type objects (they are expanded for List, Object...) to make them independent from the metamodels. Now I want to share them in a sigle plugin and acces them from other plugins, but the doc says that all templates should be located under the classpath.

Do you have an "official" way to do this?
Re: Share Xpand templates [message #489270 is a reply to message #489266] Fri, 02 October 2009 08:01 Go to previous message
Hector is currently offline HectorFriend
Messages: 20
Registered: July 2009
Junior Member
Solved! Smile

It is only needed to export the shared rules package, import it in the other plugin and add it to the classpath. Then acces them with the qualified name (now I'll try to improve this with an import).

Best regards.
Previous Topic:Starting at M2T
Next Topic:Check editor problems
Goto Forum:
  


Current Time: Fri Apr 26 12:16:05 GMT 2024

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

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

Back to the top