ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SignJar.java
Date Mon, 17 May 2004 10:12:30 GMT
peterreilly    2004/05/17 03:12:30

  Modified:    src/main/org/apache/tools/ant/taskdefs SignJar.java
  Log:
  Misc. corrections in SignJar.java
  PR: 28999
  Obtained from: Jesse Glick
  
  Revision  Changes    Path
  1.37      +3 -6      ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java
  
  Index: SignJar.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- SignJar.java	22 Apr 2004 14:03:47 -0000	1.36
  +++ SignJar.java	17 May 2004 10:12:29 -0000	1.37
  @@ -31,14 +31,11 @@
   import org.apache.tools.ant.util.FileUtils;
   
   /**
  - * Signs jar or zip files with the javasign command line tool. The
  + * Signs JAR or ZIP files with the javasign command line tool. The
    * tool detailed dependency checking: files are only signed if they
    * are not signed. The <tt>signjar</tt> attribute can point to the file to
    * generate; if this file exists then
    * its modification date is used as a cue as to whether to resign any JAR file.
  - * <br>
  - * <strong>Note:</strong> Requires Java 1.2 or later. </p>
  -
    *
    * @since Ant 1.1
    * @ant.task category="java"
  @@ -300,7 +297,7 @@
   
           cmd.createArg().setValue(alias);
   
  -        log("Signing Jar : " + jarSource.getAbsolutePath());
  +        log("Signing JAR: " + jarSource.getAbsolutePath());
           cmd.setFailonerror(true);
           cmd.setTaskName(getTaskName());
           cmd.execute();
  @@ -338,7 +335,7 @@
        * test for a file being signed, by looking for a signature in the META-INF
        * directory
        * @param file
  -     * @return
  +     * @return true if the file is signed
        */
       protected boolean isSigned(File file) {
           final String SIG_START = "META-INF/";
  
  
  

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


Mime
View raw message