Author: steveh
Date: Tue Feb 1 15:24:17 2005
New Revision: 149461
URL: http://svn.apache.org/viewcvs?view=rev&rev=149461
Log:
(1) Adding 'build.livesite' target to trunk/distribution.xml. (It is
inconvenient to use the distiribution ZIP as the livesite upload ZIP. The
livesite ZIP file should have 'bad' ZIP form with *no* top level directory.
ZIP files with 'good' form, make determining the URL path cumbersome.)
(2) Adding 'usage' targets to docs/build.xml and docs/forrest/build.xml.
tests: build.dist, drt
Modified:
incubator/beehive/trunk/distribution.xml
incubator/beehive/trunk/docs/build.xml
incubator/beehive/trunk/docs/forrest/build.xml
Modified: incubator/beehive/trunk/distribution.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/distribution.xml?view=diff&r1=149460&r2=149461
==============================================================================
--- incubator/beehive/trunk/distribution.xml (original)
+++ incubator/beehive/trunk/distribution.xml Tue Feb 1 15:24:17 2005
@@ -425,6 +425,20 @@
<tar destfile="build/jars/${dist.name}-docs.tgz"
basedir="build/tmp-dist" includes="${dist.name}-docs/**" compression="gzip"/>
<delete dir="${tmpdocsdir}" />
+ </target>
+
+ <target name="build.livesite" description="Builds a zipfile of the current
live site.">
+ <property name="tmpdocsdir"
location="build/tmp-dist/${dist.name}-docs" />
+ <copy todir="${tmpdocsdir}">
+ <fileset dir="${dist.dir}/docs" />
+ </copy>
+
+ <fail unless="beehive.version" message="Could not build distribution
archive; beehive.version was not specified"/>
+
+ <mkdir dir="build/jars"/>
+ <zip destfile="build/jars/site.zip"
basedir="build/tmp-dist/${dist.name}-docs/" />
+
+ <delete dir="${tmpdocsdir}" />
</target>
<target name="clean.dist" description="Cleans a Beehive distribution
build">
Modified: incubator/beehive/trunk/docs/build.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/build.xml?view=diff&r1=149460&r2=149461
==============================================================================
--- incubator/beehive/trunk/docs/build.xml (original)
+++ incubator/beehive/trunk/docs/build.xml Tue Feb 1 15:24:17 2005
@@ -3,7 +3,7 @@
<!--
Beehive Docs build file.
-->
-<project name="Beehive Docs Build" default="site" basedir=".">
+<project name="Beehive Docs Build" default="usage" basedir=".">
<import file="../beehive-imports.xml"/>
@@ -15,5 +15,23 @@
<ant dir="forrest" target="clean"/>
<delete dir="forrest/build"/>
</target>
-
+
+ <target name="gen.config.ref.html">
+ <xslt in="../netui/src/util/schema/netui-config.xsd"
+ out="build/temp/mytest.html"
+ style="tools/xslt/configRefHtml.xslt">
+ </xslt>
+ </target>
+
+ <!-- ============================================= -->
+ <!-- -->
+ <!-- Default usage target -->
+ <!-- -->
+ <!-- ============================================= -->
+ <target name="usage" description="Print the usage for this build.xml">
+ <java fork="no" classname="org.apache.tools.ant.Main">
+ <arg line="-f build.xml -projecthelp"/>
+ </java>
+ </target>
+
</project>
Modified: incubator/beehive/trunk/docs/forrest/build.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/docs/forrest/build.xml?view=diff&r1=149460&r2=149461
==============================================================================
--- incubator/beehive/trunk/docs/forrest/build.xml (original)
+++ incubator/beehive/trunk/docs/forrest/build.xml Tue Feb 1 15:24:17 2005
@@ -1,4 +1,4 @@
-<project name="Forrest Site Build" default="site" basedir=".">
+<project name="Forrest Site Build" default="usage" basedir=".">
<!-- ============================================================ -->
<!-- |
|-->
@@ -11,4 +11,15 @@
<property environment="os"/>
<property name="forrest.home" value="${os.FORREST_HOME}"/>
<import file="${os.FORREST_HOME}/forrest.build.xml"/>
+
+ <!-- ============================================= -->
+ <!-- -->
+ <!-- Default usage target -->
+ <!-- -->
+ <!-- ============================================= -->
+ <target name="usage" description="Print the usage for this build.xml">
+ <java fork="no" classname="org.apache.tools.ant.Main">
+ <arg line="-f build.xml -projecthelp"/>
+ </java>
+ </target>
</project>