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/05/19 19:33:41 UTC

DO NOT REPLY [Bug 29097] New: - should be inside task in order for dependency checking to work.

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