DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32126>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32126 Condition "IsSigned" to check if a jarfile is signed Summary: Condition "IsSigned" to check if a jarfile is signed Product: Ant Version: 1.6.2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Hello, I have written a Condition "IsSigned" which checks whether a jarfile is signed. <issigned file="xyz.jar" property="signed"/> <issigned file="xyz.jar" name="Sun" property="signed"/> It can be used in two ways: if name isn't specified, true is returned if any signature is present; if name is specified, true is returned only if this particular signature is present. The task will check whether <name>.SF is present in META-INF. It will check both for <name> truncated to 8 chars and a full length <name>. Let me know whether this is of interest. Tarlika Elisabeth Schmitz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]