conor       2003/09/04 04:58:02

  Modified:    src/main/org/apache/tools/ant/taskdefs Manifest.java
  Log:
  Make sure continuations of multi valued attributes (Class-Path) are
  added to the correct instance
  
  PR:   22816
  Submitted by: Dan Douglas
  
  Revision  Changes    Path
  1.47      +2 -0      ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -w -u -r1.46 -r1.47
  --- Manifest.java     22 Jul 2003 00:19:15 -0000      1.46
  +++ Manifest.java     4 Sep 2003 11:58:02 -0000       1.47
  @@ -437,6 +437,8 @@
                   } else {
                       attribute = new Attribute(line);
                       String nameReadAhead = addAttributeAndCheck(attribute);
  +                    // refresh attribute in case of multivalued attributes.
  +                    attribute = getAttribute(attribute.getKey());
                       if (nameReadAhead != null) {
                           return nameReadAhead;
                       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to