Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Re: Jet Editor and Argument variable
Re: Jet Editor and Argument variable [message #38424] Thu, 03 January 2008 14:08 Go to previous message
Eclipse User
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:The problem of <c:dump/> tag in jet2
Next Topic:Re: ws:file in JET2
Goto Forum:
  


Current Time: Wed May 22 10:53:32 EDT 2013

Powered by FUDForum. Page generated in 0.01673 seconds