This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new d7ad7cb665 Improve building d7ad7cb665 is described below commit d7ad7cb66596db877254803fc52fa3e118094cdb Author: remm <r...@apache.org> AuthorDate: Mon Mar 3 16:07:05 2025 +0100 Improve building --- BUILDING.txt | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index add0e98f6c..b7773ffc2e 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -340,14 +340,19 @@ in build.xml and the default property values in build.properties.default. in build.properties.default. Download and extract NSIS for Windows by running "ant download-dist". Note - the NSIS installation PATH from the output or by checking "nsis.home" in - build.properties.default. For example: - /home/myuser/tomcat-build-libs/nsis-3.10 + the NSIS installation path from the output or by checking "nsis.home" in + build.properties.default. For example by default: + nsis.home=${base.path}/nsis-${nsis.version} - Download the correct sources from the same site and run the - following command in the extracted source directory: + Download the corresponding sources from the same site at: + ${base-sf.loc}/nsis/nsis-${nsis.version}-src.tar.bz2 - scons UNICODE=yes PREFIX=/home/myuser/tomcat-build-libs/nsis-3.10/Bin SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no VERSION=3.10 install-compiler + Install the scons Python software construction tool. + + Run the following command in the extracted NSIS source directory and set PATH: + + scons UNICODE=yes PREFIX=${base.path}/nsis-${nsis.version}/Bin SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no VERSION=${nsis.version} install-compiler + export PATH=$PATH:${base.path}/nsis-${nsis.version}/Bin You need to specify the correct value in VERSION (this ends up in the installer binary so it needs to match). The PREFIX is not important, but you need to make sure @@ -355,9 +360,11 @@ in build.xml and the default property values in build.properties.default. the NSIS binary distribution that "ant download-dist" installed. When using "NSIS_CONFIG_CONST_DATA_PATH=no" the binary is independent of the value of "PREFIX". - Use this "makensis" binary by making sure, that it gets found by setting - an appropriate PATH environment variable. In addition set the ant property - "nsis.tool" to "makensis" in build.properties. + Use this "makensis" binary to make sure that it gets found after setting + the PATH environment variable. + + In addition set the ant property "nsis.tool" to "makensis" in + build.properties. 6. Build the release: --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org