Author: jsong
Date: Thu Aug 5 17:02:20 2004
New Revision: 35757
Modified:
incubator/beehive/trunk/controls/test/webapps/build.xml
Log:
Add usage explanation to controls/test/webapp/build.xml.
Modified: incubator/beehive/trunk/controls/test/webapps/build.xml
==============================================================================
--- incubator/beehive/trunk/controls/test/webapps/build.xml (original)
+++ incubator/beehive/trunk/controls/test/webapps/build.xml Thu Aug 5
17:02:20 2004
@@ -1,21 +1,15 @@
<?xml version="1.0"?>
-
-<!--
-================================================================
- This build is equivalent to netui/test/webapps/drt/build.xml
-================================================================
--->
-
<!--
-================================================================
+===========================================================================
- This project is a test of using the test recorder against a
- Tomcat web application. Below are targets that show how
- the test recorder runs against Tomcat for running a test suite
- against a running server, a test suite without the server running,
- and a set of named tests against a running server.
+ This project consists of targets to build/clean a web appplication with
+ the latest Beehive NETUI artifacts, start/stop Tomcat server, and deploy
+ the web application to a started Tomcat server.
+
+ This project originates from trunk/netui/test/webapps/drt/build.xml for
+ code reusing.
-================================================================
+============================================================================
-->
<project name="Beehive/Controls/TestControls-webapp" default="usage"
basedir=".">
@@ -28,6 +22,27 @@
<property name="webapp.name" value="controlsWeb"/>
<property name="webapp.waitfor.url"
value="http://localhost:8080/${webapp.name}"/>
+ <target name="usage">
+ <echo message="" />
+ <echo message="" />
+ <echo message="web app build scripts for controls testing" />
+ <echo
message="================================================================" />
+ <echo message="| Usage
|" />
+ <echo
message="================================================================" />
+ <echo message="" />
+ <echo
message="-------------------------------------------------------------------" />
+ <echo message="| Standard Targets
|" />
+ <echo
message="-------------------------------------------------------------------" />
+ <echo message="build - inject latest netui artifacts and build
controlsWeb, " />
+ <echo message=" build controlsWeb includes compiling controls
in the " />
+ <echo message=" web app.
" />
+ <echo message="start - start Tomcat server"/>
+ <echo message="stop - stop Tomcat server"/>
+ <echo message="deploy - deploys a built webapp to a started Tomcat" />
+ <echo message="" />
+ <echo message="" />
+ </target>
+
<!-- ================================================================ -->
<!-- -->
<!-- Targets for building a webapp -->
@@ -192,12 +207,6 @@
<zip destfile="../../../build/drt/beehive-netui-drt.zip">
<zipfileset dir="." prefix="drt"/>
</zip>
- </target>
-
- <target name="usage">
- <java fork="no" classname="org.apache.tools.ant.Main">
- <arg line="-projecthelp"/>
- </java>
</target>
<!-- todo: this needs to compost down into runTomcat.xml; until we're sure
it works, it stays here -->