The one in wicketstuff-core (push-parent/push-examples) works - use same instructions. I don't know anything about those projects (or why there is one in core and one above it). But the one in core works.
-- Jeremy Thomerson http://www.wickettraining.com On Sat, Dec 27, 2008 at 12:30 AM, 新希望软件 -- 俞宏伟 <nhsoft....@gmail.com> wrote: > now, the GMAP2 example works, thanks. > > but i found that wicketstuff-push example can not works. i found that the > web.xml file of wicketstuff-push has some problem. > > the web.xml content in example war file as follow: > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application > > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app id="WebApp_ID"> > > <display-name>wicketstuff-push-examples</display-name> > > <welcome-file-list> > > <welcome-file>index.html</welcome-file> > > <welcome-file>index.htm</welcome-file> > > <welcome-file>index.jsp</welcome-file> > > <welcome-file>default.html</welcome-file> > > <welcome-file>default.htm</welcome-file> > > <welcome-file>default.jsp</welcome-file> > > </welcome-file-list> > > </web-app> > > > > On Sat, Dec 27, 2008 at 02:45, Jeremy Thomerson > <jer...@wickettraining.com>wrote: > > > Do you have maven installed? If so, it should just be like this: > > > > svn co > > > > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core > > cd wicketstuff-core > > mvn -N clean install > > cd gmap2-parent > > mvn clean install > > cd gmap2-examples > > mvn jetty:run > > > > Now browse http://localhost:8080/gmap2-examples/ > > > > Notice that in the first "mvn clean install" there is "-N" - this is > > non-recursive so you only build the parent wicketstuff-core POM module > and > > not all the children. > > > > Also note that GMap2 (and all wicketstuff-core projects) are currently > > built > > against Wicket 1.4-SNAPSHOT. You may have to look to the old 1.3.x > branch > > in wicket stuff and experiment on your own to get a 1.3.5 version. Or > just > > change the pom and compile against 1.3.5, and fix any compile errors > > (probably mostly generics). > > Hope this helps. The other option (if you don't have Maven) is to get > the > > latest war from > > > > > http://wicketstuff.org/maven/repository/org/wicketstuff/gmap2-examples/1.4-SNAPSHOT/ > > > > -- > > Jeremy Thomerson > > http://www.wickettraining.com > > > > On Fri, Dec 26, 2008 at 7:27 AM, 新希望软件 -- 俞宏伟 <nhsoft....@gmail.com> > > wrote: > > > > > First Sorry for my poor english. > > > > > > I have checked out wicketstuff-core source code, but i do not know how > to > > > generate wicket-core jars and example war. > > > > > > I want to run GMAP2 example, and then want to add GMAP2 to my wicket > > > project(now using wicket 1.3.5). > > > > > > thanks. > > > > > > > > > -- > 新希望软件---俞宏伟 > Addr:宁波市人民路645弄312号(日湖国贸)1304室 > Site:http://www.nhsoft.cn > gtalk:nhsoft....@gmail.com > Tel: 0574-87280538 > Fax: 0574-27825902 > Mobile:13780081921 >