ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29097] New: - <signjar> should be inside <jar> task in order for dependency checking to work.
Date Wed, 19 May 2004 17:33:41 GMT
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=29097>.
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=29097

<signjar> should be inside <jar> task in order for dependency checking to work.

           Summary: <signjar> should be inside <jar> task in order for
                    dependency checking to work.
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: alexeys@inventigo.com


Currently the task always executes. By putting it inside <jar>, <signjar> can
be executed only if the archive was updated.

Simple test:

<?xml version="1.0" encoding="iso-8859-1"?>
<project name="test" default="all" basedir=".">
  <target name="all">
    <jar destfile="archive.jar">
      <fileset dir="." includes="*.xml"/>
    </jar>
    <signjar jar="archive.jar" alias="mdl" keystore="store.k" storepass="password"/>
  </target>
</project>

execute it several times and every time archive.jar modification time is changed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message