Author: nick
Date: Wed Oct 31 16:26:52 2018
New Revision: 1845343
URL: http://svn.apache.org/viewvc?rev=1845343&view=rev
Log:
Allow the forrest task to be called from the site sub-project
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL:
http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1845343&r1=1845342&r2=1845343&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Wed Oct 31 16:26:52 2018
@@ -1799,9 +1799,11 @@ under the License.
<fail message="Apache Forrest is not installed."/>
</target>
- <target name="docs" depends="init, -check-forrest-installed, -check-docs,
javadocs"
- unless="main.docs.notRequired" description="Builds the POI
website">
-
+ <target name="docs" depends="init, -check-forrest-installed, -check-docs,
javadocs, -forrest-docs"
+ unless="main.docs.notRequired"
+ description="Builds the POI website" />
+ <target name="-forrest-docs" depends="-check-forrest-installed,
-check-docs"
+ unless="main.docs.notRequired" description="Builds the HTML pages
of the POI website">
<exec executable="${env.FORREST_HOME}/bin/forrest" osfamily="unix"/>
<exec executable="cmd" osfamily="windows">
<arg value="/c"/>
@@ -1821,6 +1823,7 @@ under the License.
<!-- Generates the latest/development API documentation. -->
<target name="javadocs"
description="Generates the API documentation">
+ <echo message="Generating latest Javadocs in ${javadocs.report.dir}"/>
<javadoc verbose="false" author="true" destdir="${javadocs.report.dir}"
windowtitle="POI API Documentation" use="true" version="true"
maxmemory="384M" additionalparam="-notimestamp" locale="en_US"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]