Author: mmerz
Date: Fri Nov 19 14:50:47 2004
New Revision: 105893

Removed:
   incubator/beehive/trunk/wsm/samples/
Modified:
   incubator/beehive/trunk/test/ant/webappRuntimeCore.xml
   incubator/beehive/trunk/wsm/build.xml
Log:
- Added build targets (deploy.wsm.webapp.runtime) to build wsm samples in the 
SVN repos (see build targets for the distro).
- Removed samples for old deployment model that are no longer useful.



Modified: incubator/beehive/trunk/test/ant/webappRuntimeCore.xml
==============================================================================
--- incubator/beehive/trunk/test/ant/webappRuntimeCore.xml      (original)
+++ incubator/beehive/trunk/test/ant/webappRuntimeCore.xml      Fri Nov 19 
14:50:47 2004
@@ -23,6 +23,14 @@
         </ant>
     </target>
 
+    <!-- params (location webapp.dir) -->
+    <!-- todo: temporary addition; this should be in a new build-file: 
webserviceRuntimeCore; web services should not depend on webapps -->
+    <target name="deploy.wsm.webapp.runtime" description="Deploy the Beehive 
web services runtime into a webapp rooted at ${webapp.dir}">
+        <ant target="deploy.webservice.runtime" dir="${os.BEEHIVE_HOME}/wsm/" 
inheritAll="false">
+            <property name="webapp.dir" value="${webapp.dir}"/>
+        </ant>
+    </target>
+
     <target name="usage" description="">
         <java fork="no" classname="org.apache.tools.ant.Main">
             <arg line="-projecthelp"/>

Modified: incubator/beehive/trunk/wsm/build.xml
==============================================================================
--- incubator/beehive/trunk/wsm/build.xml       (original)
+++ incubator/beehive/trunk/wsm/build.xml       Fri Nov 19 14:50:47 2004
@@ -211,6 +211,29 @@
         <antcall target="deploy_all"/>
     </target>
     <!-- ==================================================================== 
-->
+    <!-- deploy.webservice.runtime -->
+    <!-- ==================================================================== 
-->
+    <target name="deploy.webservice.runtime" depends="build_all"
+            description="Deploy the web services runtime to a fully-quaflified 
webapp directory specified with the property 'webapp.dir'">
+        <available property="webapp.dir.available" file="${webapp.dir}" 
type="dir"/>
+        <fail unless="webapp.dir.available" message="Can't find the webapp 
directory ${webapp.dir}"/>
+        <echo>Deploy WSM to webapp rooted at: ${webapp.dir}</echo>
+        <!-- copy the required libraries -->
+        <copy todir="${webapp.dir}/WEB-INF/lib/" failOnError="true">
+            <fileset dir="${jars.dir}" includes="**/*.jar"/>
+            <fileset file="${controls.jar}"/>
+            <fileset dir="${lib.dir}" includes="**/*.jar"/>
+            <fileset dir="${ext.lib.dir}" includes="**/*.jar"/>
+            <!-- beehive/external -->
+            <fileset file="${log4j.jar}"/>
+            <fileset file="${xbean.jar}"/>
+            <fileset file="${jsr173.jar}"/>
+            <!-- velocity -->
+            <fileset file="${velocity14.jar}"/>
+            <fileset file="${velocitydep14.jar}"/>
+        </copy>
+    </target>
+    <!-- ==================================================================== 
-->
     <!-- deploy -->
     <!-- ==================================================================== 
-->
     <target name="deploy" depends="build_all" if="isJDKOver5">

Reply via email to