On 8/3/07, Bob Fleischman <[EMAIL PROTECTED]> wrote:
>
> Matt:
>
> Is there a way to modify the template with out rebuilding the entire
> plug-in?
>
> I'd be willing to try my hand at it but I'm not familiar with Maven
> Plug-ins.
>
> Can I pull the one ftl out and put it in a directory where it will be seen
> and override the file in the plugin?

I've had luck with doing this in IDEA, but not from the command-line
using Maven.

It's worth a shot - just customize the template and put it in the same
directory in your classpath and see if that works. This is the
eventual solution I'd like to use.

Matt

>
> Bob
>
>
> mraible wrote:
> >
> > It's not currently supported in 2.0 RC1 (as far as I remember).
> > However, it is ignored in the latest 2.0 RC1 snapshot. If someone
> > wants to contribute support, we'd welcome the enhancement. It should
> > just be a matter of modifying the FreeMarker templates.
> >
> > Matt
> >
> > On 7/31/07, fadhli <[EMAIL PROTECTED]> wrote:
> >>
> >> If I'm not mistaken a while back I did the same thing and Matt told me
> >> that
> >> Appfuse:gen can't generate embedabble objects. I don't know if it's gonna
> >> be
> >> supported in Appfuse 2.0 final.
> >>
> >>
> >>
> >> On 8/1/07, Bob Fleischman
> >> <[EMAIL PROTECTED]>
> >> wrote:
> >> >
> >> > I tried to create an object called Restaurant. Amount other fields it
> >> > contained
> >> >
> >> > private Address address = new Address();
> >> >
> >> > I copied the address code from the User.java class.
> >> >
> >> > However when I tried to generate code with the maven appfuse plugin I
> >> > received the following error
> >> >
> >> > [INFO] Error while processing template appfuse/web/spring/list-view.ftl
> >> > Expression field.value.typeName is undefined on line 28, column 10 in
> >> > appfuse/web/spring/list-view.ftl.
> >> >
> >> > If I comment out the Address field (and related getter and setter) the
> >> error
> >> > goes away.
> >> >
> >> > Has anyone else had this problem? Can anyone offer any insight into
> >> this
> >> > problem. I search the forum and JIRA but had no luck.
> >> >
> >> > Thanks
> >> >
> >> > Bob Fleischman
> >> > --
> >> > View this message in context:
> >> http://www.nabble.com/Error%3A-Appfuse%3Agen-and-embedded-Address-object-tf4197876s2369.html#a11939211
> >>
> >> > Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >
> >> >
> >> ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >>  /fadhli
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Error%3A-Appfuse%3Agen-and-embedded-Address-object-tf4197876s2369.html#a11992357
>
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to