aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-07-15 05:40:48 +0000
committerDominik Stadler <centic@apache.org>2024-07-15 05:40:48 +0000
commit1a07ee8d6a41a410c7567b3d58f9b1ee7815c941 (patch)
tree96a7a788382bd3418e401b61ccbb94bbd9b99c81
parent04a956ab8f429fbfa3cfa637e379b68f715b9a60 (diff)
downloadpoi-1a07ee8d6a41a410c7567b3d58f9b1ee7815c941.tar.gz
poi-1a07ee8d6a41a410c7567b3d58f9b1ee7815c941.zip
Patch forrest to expect all links to be "https" instead of "http"
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
-rw-r--r--build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index db1d370804..7a65cc0973 100644
--- 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"/>