On 01/04/2025 09:31, Emmanuel Bourg wrote:
On 01/04/2025 10:06, Mark Thomas wrote:

Did you figure out the file handler issue with Jsign 7.1?

The issue was with 7.0 - we were seeing the "Unsupported file" error with Ant.

I don't recall any issues with 7.1. I'm currently running my tests so I should be in a position to tag (and test JSign 7.1) later today.

That was discussed in the NSIS thread 3 weeks ago, you said:


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.

and then you rolled back to Jsign 6.0 from 7.1:

   https://github.com/apache/tomcat/commit/5d64005d

I tried to reproduce the issue by mixing Jsign operations (sign or attach) with file manipulations (copy/move from Ant or by cmd.exe copy) from an Ant build, with no success unfortunately.

Thanks for the reminder. I'd forgotten that.

Sorry, I haven't found the root cause of that issue. I'll have to revert JSign back to 6.0.

Mark


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

Reply via email to