Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Jet Editor and Argument variable
Jet Editor and Argument variable [message #105870] Thu, 03 January 2008 18:18 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Hi all,

I just tried the EMFT Jet editor for editing a javajet file. I have
done very little JET work before, but I ran through the tutorials on
Developer works and it seems pretty powerful.

I use the arguments variable (the one passed to generate method).
However, the JET editor complains a bit about this:


<%@ jet
package="com.ibm.pdc.example.jet.gen"
class="GenDAO"
skeleton="custom.skeleton"
imports="java.util.* "
%>

<% String user = (String)argument; %>

It complains because "argument cannot be resolved".

Is there an easy way to get around this error message?

Cheers,
Ian
Re: Jet Editor and Argument variable [message #105916 is a reply to message #105870] Thu, 03 January 2008 19:08 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Ian,

I have similar problems in trying to use the JET editor for EMF's
templates. The older one used to work. It's best to ask about this on
the M2T newsgroup which I added to the "to" list of the reply. EMF's
templates rely on referring to "stringBuffer" as well, and that's not
working either. :-(


Ian Bull wrote:
> Hi all,
>
> I just tried the EMFT Jet editor for editing a javajet file. I have
> done very little JET work before, but I ran through the tutorials on
> Developer works and it seems pretty powerful.
>
> I use the arguments variable (the one passed to generate method).
> However, the JET editor complains a bit about this:
>
>
> <%@ jet
> package="com.ibm.pdc.example.jet.gen"
> class="GenDAO"
> skeleton="custom.skeleton"
> imports="java.util.* "
> %>
>
> <% String user = (String)argument; %>
>
> It complains because "argument cannot be resolved".
>
> Is there an easy way to get around this error message?
>
> Cheers,
> Ian
Re: Jet Editor and Argument variable [message #613079 is a reply to message #105870] Thu, 03 January 2008 19:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31467
Registered: July 2009
Senior Member
Ian,

I have similar problems in trying to use the JET editor for EMF's
templates. The older one used to work. It's best to ask about this on
the M2T newsgroup which I added to the "to" list of the reply. EMF's
templates rely on referring to "stringBuffer" as well, and that's not
working either. :-(


Ian Bull wrote:
> Hi all,
>
> I just tried the EMFT Jet editor for editing a javajet file. I have
> done very little JET work before, but I ran through the tutorials on
> Developer works and it seems pretty powerful.
>
> I use the arguments variable (the one passed to generate method).
> However, the JET editor complains a bit about this:
>
>
> <%@ jet
> package="com.ibm.pdc.example.jet.gen"
> class="GenDAO"
> skeleton="custom.skeleton"
> imports="java.util.* "
> %>
>
> <% String user = (String)argument; %>
>
> It complains because "argument cannot be resolved".
>
> Is there an easy way to get around this error message?
>
> Cheers,
> Ian


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Jet Editor and Argument variable
Next Topic:avoid assertWriting check?
Goto Forum:
  


Current Time: Sun Sep 20 04:48:46 GMT 2020

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

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

Back to the top