Jet Editor and Argument variable [message #105870] |
Thu, 03 January 2008 13:18  |
Eclipse User |
|
|
|
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 14:08  |
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
|
|
|
Re: Jet Editor and Argument variable [message #613079 is a reply to message #105870] |
Thu, 03 January 2008 14:08  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02302 seconds