You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/11/09 10:51:17 UTC

DO NOT REPLY [Bug 32126] New: - Condition "IsSigned" to check if a jarfile is signed

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: dev@ant.apache.org
        ReportedBy: apache@numerixtechnology.de
                CC: bodewig@apache.org


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org