Browse Source

Add warning for multiple classpaths

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275331 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 21 years ago
parent
commit
b89f7f04e6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/main/org/apache/tools/ant/taskdefs/Manifest.java

+ 4
- 0
src/main/org/apache/tools/ant/taskdefs/Manifest.java View File

@@ -619,6 +619,10 @@ public class Manifest {
if (classpathAttribute == null) {
storeAttribute(attribute);
} else {
warnings.addElement("Multiple Class-Path attributes "
+ "are supported but violate the Jar "
+ "specification and may not be correctly "
+ "processed in all environments");
Enumeration e = attribute.getValues();
while (e.hasMoreElements()) {
String value = (String) e.nextElement();


Loading…
Cancel
Save