| Re: Jet Editor and Argument variable [message #38424] |
Thu, 03 January 2008 14:08  |
|
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
|
|
|