Thanks mraible! It works. One more problem : In directory src/test/java/com/mycompany/app/service ,I don't see PersonManagerTest.java but I see PersonManagerImplTest.java in directory src/test/java/com/mycompany/app/service/impl??
mraible wrote: > > Change <amp.genericCore>true</amp.genericCore> in your pom.xml to be > <amp.genericCore>false</amp.genericCore>. > > On Wed, Apr 22, 2009 at 1:06 AM, Kenny Ha <vifaxoc...@yahoo.com> wrote: > >> >> I read on http://static.appfuse.org/plugins/appfuse-maven-plugin/ >> http://static.appfuse.org/plugins/appfuse-maven-plugin/ ,it said that >> appfuse:gen: Generates and installs Tests, DAOs, Managers, Controllers >> and >> Views based on POJOs But I don't see DAOs,Managers class are created from >> POJO Person. I only see >> src/main/java/com/mycompany/app/webapp/action/PersonActonTest.java >> ,src/test/java/com/mycompany/app/webapp/action/PersonActonTest.java are >> created on my source tree >> >> Can you explain me this?? >> Thanks! >> >> >> mraible wrote: >> > >> > You don't need them if the generic ones work for you - they're defined >> > as Spring beans. There is an option to generate these extra classes if >> > you want to customize. See the documentation for more details. >> > >> > On Apr 21, 2009, at 8:47 PM, Kenny Ha <vifaxoc...@yahoo.com> wrote: >> > >> >> >> >> Yeah,Im sorry. It also generate tests. >> >> I mean mvn appfuse:gen command doesn't generate DAO and service >> >> classes and >> >> I must create by myself??? >> >> >> >> Thanks! >> >> >> >> >> >> mraible wrote: >> >>> >> >>> It should generate tests too. >> >>> >> >>> On Tue, Apr 21, 2009 at 7:43 PM, Kenny Ha <vifaxoc...@yahoo.com> >> >>> wrote: >> >>> >> >>>> >> >>>> Hi all, >> >>>> >> >>>> mvn appfuse:gen command only generate source code for CRUD >> >>>> classes/screens. >> >>>> It doesn't generate test classes and I must create by myself??? >> >>>> >> >>>> Thanks! >> >>>> >> >>>> -- >> >>>> View this message in context: >> >>>> >> http://www.nabble.com/About-mvn-appfuse%3Agen-command---tp23168245s2369p23168245.html >> >>>> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >>>> >> >>>> >> >>>> --- >> >>>> ------------------------------------------------------------------ >> >>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> >>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >>>> >> >>>> >> >>> >> >>> >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/About-mvn-appfuse%3Agen-command---tp23168245s2369p23168725.html >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> > For additional commands, e-mail: users-h...@appfuse.dev.java.net >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/About-mvn-appfuse%3Agen-command---tp23168245s2369p23170800.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> > > -- View this message in context: http://www.nabble.com/About-mvn-appfuse%3Agen-command---tp23168245s2369p23172237.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net