Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Dynamic Templates in standalone code generation
Dynamic Templates in standalone code generation [message #415803] Mon, 07 January 2008 16:47 Go to next message
Conrad Hoffmann is currently offline Conrad HoffmannFriend
Messages: 12
Registered: July 2009
Junior Member
Hi!

I have a non-eclipse application trying to generate Java code from a
genmodel that uses dynamic templates.

So far, I found the following bits of info:

<cite
from=" http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg2 1120.html">
It should work standalone because folks at Apache's Tuscany project use it
that way. But dynamic templates don't work (since they rely on an Eclipse
workspace to compile and code before loading it)
</cite>

plus this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=203127
but I guess plugin != standalone application.

So my question is: is it possible? And if so, only in 2.3? Because I am
trying in 2.2, and I can't get it to work...

Any help would be greatly appreciated!

Regards, conrausch
Re: Dynamic Templates in standalone code generation [message #415804 is a reply to message #415803] Mon, 07 January 2008 17:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
Conrad,

No, we rely on being able to create an Eclipse project and having the
Eclipse compiler compile the code for that project. It won't work
standalone because then we'd need to invoke javac and do all kinds of
stuff we've never learned how to do...


Conrad Hoffmann wrote:
> Hi!
>
> I have a non-eclipse application trying to generate Java code from a
> genmodel that uses dynamic templates.
>
> So far, I found the following bits of info:
>
> <cite
> from=" http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg2 1120.html">
>
> It should work standalone because folks at Apache's Tuscany project
> use it that way. But dynamic templates don't work (since they rely on
> an Eclipse workspace to compile and code before loading it)
> </cite>
>
> plus this bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203127
> but I guess plugin != standalone application.
>
> So my question is: is it possible? And if so, only in 2.3? Because I
> am trying in 2.2, and I can't get it to work...
>
> Any help would be greatly appreciated!
>
> Regards, conrausch
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Why no Operations on EEnums?
Next Topic:publishing ecore models to a website
Goto Forum:
  


Current Time: Fri Apr 19 04:12:44 GMT 2024

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

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

Back to the top