Affects Version/s: 1.0.1
Fix Version/s: 1.0.2
Number of attachments :
When signing a jar file, the signature file is allowed to contain hyphens (i.e. the '-' character). I found the doc for valid characters here:
Legal characters include letters, digits, underscores, and hyphens.
If a signature file contains hyphens, and JNLP signing is enabled, griffon will create a main jar file that contains missing signed elements (the JNLP file). The result is that the application won't even execute.
The fix is an easy one-liner (though it was hard to track). Make sure the isJarSigned method accepts all legal characters:
griffon-1.0.1/scripts/_GriffonPackage.groovy, line 338
I.e. the \w reg.ex character class includes letters, digits and underscores. The hyphen should also be included.