You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/02/09 20:29:09 UTC
svn commit: r153108 - in incubator/beehive/trunk/user: beehive-imports.xml
buildWebapp.xml webappRuntimeCore.xml
Author: ekoneil
Date: Wed Feb 9 11:29:07 2005
New Revision: 153108
URL: http://svn.apache.org/viewcvs?view=rev&rev=153108
Log:
Fix for J201. Add usage targets and descriptions to the build files in the distribution.
BB: self
Test: build a distribution, run ant -f <file> usage and ant -f <file> on buildWebapp and webappRuntimeCore
Modified:
incubator/beehive/trunk/user/beehive-imports.xml
incubator/beehive/trunk/user/buildWebapp.xml
incubator/beehive/trunk/user/webappRuntimeCore.xml
Modified: incubator/beehive/trunk/user/beehive-imports.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/user/beehive-imports.xml?view=diff&r1=153107&r2=153108
==============================================================================
--- incubator/beehive/trunk/user/beehive-imports.xml (original)
+++ incubator/beehive/trunk/user/beehive-imports.xml Wed Feb 9 11:29:07 2005
@@ -43,4 +43,10 @@
<pathelement location="${beehive.home}/lib/common/jsr173_1.0_api.jar"/>
</path>
+ <target name="usage" description="Print the usage for this build.xml">
+ <java fork="no" classname="org.apache.tools.ant.Main">
+ <arg line="-f ${ant.file} -projecthelp"/>
+ </java>
+ </target>
+
</project>
Modified: incubator/beehive/trunk/user/buildWebapp.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/user/buildWebapp.xml?view=diff&r1=153107&r2=153108
==============================================================================
--- incubator/beehive/trunk/user/buildWebapp.xml (original)
+++ incubator/beehive/trunk/user/buildWebapp.xml Wed Feb 9 11:29:07 2005
@@ -13,7 +13,7 @@
</fileset>
</path>
- <target name="build">
+ <target name="build" description="Build a webapp given the 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}"/>
@@ -56,18 +56,12 @@
</target>
- <target name="clean">
+ <target name="clean" description="Clean a webapp given the 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}"/>
<delete dir="${webapp.dir}/WEB-INF/classes" includeEmptyDirs="true"/>
<delete dir="${webapp.dir}/WEB-INF/${tmp.sourcegen.dir}" includeEmptyDirs="true"/>
- </target>
-
- <target name="usage" description="">
- <java fork="no" classname="org.apache.tools.ant.Main">
- <arg line="-projecthelp"/>
- </java>
</target>
</project>
Modified: incubator/beehive/trunk/user/webappRuntimeCore.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/user/webappRuntimeCore.xml?view=diff&r1=153107&r2=153108
==============================================================================
--- incubator/beehive/trunk/user/webappRuntimeCore.xml (original)
+++ incubator/beehive/trunk/user/webappRuntimeCore.xml Wed Feb 9 11:29:07 2005
@@ -56,9 +56,9 @@
</copy>
</target>
- <target name="usage" description="Print the usage for this build.xml">
+ <target name="usage" description="Print the usage for this Ant file">
<java fork="no" classname="org.apache.tools.ant.Main">
- <arg line="-projecthelp"/>
+ <arg line="-f ${ant.file} -projecthelp"/>
</java>
</target>