1.download sts
http://spring.io/
2.virgo plugin in eclipse install
release: http://download.eclipse.org/virgo/release/tooling
3.virgo-tomcat-server download
4.maven configuration in sts
5.git clone
https://github.com/kane-chen/webContract.git
6.import maven projects
(notice: repositories\pluginRepository\com.springsource.bundlor.maven)
7.now,u can [mvn install] on root-path(u can get all bundles)
8.run at vts(product mode),
① cp contract/target/par-provided/* > {vts_home}/repository/usr
② cp contract/target/contract-1.0.0.RELEASE.par > {vts_home}/pickup
③ startup.bat
9.run at sts with vts
① use h2,will cause classNotFound,because of class.forName(h2Driver) in DBCP
(NOTICE: todo,vts/bin start.sh is ok,why not in sts? )
②cp dependency > {vts_home}/repository/usr
(how about: add [target/par-provided/*.jar] into vts' classpath)
③ run on server(project>properties>projectFaces>eclipseRT Par)
u will find contract.par in {vts_home}/stage
(par has only bundles, without dependency-jar)