Using JET with EMF model [message #129811] |
Mon, 22 September 2008 09:42  |
Eclipse User |
|
|
|
Hi!
I need to run JET templates on a EMF model metadata - i.e. the model
itself (not data) is input to my JET template.
More practically - I want generate non java code, based on EMF model.
How I do it?
Thank you
|
|
|
|
|
|
|
|
|
|
|
|
Re: Using JET with EMF model [message #620320 is a reply to message #129811] |
Mon, 22 September 2008 11:09  |
Eclipse User |
|
|
|
Pavel,
The org.eclipse.emf.examples.generator.validator example would be good
to look at. Note that there's a JET newsgroup if you're using JET and
an EMF newsgroup. Of those two would be a better place to ask. I've
included both in the "to" list of the reply.
Pavel Bernshtam wrote:
> Hi!
>
> I need to run JET templates on a EMF model metadata - i.e. the model
> itself (not data) is input to my JET template.
>
> More practically - I want generate non java code, based on EMF model.
>
> How I do it?
>
> Thank you
>
|
|
|
|
|
Re: Using JET with EMF model [message #620325 is a reply to message #129850] |
Thu, 25 September 2008 03:44  |
Eclipse User |
|
|
|
Thank you.
I'm very sorry for the my novice question - how I use these examples?
I see that they are packaged as a plugin - how I install and view them?
I tried to add only validator exaple as "Import project" but then he lost
all his dependencies
|
|
|
Re: Using JET with EMF model [message #620326 is a reply to message #129890] |
Thu, 25 September 2008 06:22  |
Eclipse User |
|
|
|
Pavel,
That zip file has then in installable form, which isn't so useful if you
want to see them or import them into the workspace. I'm getting an
install of the modeling package to see where in the wizards the ability
to import the zipped examples packaged in the SDK hides, but that's kind
of slow at the moment because the SR1 just came out yesterday. I've
attached the example.psf file so you can use "File->Import->Team->Team
Project Set" and extract the example directly from CVS.
Pavel Bernshtam wrote:
> Thank you.
> I'm very sorry for the my novice question - how I use these examples?
> I see that they are packaged as a plugin - how I install and view them?
>
> I tried to add only validator exaple as "Import project" but then he
> lost all his dependencies
>
|
|
|
|
Re: Using JET with EMF model [message #620334 is a reply to message #129978] |
Tue, 07 October 2008 06:55  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------090800070904080100030207
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Pavel,
I think I forgot to attach it because I don't see it either. :-P
Pavel Bernshtam wrote:
> Sorry, I do not see the attachment.
> Can you send me it to pavelber at cadence dot com ?
>
--------------090800070904080100030207
Content-Type: text/xml;
name="example.psf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="example.psf"
<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.eclipse.team.cvs.core.cvsnature">
<project reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf/examples/org.eclipse.emf.examples.generat or.validator,org.eclipse.emf.examples.generator.validator "/>
</provider>
</psf>
--------------090800070904080100030207--
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04732 seconds