]> source.dussan.org Git - poi.git/commitdiff
Patch forrest to expect all links to be "https" instead of "http"
authorDominik Stadler <centic@apache.org>
Mon, 15 Jul 2024 05:40:48 +0000 (05:40 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 15 Jul 2024 05:40:48 +0000 (05:40 +0000)
Otherwise generating documentation leads to incorrect links with "../https://..."

Unfortunately Forrest is archived at Apache so we cannot get this fixed
in Forrest anymore.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919235 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index db1d37080461b04861518589b77c27069b61c10f..7a65cc0973c979f81faa6c218a563e0f951b077e 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -2038,6 +2038,13 @@ under the License.
             unless="main.docs.notRequired" description="Builds the HTML pages of the POI website">
         <echo message="Using Apache Forrest from ${env.FORREST_HOME}"/>
 
+        <echo message="Adjusting http -> https in forrset itself"/>
+        <replace dir="${env.FORREST_HOME}"
+                 token="'http://'"
+                 value="'https://'"
+                 summary="true"
+                 includes="**/*.xsl"/>
+
         <exec executable="${env.FORREST_HOME}/bin/forrest" osfamily="unix"/>
         <exec executable="cmd" osfamily="windows">
             <arg value="/c"/>