]> source.dussan.org Git - poi.git/commitdiff
Try to make target "docs" work on Windows again
authorDominik Stadler <centic@apache.org>
Thu, 23 Aug 2018 09:06:34 +0000 (09:06 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 23 Aug 2018 09:06:34 +0000 (09:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838703 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 3bd8a951d2b0b320d0ba4fd167b48f08c3f84b4f..81327702e73e5a27af3a0d581d5f452fbc9a90f4 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1753,7 +1753,11 @@ under the License.
     <target name="docs" depends="init, -check-forrest-installed, -check-docs, javadocs"
             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 file="${build.site}/../tmp/brokenlinks.xml"/>