Am 11.03.25 um 13:09 schrieb Mark Thomas:
On 11/03/2025 11:24, Mark Thomas wrote:
<snip/>
File Uninstall.exe
line fails claiming it can' t open ".\Uninstall.exe"
but that file is created a few steps earlier and is present when I
check the file system.
Still looking...
It is JSign again.
If I switch back to JSign 6.0 the build starts working. Based on what we
have seen previously, it looks JSign is retaining a reference to the
Uninstall.exe that it has just injected the signature into and that is
preventing NSIS from copying the file.
Because Ant uses JSign in process, it is particularly susceptible to any
issues with not closing files.
I'm going to switch all releases back to JSign 6.0 and restart my testing.
My plan is to test building on each of the three options and to confirm
that the build is reproducible with the other two options. I am only
going to test Windows and Linux. Adding MacOS into the mix would add
additional complexity and I am happy, based on previous testing, that if
makensis works on Linux it will work on MacOS as well.
Super cool, that you found it. I had the same problem but thought it was
due to an incorrect signature. NSIS code wants to mmap the file, but I
didn't get the idea of the file still being open.
Thanks a bunch,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org