Browse Source

Make sure continuations of multi valued attributes (Class-Path) are

added to the correct instance

PR:	22816
Submitted by:	Dan Douglas


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

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

@@ -437,6 +437,8 @@ public class Manifest {
} else { } else {
attribute = new Attribute(line); attribute = new Attribute(line);
String nameReadAhead = addAttributeAndCheck(attribute); String nameReadAhead = addAttributeAndCheck(attribute);
// refresh attribute in case of multivalued attributes.
attribute = getAttribute(attribute.getKey());
if (nameReadAhead != null) { if (nameReadAhead != null) {
return nameReadAhead; return nameReadAhead;
} }


Loading…
Cancel
Save