From: <jbo...@li...> - 2006-03-31 11:36:42
|
Author: aron.gombas Date: 2006-03-31 06:36:17 -0500 (Fri, 31 Mar 2006) New Revision: 3363 Modified: trunk/labs/kosmos/build/build.xml trunk/labs/kosmos/build/deploy.xml Log: web.xml is "touched" after "deploy" Modified: trunk/labs/kosmos/build/build.xml =================================================================== --- trunk/labs/kosmos/build/build.xml 2006-03-31 11:34:50 UTC (rev 3362) +++ trunk/labs/kosmos/build/build.xml 2006-03-31 11:36:17 UTC (rev 3363) @@ -95,7 +95,6 @@ <target name="all" depends="clean,compile" description="Recompiles all Java source files"/> <target name="undeploy" depends="init" description="Undeploys the module from the container"> - <!-- it doesn't stop the container! --> <delete dir="${container.dir}"/> </target> @@ -109,7 +108,8 @@ <copy todir="${container.dir}/WEB-INF"> <fileset dir="${conf.dir}/${container.name}"/> </copy> - <!-- it doesn't restart the container! --> + <!-- touch "web.xml" to force reloading --> + <touch file="${container.dir}/WEB-INF/web.xml"/> </target> <target name="redeploy" depends="undeploy,deploy" description="Redeploys the module to the container"/> Modified: trunk/labs/kosmos/build/deploy.xml =================================================================== --- trunk/labs/kosmos/build/deploy.xml 2006-03-31 11:34:50 UTC (rev 3362) +++ trunk/labs/kosmos/build/deploy.xml 2006-03-31 11:36:17 UTC (rev 3363) @@ -38,11 +38,11 @@ <copy todir="${container.dir}/WEB-INF"> <fileset dir="${conf.dir}/${container.name}"/> </copy> - <!-- it doesn't restart the container! --> + <!-- touch "web.xml" to force reloading --> + <touch file="${container.dir}/WEB-INF/web.xml"/> </target> <target name="undeploy" depends="init" description="Undeploys the portlet from the container"> - <!-- it doesn't stop the container! --> <delete dir="${container.dir}"/> </target> |