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/12/06 20:16:36 UTC
svn commit: r110008 - /incubator/beehive/trunk/wsm/build.xml
Author: mmerz
Date: Mon Dec 6 11:16:34 2004
New Revision: 110008
URL: http://svn.apache.org/viewcvs?view=rev&rev=110008
Log:
Fixed drt (broke in 109995).
Modified:
incubator/beehive/trunk/wsm/build.xml
Modified: incubator/beehive/trunk/wsm/build.xml
Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/build.xml?view=diff&rev=110008&p1=incubator/beehive/trunk/wsm/build.xml&r1=110007&p2=incubator/beehive/trunk/wsm/build.xml&r2=110008
==============================================================================
--- incubator/beehive/trunk/wsm/build.xml (original)
+++ incubator/beehive/trunk/wsm/build.xml Mon Dec 6 11:16:34 2004
@@ -15,7 +15,7 @@
$Header:$
-->
-<project name="wsm" default="build.all" basedir=".">
+<project name="Beehive/WSM Framework Build" default="usage" basedir=".">
<property environment="os"/>
<property file="../beehive.properties"/>
<!-- THE WSM BUILD REQUIRES JDK5 AND LATER. ATTEMPTS TO BUILD ON JDK EALRIER THAN 5.0 WILL BE A NOOP -->
@@ -82,10 +82,10 @@
<echo message="----------------------------------------------------------------"/>
<echo message="| Standard Targets |"/>
<echo message="----------------------------------------------------------------"/>
- <echo message="build.all - build all libraries"/>
- <echo message="build.core - build core WSM library"/>
- <echo message="build.axis - build AXIS plugin library"/>
- <echo message="clean - remove all build files"/>
+ <echo message="build - build core WSM classes and jar files"/>
+ <echo message="build_axis - build AXIS dependent classes and jar files"/>
+ <echo message="build_all - build all classes and jar files"/>
+ <echo message="clean - remove build files"/>
<echo message="deploy - prepares an axis webapp suitable for deployment"/>
<echo message=" to a servlet container"/>
<echo message="redeploy - do an "clean", ", "build" and "deploy"."/>
@@ -175,9 +175,9 @@
<!-- ==================================================================== -->
<!-- Jars up the classes, libraries, and resources. -->
<!-- ==================================================================== -->
- <target name="build.core" depends="classes" if="isJDKOver5">
+ <target name="build" depends="classes" if="isJDKOver5">
<echo message="--------------------------------------------------"/>
- <echo message="| build.core starting |"/>
+ <echo message="| WSM build starting |"/>
<echo message="--------------------------------------------------"/>
<jar jarfile="${wsm.jar}">
<fileset dir="${api.classes}"/>
@@ -186,10 +186,10 @@
</fileset>
</jar>
<echo message="--------------------------------------------------"/>
- <echo message="| build.core ending |"/>
+ <echo message="| WSM build ending |"/>
<echo message="--------------------------------------------------"/>
</target>
- <target name="build.axis" depends="axis" if="isJDKOver5">
+ <target name="build_axis" depends="axis" if="isJDKOver5">
<echo message="--------------------------------------------------"/>
<echo message="| WSM-AXIS build starting |"/>
<echo message="--------------------------------------------------"/>
@@ -207,10 +207,9 @@
<echo message="--------------------------------------------------"/>
</target>
<!-- ==================================================================== -->
- <!-- build.all -->
+ <!-- build_all. build this project and all inter-project dependencies -->
<!-- ==================================================================== -->
- <target name="build.all" depends="build.core, build.axis">
- </target>
+ <target name="build_all" depends="build, build_axis"/>
<!-- ==================================================================== -->
<!-- clean -->
<!-- ==================================================================== -->
@@ -219,9 +218,31 @@
<ant dir="drt" target="clean" inheritAll="false"/>
</target>
<!-- ==================================================================== -->
+ <!-- clean_all -->
+ <!-- ==================================================================== -->
+ <target name="clean_all">
+ <antcall target="clean"/>
+ </target>
+ <!-- ==================================================================== -->
+ <!-- redeploy -->
+ <!-- ==================================================================== -->
+ <target name="redeploy">
+ <antcall target="clean"/>
+ <antcall target="build"/>
+ <antcall target="deploy"/>
+ </target>
+ <!-- ==================================================================== -->
+ <!-- redeploy_all -->
+ <!-- ==================================================================== -->
+ <target name="redeploy_all">
+ <antcall target="clean_all"/>
+ <antcall target="build_all"/>
+ <antcall target="deploy_all"/>
+ </target>
+ <!-- ==================================================================== -->
<!-- deploy.webservice.runtime -->
<!-- ==================================================================== -->
- <target name="deploy.webservice.runtime" depends="build.all"
+ <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}"/>
@@ -242,6 +263,36 @@
</copy>
</target>
<!-- ==================================================================== -->
+ <!-- deploy -->
+ <!-- ==================================================================== -->
+ <target name="deploy" depends="build_all" if="isJDKOver5">
+ <echo message="--------------------------------------------------"/>
+ <echo message="| WSM deploy starting |"/>
+ <echo message="--------------------------------------------------"/>
+
+ <echo message="--------------------------------------------------"/>
+ <echo message="| WSM deploy ending |"/>
+ <echo message="--------------------------------------------------"/>
+ </target>
+ <!-- ==================================================================== -->
+ <!-- deploy_all -->
+ <!-- ==================================================================== -->
+ <target name="deploy_all">
+ <antcall target="deploy"/>
+ </target>
+ <!-- ==================================================================== -->
+ <!-- minprod -->
+ <!-- ==================================================================== -->
+ <target name="minprod">
+ <echo message="--------------------------------------------------"/>
+ <echo message="| WSM minprod starting |"/>
+ <echo message="--------------------------------------------------"/>
+ <antcall target="deploy"/>
+ <echo message="--------------------------------------------------"/>
+ <echo message="| WSM minprod completed |"/>
+ <echo message="--------------------------------------------------"/>
+ </target>
+ <!-- ==================================================================== -->
<!-- docs -->
<!-- ==================================================================== -->
<target name="docs" if="isJDKOver5">
@@ -254,9 +305,7 @@
<!-- ==================================================================== -->
<!-- drt -->
<!-- ==================================================================== -->
- <target name="drt" depends="build.all">
+ <target name="drt" depends="build_all">
<ant dir="drt" target="drt" inheritAll="false"/>
- </target>
- <target name="deploy">
</target>
</project>