From 08a78c6c10b7f1318763d93a35915bfd4f723213 Mon Sep 17 00:00:00 2001 From: Rainer Klute Date: Sat, 1 Jan 2005 23:39:42 +0000 Subject: [PATCH] - Performs checks for JDepend, JUnit and Xalan *before* doing long-running tasks. - Included HWPS in the generated API documentation. - Updated the copyright year to 2005. - Target "reports" completely split into subtargets. - Target "cvschangelog" is a main target now. - Issue warning if CVS_RSH is not set. - Minor build and documentation enhancements git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353621 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 188 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 123 insertions(+), 65 deletions(-) diff --git a/build.xml b/build.xml index 7f042ae226..4a82133ff2 100644 --- a/build.xml +++ b/build.xml @@ -37,9 +37,9 @@ --> - - The POI project Ant build. - + + The POI project Ant build. + @@ -117,30 +117,33 @@ - - -Main targets: - compile Compiles the POI classes - test Tests main, contrib and scratchpad - jar Creates jar files for distribution - docs Builds the POI website - fetch-jars Fetches needed JAR files from the Internet - generate-records Generates HSSF records - generate-types Generates word types - javadocs Generate javadocs - single-test Runs a single test case specified with - -Dtestcase=classname - debug-test Runs a single test case specified with - -Dtestcase=classname with remote debug - options turned on. - reports Creates junit, jdepend and javadoc reports - site Generates the documentation and reports - dist Creates the entire distribution into build/dist - clean-dist Cleans the build directory then creates a - distribution - - + + + + + - Execute "ant -projecthelp" to view a listing of the main build + targets. + - Execute "ant help-properties" to view a listing of some properties + controlling the build process. + + + + + + + + The following properties control the build process: + + -Ddisconnected="true": Do not execute any targets that require an online + connection to the Internet. + + WARNING: This list is not exhaustive. + + + + @@ -471,29 +474,54 @@ FORREST_HOME environment variable! - - - - - - + + + + + + + + + + WARNING: The environment variable CVS_RSH is not set. If you cannot + access the CVS repository this could be one of the reasons for the + failure. + + + + + + + + + + + + + + + + + + @@ -506,19 +534,11 @@ FORREST_HOME environment variable! - - - - - - - - - + POI Documentation]]> - Copyright © 2003 Apache Software Foundation.]]> - - - + + Copyright © 2005 Apache Software Foundation.]]> + + + + + @@ -603,8 +626,13 @@ FORREST_HOME environment variable! - + + + + + + @@ -703,7 +731,7 @@ FORREST_HOME environment variable! + description="Generates the Ant document type definition (DTD)"> @@ -711,6 +739,7 @@ FORREST_HOME environment variable! + @@ -718,16 +747,18 @@ FORREST_HOME environment variable! - JUnit is not available. You must download JUnit from <http://www.junit.org/> and include the JAR file in your - classpath." + classpath. - + + + + @@ -735,17 +766,44 @@ FORREST_HOME environment variable! - JDepend is not available. You must download JDepend from <http://www.clarkware.com/software/JDepend.html> and include the - JAR file in your classpath." + JAR file in your classpath. - + - + + + + + + + + + + + + + + + + The Xalan XSLT processor is not available. You must download Xalan from + <http://xml.apache.org/xalan-j/> and include the JAR file in your + classpath. + + + + + + +