ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Jar.java
Date Fri, 19 Jul 2002 18:36:26 GMT
umagesh     2002/07/19 11:36:26

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        Jar.java
  Log:
  Hide misleading warning which I had missed when I hid the filesetmanifest attribute just
before releasing 1.5
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.51.2.11 +11 -6     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java
  
  Index: Jar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java,v
  retrieving revision 1.51.2.10
  retrieving revision 1.51.2.11
  diff -u -r1.51.2.10 -r1.51.2.11
  --- Jar.java	7 Jul 2002 20:14:31 -0000	1.51.2.10
  +++ Jar.java	19 Jul 2002 18:36:25 -0000	1.51.2.11
  @@ -460,12 +460,17 @@
               // assuming 'skip' otherwise
               // don't warn if skip has been requested explicitly, warn if user
               // didn't set the attribute
  -            int logLevel = filesetManifestConfig == null ?
  -                Project.MSG_WARN : Project.MSG_VERBOSE;
  -            log("File " + file
  -                + " includes a META-INF/MANIFEST.MF which will be ignored. "
  -                + "To include this file, set filesetManifest to a value other "
  -                + "than 'skip'.", logLevel);
  +
  +            // Hide warning also as it makes no sense since
  +            // the filesetmanifest attribute itself has been
  +            // hidden
  +
  +            //int logLevel = filesetManifestConfig == null ?
  +            //    Project.MSG_WARN : Project.MSG_VERBOSE;
  +            //log("File " + file
  +            //    + " includes a META-INF/MANIFEST.MF which will be ignored. "
  +            //    + "To include this file, set filesetManifest to a value other "
  +            //    + "than 'skip'.", logLevel);
           }
       }
   
  
  
  

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


Mime
View raw message