You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/04/12 18:17:30 UTC
svn commit: r528007 - in /incubator/uima/uimaj/trunk/uima-docbooks:
build.xml build_overview_and_setup.xml build_references.xml build_tools.xml
build_tutorials_and_users_guides.xml
Author: schor
Date: Thu Apr 12 09:17:29 2007
New Revision: 528007
URL: http://svn.apache.org/viewvc?view=rev&rev=528007
Log:
UIMA-236 convert uima-docbooks project to use the new uima-docbook-tool project
Modified:
incubator/uima/uimaj/trunk/uima-docbooks/build.xml
incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml
incubator/uima/uimaj/trunk/uima-docbooks/build_references.xml
incubator/uima/uimaj/trunk/uima-docbooks/build_tools.xml
incubator/uima/uimaj/trunk/uima-docbooks/build_tutorials_and_users_guides.xml
Modified: incubator/uima/uimaj/trunk/uima-docbooks/build.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build.xml?view=diff&rev=528007&r1=528006&r2=528007
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build.xml Thu Apr 12 09:17:29 2007
@@ -19,60 +19,54 @@
-->
-<project name="Apache UIMA DocBook" default="all" basedir=".">
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Build all the Docbook Documentation under src/docbook == -->
- <!-- == == -->
- <!-- == Built 2 times - first time updates the olinks, 2nd time builds == -->
- <!-- == == -->
- <!-- ======================================================================== -->
-
- <!-- Load our properties -->
- <property file="project.properties"/>
-
- <target name="all" description="--> Build all documentation" depends="do_olinks, do_build_given_olinks" />
-
- <target name="do_olinks" description="--> for all books, compute the cross reference databases needed for linking">
- <antcall target="build_all_books">
- <param name="olink_work" value="only" />
- </antcall>
- </target>
-
- <target name="do_build_given_olinks" description="--> build all books using precomputed olink database information">
- <antcall target="build_all_books">
- <param name="olink_work" value="no" />
- </antcall>
- </target>
-
- <target name="build_all_books" description="internal - build all books">
- <!-- Build the UIMA books -->
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="overview_and_setup" />
- </ant>
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="tutorials_and_users_guides" />
- </ant>
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="tools" />
- </ant>
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="references" />
- </ant>
-
- <!--copy html overview index.html to the target directory -->
- <copy todir="${target.dir}/" file="${src.dir}/index.html"/>
-
- </target>
-
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Clean up the target directory == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="clean" description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean" />
- </target>
+<project name="Build all Apache UIMA DocBooks" default="all-books" basedir=".">
+
+ <!-- ======================================================================== -->
+ <!-- == == -->
+ <!-- == Build all the Docbook Documentation under src/docbook == -->
+ <!-- == == -->
+ <!-- == Built 2 times - first time updates the olinks, 2nd time builds == -->
+ <!-- == == -->
+ <!-- ======================================================================== -->
+
+ <import file="../uima-docbook-tool/build/build-docbook.xml"/>
+
+ <target name="all-books" description="--> Build all documentation"
+ depends="init_once, do_olinks, do_build_given_olinks, copy-index.html"/>
+
+ <target name="do_olinks"
+ description="--> for all books, compute the cross reference databases needed for linking">
+ <antcall target="build_all_books">
+ <param name="olink_work" value="only"/>
+ </antcall>
+ </target>
+
+ <target name="do_build_given_olinks"
+ description="--> build all books using precomputed olink database information">
+ <antcall target="build_all_books">
+ <param name="olink_work" value="no"/>
+ </antcall>
+ </target>
+
+ <target name="copy-index.html" depends="init_once">
+ <!--copy html overview index.html to the target directory -->
+ <copy todir="${target.dir}/" file="${src.dir}/index.html"/>
+ </target>
+
+ <target name="build_all_books" description="internal - build all books">
+ <!-- Build the UIMA books -->
+ <antcall target="all">
+ <param name="book_name" value="overview_and_setup"/>
+ </antcall>
+ <antcall target="all">
+ <param name="book_name" value="tutorials_and_users_guides"/>
+ </antcall>
+ <antcall target="all">
+ <param name="book_name" value="tools"/>
+ </antcall>
+ <antcall target="all">
+ <param name="book_name" value="references"/>
+ </antcall>
+ </target>
+
</project>
Modified: incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml?view=diff&rev=528007&r1=528006&r2=528007
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build_overview_and_setup.xml Thu Apr 12 09:17:29 2007
@@ -19,28 +19,10 @@
under the License.
-->
-<project name="Apache UIMA overview and setup documentation" default="all" basedir=".">
+<project name="Build Apache UIMA overview and setup docbook" default="all" basedir=".">
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Build all the Velocity Docbook Documentation == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="all" description="--> Build the book">
+ <property name="book_name" value="overview_and_setup"/>
- <!-- Build the Users Guide -->
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="overview_and_setup"/>
- </ant>
- </target>
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Clean up the target directory == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="clean"
- description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean"/>
- </target>
+ <import file="../uima-docbook-tool/build/build-docbook.xml"/>
+
</project>
Modified: incubator/uima/uimaj/trunk/uima-docbooks/build_references.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build_references.xml?view=diff&rev=528007&r1=528006&r2=528007
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build_references.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build_references.xml Thu Apr 12 09:17:29 2007
@@ -19,28 +19,10 @@
under the License.
-->
-<project default="all" basedir="." name="Apache UIMA references documentation">
+<project default="all" basedir="." name="Build Apache UIMA references docbook">
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Build all the Velocity Docbook Documentation == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="all" description="--> Build the book">
+ <property name="book_name" value="references"/>
- <!-- Build the Users Guide -->
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="references"/>
- </ant>
- </target>
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Clean up the target directory == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="clean"
- description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean"/>
- </target>
+ <import file="../uima-docbook-tool/build/build-docbook.xml"/>
+
</project>
Modified: incubator/uima/uimaj/trunk/uima-docbooks/build_tools.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build_tools.xml?view=diff&rev=528007&r1=528006&r2=528007
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build_tools.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build_tools.xml Thu Apr 12 09:17:29 2007
@@ -19,28 +19,12 @@
under the License.
-->
-<project default="all" basedir="." name="Apache UIMA tools documentation">
+<!-- set the basedir value to point to the top level of the project -->
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Build all the Velocity Docbook Documentation == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="all" description="--> Build the book">
-
- <!-- Build the Users Guide -->
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="tools"/>
- </ant>
- </target>
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Clean up the target directory == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="clean"
- description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean"/>
- </target>
+<project name="Build Apache UIMA Tools docbook" default="all" basedir=".">
+
+ <property name="book_name" value="tools"/>
+
+ <import file="../uima-docbook-tool/build/build-docbook.xml"/>
+
</project>
Modified: incubator/uima/uimaj/trunk/uima-docbooks/build_tutorials_and_users_guides.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/build_tutorials_and_users_guides.xml?view=diff&rev=528007&r1=528006&r2=528007
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/build_tutorials_and_users_guides.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/build_tutorials_and_users_guides.xml Thu Apr 12 09:17:29 2007
@@ -19,28 +19,12 @@
under the License.
-->
-<project default="all" basedir=".">
+<!-- set the basedir value to point to the top level of the project -->
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Build all the Velocity Docbook Documentation == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="all" description="--> Build the book">
-
- <!-- Build the Users Guide -->
- <ant antfile="build-docbook.xml" target="all">
- <property name="book_name" value="tutorials_and_users_guides"/>
- </ant>
- </target>
-
- <!-- ======================================================================== -->
- <!-- == == -->
- <!-- == Clean up the target directory == -->
- <!-- == == -->
- <!-- ======================================================================== -->
- <target name="clean"
- description="--> Delete temporary and distribution directories for docs">
- <ant antfile="build-docbook.xml" target="clean"/>
- </target>
+<project name="Build Apache UIMA tutorials_and_users_guides docbook" default="all" basedir=".">
+
+ <property name="book_name" value="tutorials_and_users_guides"/>
+
+ <import file="../uima-docbook-tool/build/build-docbook.xml"/>
+
</project>