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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to