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
This commit is contained in:
Dominik Stadler 2024-07-15 05:40:48 +00:00
parent 04a956ab8f
commit 1a07ee8d6a
1 changed files with 7 additions and 0 deletions

View File

@ -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"/>