Author: steveh
Date: Tue Mar 22 14:23:12 2005
New Revision: 158691

URL: http://svn.apache.org/viewcvs?view=rev&rev=158691
Log:
Sync'd back to rev. 157841, and edited the documentation by hand.

Modified:
    incubator/beehive/trunk/user/netui-blank/build.xml

Modified: incubator/beehive/trunk/user/netui-blank/build.xml
URL: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/user/netui-blank/build.xml?view=diff&r1=158690&r2=158691
==============================================================================
--- incubator/beehive/trunk/user/netui-blank/build.xml (original)
+++ incubator/beehive/trunk/user/netui-blank/build.xml Tue Mar 22 14:23:12 2005
@@ -18,7 +18,7 @@
  -->
 
 <!--
-  An Ant build file for compiling a Beehive page flow application.
+  An Ant build file for compiling a Beehive page flow web application.
 -->
 <project name="Beehive/Samples/netui-blank" default="usage" basedir="../..">
 
@@ -29,7 +29,6 @@
     <import file="${beehive.home}/ant/beehive-tools.xml"/>
 
     <property name="webapp.dir" location="${basedir}"/>
-    <property name="contextPath" value="netui-blank"/>
 
     <property name="tmp.sourcegen.dir" value=".tmpbeansrc"/>
     <property name="tmp.jpfgen.dir" value=".pageflow-struts-generated"/>
@@ -44,7 +43,7 @@
         </fileset>
     </path>    
 
-    <target name="deploy-beehive" description="Copy the Beehive webapp rutime 
into the webapp's WEB-INF/lib directory">
+    <target name="deploy-beehive" description="Copy the Beehive page flow and 
web service rutime into the target webapp">
         <deploy-netui webappDir="${webapp.dir}"/>
         <deploy-wsm webappDir="${webapp.dir}"/>
     </target>
@@ -95,8 +94,9 @@
         <property name="archive.dir" value="${webapp.dir}/.."/>
 
         <!-- this does *not* exclude source from the archive -->
-        <war destfile="${archive.dir}/${contextPath}.war" 
webxml="${webapp.dir}/WEB-INF/web.xml">
+        <war destfile="${archive.dir}/${context.path}.war" 
webxml="${webapp.dir}/WEB-INF/web.xml">
             <fileset dir="${webapp.dir}">
+                <exclude name="WEB-INF/web.xml"/>
                 <exclude name="WEB-INF/src/**"/>
             </fileset>
         </war>
@@ -116,4 +116,4 @@
         </java>
     </target>
 
-</project>
\ No newline at end of file
+</project>


Reply via email to