I tried that. I put the file in src/main/resources/appfuse/web/spring. No luck from the command line and from within Eclipse (version 3.3 on Linux) using the m2eclipse plugin I get this error:
[INFO] appfuse:gen log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable. log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by log4j:ERROR [EMAIL PROTECTED] whereas object of type log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [EMAIL PROTECTED] log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]. Where is the appfuse maven plugin stored? Can I unpack the war and edit the ftl there? mraible wrote: > > Try putting it in src/main/resources. > > > On 8/4/07, Bob Fleischman <[EMAIL PROTECTED]> wrote: >> >> I'm using Eclipse 3.3. >> >> For the file appfuse/web/spring/list-view.ftl under what source tree >> should >> I put this in my project? Or should I create an 'appfuse' directory on >> the >> root of my project. >> >> >> >> mraible wrote: >> > >> > 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] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Error%3A-Appfuse%3Agen-and-embedded-Address-object-tf4197876s2369.html#a11999412 >> 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] > > > -- View this message in context: http://www.nabble.com/Error%3A-Appfuse%3Agen-and-embedded-Address-object-tf4197876s2369.html#a12001557 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]