Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Re: Using JET with EMF model
Re: Using JET with EMF model [message #50183] Mon, 22 September 2008 15:09 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
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
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using JET with EMF model [message #50212 is a reply to message #50183] Mon, 22 September 2008 16:05 Go to previous messageGo to next message
Pavel Bernshtam is currently offline Pavel BernshtamFriend
Messages: 36
Registered: July 2009
Member
Thank you, where can I get this example source code?
Re: Using JET with EMF model [message #50241 is a reply to message #50212] Mon, 22 September 2008 16:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090806070706080701020109
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Pavel,

The examples are available with each download:
<http://www.eclipse.org/modeling/emf/downloads/?project=emf>

http://www.eclipse.org/modeling/emf/downloads/?project=emf

If you have the EMF SDK installed, you can install them in the workspace
via the wizards as well...



Pavel Bernshtam wrote:
> Thank you, where can I get this example source code?
>

--------------090806070706080701020109
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Pavel,<br>
<br>
The examples are available with each download:<a
href="http://www.eclipse.org/modeling/emf/downloads/?project=emf"><br>
</a>
<blockquote><a
href="http://www.eclipse.org/modeling/emf/downloads/?project=emf">http://www.eclipse.org/modeling/emf/downloads/?project=emf</a><br>
</blockquote>
If you have the EMF SDK installed, you can install them in the
workspace via the wizards as well...<br>
<br>
<br>
<br>
Pavel Bernshtam wrote:
<blockquote
cite="mid:d9d780f225998dbba5c45e8e3bd2ce8e$1@www.eclipse.org"
type="cite">Thank you, where can I get this example source code?
<br>
<br>
</blockquote>
</body>
</html>

--------------090806070706080701020109--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using JET with EMF model [message #50582 is a reply to message #50241] Thu, 25 September 2008 07:44 Go to previous messageGo to next message
Pavel Bernshtam is currently offline Pavel BernshtamFriend
Messages: 36
Registered: July 2009
Member
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 #50609 is a reply to message #50582] Thu, 25 September 2008 10:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
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
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using JET with EMF model [message #51874 is a reply to message #50609] Tue, 07 October 2008 08:11 Go to previous messageGo to next message
Pavel Bernshtam is currently offline Pavel BernshtamFriend
Messages: 36
Registered: July 2009
Member
Sorry, I do not see the attachment.
Can you send me it to pavelber at cadence dot com ?
Re: Using JET with EMF model [message #51924 is a reply to message #51874] Tue, 07 October 2008 10:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
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--


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Using JET with EMF model [message #52002 is a reply to message #50609] Sun, 12 October 2008 12:05 Go to previous messageGo to next message
Pavel Bernshtam is currently offline Pavel BernshtamFriend
Messages: 36
Registered: July 2009
Member
Which user/password should I use while accessing files directly from CVS?
Re: Using JET with EMF model [message #52027 is a reply to message #52002] Sun, 12 October 2008 12:47 Go to previous message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 213
Registered: July 2009
Senior Member
There is a reference for the same at
http://wiki.eclipse.org/index.php/CVS_Howto
Previous Topic:JET tag to set local variable - Flag
Next Topic:why WS tags not autoimported?
Goto Forum:
  


Current Time: Thu Dec 26 20:00:53 GMT 2024

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

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

Back to the top