Try to make target "docs" work on Windows again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2018-08-23 09:06:34 +00:00
parent 1d9568899d
commit b2e81ecad9

View File

@ -1753,7 +1753,11 @@ under the License.
<target name="docs" depends="init, -check-forrest-installed, -check-docs, javadocs" <target name="docs" depends="init, -check-forrest-installed, -check-docs, javadocs"
unless="main.docs.notRequired" description="Builds the POI website"> unless="main.docs.notRequired" description="Builds the POI website">
<exec executable="${env.FORREST_HOME}/bin/forrest"/> <exec executable="${env.FORREST_HOME}/bin/forrest" osfamily="unix"/>
<exec executable="cmd" osfamily="windows">
<arg value="/c"/>
<arg value="${env.FORREST_HOME}/bin/forrest.bat"/>
</exec>
<echo>Broken links:</echo> <echo>Broken links:</echo>
<echo file="${build.site}/../tmp/brokenlinks.xml"/> <echo file="${build.site}/../tmp/brokenlinks.xml"/>