You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2004/11/06 02:01:57 UTC
svn commit: rev 56717 - incubator/beehive/trunk/user
Author: mmerz
Date: Fri Nov 5 17:01:56 2004
New Revision: 56717
Modified:
incubator/beehive/trunk/user/webappRuntimeCore.xml
Log:
Merge WSM-specific code from alpha branch back into trunk.
Added target for copying WSM and controls specific libs -- without netui libs.
Todo: There should be smaller, independent targets that deploy the libs for each subproject.
Modified: incubator/beehive/trunk/user/webappRuntimeCore.xml
==============================================================================
--- incubator/beehive/trunk/user/webappRuntimeCore.xml (original)
+++ incubator/beehive/trunk/user/webappRuntimeCore.xml Fri Nov 5 17:01:56 2004
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="Beehive/Webapp Build" default="usage" basedir=".">
+<project name="Beehive/Webapp Deploy" default="usage" basedir=".">
<property environment="os"/>
<property file="${os.BEEHIVE_HOME}/beehive.properties"/>
@@ -36,6 +36,25 @@
<copy todir="${webapp.dir}/resources/">
<fileset dir="${os.BEEHIVE_HOME}/lib/netui/resources">
<include name="**/*"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="deploy.wsm.webapp.runtime" description="Deploy the Beehive/WSM webapp runtime given a webapp root as -Dwebapp.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 todir="${webapp.dir}/WEB-INF/lib">
+ <fileset dir="${os.BEEHIVE_HOME}/lib/common">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${os.BEEHIVE_HOME}/lib/controls">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${os.BEEHIVE_HOME}/lib/wsm/">
+ <include name="*.jar"/>
</fileset>
</copy>
</target>