A Question about JET Tutorial 1 [message #427621] |
Tue, 24 February 2009 11:09  |
Eclipse User |
|
|
|
I am new to JET and would like to following the tutorial. But I have
question as follow:
Where should I copy the following code?
>We can create an instance of the HelloWorldTemplate template implementation
>class and invoke its generate method like this:
> HelloWorldTemplate helloworld = new HelloWorldTemplate();
> String result = helloworld.generate(null);
> System.out.println(result);
In the template, HelloWorldTemplate, or a new java file? How to run the
generated file? Thanks.
Williams.
|
|
|
|
|
|
|
|
|
Re: A Question about JET Tutorial 1 [message #428092 is a reply to message #427993] |
Tue, 10 March 2009 06:02  |
Eclipse User |
|
|
|
"Ed Merks" <Ed.Merks@gmail.com> schrieb im Newsbeitrag
news:gp39u2$b61$1@build.eclipse.org...
> It should still work with File->New->Other..->Java Emitter
> Templates->Convert Projects to JET Projects... Isn't that available?
No, it was not available. However, I downloaded and installed a fresh
Eclipse and added the two EMF Codegen plugins to it, et voilà, it started
working again.
Eclipse seems to be like Windows used to be, a fresh install from time to
time works wonders. The amount of time I spent hunting for plugin yesterday
is quite sad, but I thank you for confirming that I already had the right
plugins in view.
Bye,
Mike
--
Michael Piefel
netCCM GmbH
|
|
|
Powered by
FUDForum. Page generated in 0.05732 seconds