Re: Code generation in a Standalone Java Application [message #491133] |
Tue, 13 October 2009 08:36  |
Eclipse User |
|
|
|
Hi Asha,
I'm forwarding this one the m2t newsgroup.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Asha R schrieb:
> Hi,
>
> Not sure whether this is the right newsgroup or not to post this question.
> Is there something similar to JET that can be used programmatically in
> Java?
>
> The problem with JET is we can create a project and set some destination
> folder where templates get generated based on an action.
>
> But we need to implement something almost similar to what a JET does.
> So, is there any API that can be used to generate the code?
>
> Thank you in advance.
>
> Asha.
|
|
|
|
Re: Code generation in a Standalone Java Application [message #491161 is a reply to message #491138] |
Tue, 13 October 2009 09:27  |
Eclipse User |
|
|
|
Yes, Xpand as well can be used and executed in any Java process.
No Eclipse dependency and no need to compile templates before executing
them, since Xpand templates are interpreted.
Cheers,
Sven
laurent Goubet schrieb:
> Hi Asha,
>
> I don't know if you've got a specific m2t engine in view, and I don't
> know if XPand allows for standalone generation of code. I do know
> however that Acceleo supports both "runtime" generation within Eclipse
> and "standalone" generation outside of Eclipse (with a single 'required'
> dependency to Eclipse jars for "org.eclipse.core.runtime").
>
> Laurent Goubet
> Obeo
>
> Sebastian Zarnekow a écrit :
>> Hi Asha,
>>
>> I'm forwarding this one the m2t newsgroup.
>>
>> Regards,
>> Sebastian
>
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
|
|
|
Powered by
FUDForum. Page generated in 0.07260 seconds