sample build lack of deploy target

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

sample build lack of deploy target

James Mao

I think we should add a deploy target into our sample ant build file.
So, in hello_world sample,
we can do this:

ant deploy -Dapp.server=tomcat

and what this target will do is just simply compile/build/war the
service and copy the war file into CATALINA_HOME/webapps
and it also should check the CATALINA_HOME/shared/lib, see if the
required jars are there, and also should check if the conflicts jars are
if something wrong, we should give out the warning message, or fail the