You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2025/03/04 15:03:58 UTC

(tomcat) branch main updated (aa5379d96e -> 40f1492018)

This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


    from aa5379d96e Better names for targets
     new 615ab599d1 Support platform or custom makensis on unix/linux/etc
     new 40f1492018 Fix test

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.xml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)


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


(tomcat) 02/02: Fix test

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 40f14920185460c9380c503da63a3169a0fb0b98
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 4 15:03:52 2025 +0000

    Fix test
---
 build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 5a9c934f2e..bb6755e94b 100644
--- a/build.xml
+++ b/build.xml
@@ -2691,7 +2691,7 @@ To skip building the Windows installer, set the skip.installer property in build
     </exec>
   </target>
 
-  <target name="-installer-makensis" if="${nsis.executable.unix}">
+  <target name="-installer-makensis" if="nsis.executable.unix">
     <echo message="Using makensis: ${nsis.executable.unix}"/>
     <exec dir="${tomcat.dist}" executable="${nsis.executable.unix}" osfamily="unix">
       <arg value="-DNSISDIR=${nsis.bin.home}"/>


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


(tomcat) 01/02: Support platform or custom makensis on unix/linux/etc

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 615ab599d1a2335c7833dbdc43a1002c32e63078
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 4 14:53:44 2025 +0000

    Support platform or custom makensis on unix/linux/etc
---
 build.xml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/build.xml b/build.xml
index 1597b12967..5a9c934f2e 100644
--- a/build.xml
+++ b/build.xml
@@ -2623,19 +2623,22 @@
         </and>
       </or>
     </condition>
-    <condition property="makensis.ok">
-      <or>
-        <and>
-          <equals arg1="${nsis.tool}" arg2="makensis" forcestring="true"/>
-          <available file="makensis" filepath="${env.PATH}"/>
-        </and>
-      </or>
+    <condition property="nsis.executable.unix" value="${nsis.bin.home}/Bin/makensis">
+      <available file="makensis" filepath="${nsis.bin.home}/Bin"/>
+    </condition>
+    <condition property="nsis.executable.unix" value="makensis">
+      <and>
+        <available file="makensis" filepath="${env.PATH}"/>
+        <not>
+          <available file="makensis" filepath="${nsis.bin.home}/Bin"/>
+        </not>
+      </and>
     </condition>
     <condition property="installer.ok">
       <or>
         <os family="windows"/>
         <isset property="wine.ok"/>
-        <isset property="makensis.ok"/>
+        <isset property="nsis.executable.unix"/>
         <istrue value="${skip.installer}"/>
       </or>
     </condition>
@@ -2688,8 +2691,9 @@ To skip building the Windows installer, set the skip.installer property in build
     </exec>
   </target>
 
-  <target name="-installer-makensis" if="${makensis.ok}">
-    <exec dir="${tomcat.dist}" executable="makensis" osfamily="unix">
+  <target name="-installer-makensis" if="${nsis.executable.unix}">
+    <echo message="Using makensis: ${nsis.executable.unix}"/>
+    <exec dir="${tomcat.dist}" executable="${nsis.executable.unix}" osfamily="unix">
       <arg value="-DNSISDIR=${nsis.bin.home}"/>
       <arg value="-V2"/>
       <arg value="tomcat.nsi"/>


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