diff --git a/build.xml b/build.xml index 3f8f6ec47..3598e8987 100644 --- a/build.xml +++ b/build.xml @@ -71,6 +71,7 @@ + @@ -766,122 +767,143 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 04aadd4fb..7d7810199 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -459,12 +459,17 @@ public class Jar extends Zip { // 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); } }