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 2c83467dfa1950ebf32f692d4a668fe18a9a0ee4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 4 19:24:01 2025 +0000

    Revert "Fix build on windows"
    
    This reverts commit 0f2800481ae8138f52a061f67cf025d4f76af5fc.
---
 build.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index f36b547efc..1e14508a4f 100644
--- a/build.xml
+++ b/build.xml
@@ -2624,9 +2624,12 @@ Apache Tomcat ${version} native binaries for Win64 
AMD64/EMT64 platform.
         <istrue value="${skip.installer}"/>
       </or>
     </condition>
-    <exec executable="${nsis.executable.unix}"
-        osfamily="unix"
-        outputproperty="nsis.executable.unix.version">
+  </target>
+
+  <target name="-installer-set-properties-2"
+      depends="-installer-set-properties-1"
+      if="nsis.executable.unix">
+    <exec executable="${nsis.executable.unix}" 
outputproperty="nsis.executable.unix.version">
       <arg value="-VERSION"/>
     </exec>
     <condition property="nsis.executable.unix.version.ok">
@@ -2651,7 +2654,7 @@ To skip building the Windows installer, set the 
skip.installer property in build
   </target>
 
   <target name="-installer-check-version"
-      depends="-installer-set-properties-1"
+      depends="-installer-set-properties-2"
       unless="${nsis.executable.unix.version.ok}">
     <fail message="An executable makensis was found at: ${nsis.executable.unix}
 with version [${nsis.executable.unix.version}] but version [v${nsis.version}] 
is required


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to