This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 21b214bf423c087dae7f015f99e614436fd21ffb Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Mar 4 16:13:19 2025 +0000 Add target for local makensis build --- build.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/build.xml b/build.xml index de5c41fc60..db3fe26b41 100644 --- a/build.xml +++ b/build.xml @@ -2781,6 +2781,39 @@ You may need a custom build of makensis. Instructions for this may be found in B <move file="${codesigning.file_to_sign}.sig" tofile="res/install-win/Uninstall.exe.sig"/> </target> + <target name="-local-makensis-set-properties"> + <property environment="env"/> + <condition property="scons.ok"> + <available file="scons" filepath="${env.PATH}"/> + </condition> + <condition property="local.makensis.ok"> + <isset property="scons.ok"/> + </condition> + </target> + + <target name="-local-makensis-check" + depends="-local-makensis-set-properties" + unless="${local.makensis.ok}"> + <echo message="Unable to build local version of makensis. All following checks must pass."/> + <echo message=" Found scons on path: ${scons.ok}"/> + </target> + + <target name="local-makensis" + description="Builds a local version of makensis with the same version as the equivalent Windows executable" + depends="-local-makensis-check" + if="${local.makensis.ok}"> + <exec executable="scons" dir="${nsis.src.home}"> + <arg value="UNICODE=yes"/> + <arg value="PREFIX=${nsis.bin.home}/Bin"/> + <arg value="SKIPPLUGINS=all"/> + <arg value="SKIPUTILS=all"/> + <arg value="SKIPMISC=all"/> + <arg value="NSIS_CONFIG_CONST_DATA_PATH=no"/> + <arg value="VERSION=${nsis.version}"/> + <arg value="install-compiler"/> + </exec> + </target> + <target name="-pre-release-lone-target-check"> <fail message="The pre-release target must be called all on its own. Specifically, you must run 'ant release' /after/ 'ant pre-release' in order to properly configure the build."> <condition> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org