ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Manifest.java
Date Wed, 26 Jun 2002 14:28:55 GMT
conor       2002/06/26 07:28:55

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        Manifest.java
  Log:
  Fix for case where manifest version is specified in attributes
  
  Reported By: 	Mike Stopper
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.33.2.2  +5 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
  retrieving revision 1.33.2.1
  retrieving revision 1.33.2.2
  diff -u -w -u -r1.33.2.1 -r1.33.2.2
  --- Manifest.java	18 Jun 2002 05:51:10 -0000	1.33.2.1
  +++ Manifest.java	26 Jun 2002 14:28:54 -0000	1.33.2.2
  @@ -843,7 +843,11 @@
        */
       public void addConfiguredAttribute(Attribute attribute)
            throws ManifestException {
  +        if (attribute.getKey().equalsIgnoreCase(ATTRIBUTE_MANIFEST_VERSION)) {
  +            manifestVersion = attribute.getValue();
  +        } else {
           mainSection.addConfiguredAttribute(attribute);
  +        }
       }
   
       /**
  
  
  

--
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