Hi Anatol, Thanks for the updates.
I don't think that maven genapp plugin has the functionality you mentioned. It is a straigh-forward tool. I think that the only solution is to define templates like "spring-wicket", "spring-hibernate-wicket", etc. I have some working projects with spring, hibernate and wicket, so I can turn them into such template If you need one. This is just adding some pre-goals for xdoclet and dependecies. BTW, I think that in order to create a "serious" project, you should split it into smaller projects (seperate projects for view (wicket) and business (spring+hibernate)) and use maven multiproject. Regards, Kamil On Thu, 10 Feb 2005 11:20:10 +0200, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > Hello Kamil. > > I have changed your template. Added functional tests support. Also > fixed some typos and made other minor changes. > > Check this out http://belus.of.by/~userarea/web-wicket.zip > > Just unpack archive to some dir. And run > maven -Dmaven.genapp.template.repository=<dir where you unpack> > -Dtemplate=web-wicket genapp > > Then go to the generated dir and run > maven war -- create war file > maven test:blackbox -- run functional tests > > But just before running functional tests you should configure > maven.cargo.container.home property in project.properties file (set it to > dir where Tomcat installed). > > BTW Maven genapp plugin is very limited. What if I want include > Spring or Hibernate integration in my generated project?? > The best solution will be if genapp ask me [Include Spring integration > (y/n)] and depending on user answer change java and configuration > files. > Is any way to do such interactive customization in genapp plugin??? > > > On Wed, 9 Feb 2005 13:56:39 +0100, Kamil Rembalski <[EMAIL PROTECTED]> wrote: > > Thanks for feedback and help. Is @PACKAGE@ ilegal? Maven filters it > > correctly (at least for me). I have to use it to be able to customize > > the class name of wicket application. Feel free to modify the template > > if you have any ideas. > > > > Thanks, > > Kamil > > > > On Wed, 9 Feb 2005 10:47:55 +0200, Anatol Pomozov > > <[EMAIL PROTECTED]> wrote: > > > You no need to modify maven jars. Just unpack archive to any directory > > > i.e. d:/temp/genapp-templates and run > > > maven -Dmaven.genapp.template.repository=d:/temp/genapp-templates > > > -Dtemplate=wicket-genapp genapp > > > > > > I found some bugs in your template > > > -web-inf folder name in lower-case > > > -web.xml file has invalid entries like @[EMAIL PROTECTED] > > > > > > wishlist > > > -Generate not just unit tests but also simple functional tests (using > > > jWebUnit for example) > > > > > > > > > On Tue, 8 Feb 2005 22:17:28 +0100, Kamil Rembalski <[EMAIL PROTECTED]> > > > wrote: > > > > After that, you get a project with needed libraries and a valid > > > > web.xml. The URL for wicket servlet is the name of your application > > > > (one you supplied to genapp). I will check if there is a possibility > > > > of using the template without having to modify the maven jars. I'm > > > > pretty sure there should be such possibility... > > > > > > > > Cheers, > > > > Kamil > > > > > > -- > > > anatol > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > Wicket-develop mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Wicket-develop mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > -- > anatol > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
