ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/extensions JarLibManifestTask.java
Date Sat, 06 Apr 2002 04:30:16 GMT
donaldp     02/04/05 20:30:15

  Modified:    proposal/myrmidon/src/java/org/apache/antlib/extensions
                        JarLibManifestTask.java
  Log:
  Extract constant
  
  Revision  Changes    Path
  1.5       +6 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java
  
  Index: JarLibManifestTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JarLibManifestTask.java	6 Apr 2002 04:26:54 -0000	1.4
  +++ JarLibManifestTask.java	6 Apr 2002 04:30:15 -0000	1.5
  @@ -53,6 +53,11 @@
       private static final String MANIFEST_VERSION = "1.0";
   
       /**
  +     * "Created-By" string used when creating manifest.
  +     */
  +    private static final String CREATED_BY = "Created-By";
  +
  +    /**
        * The library to display information about.
        */
       private File m_destfile;
  @@ -180,7 +185,7 @@
           final Attributes attributes = manifest.getMainAttributes();
   
           attributes.put( Attributes.Name.MANIFEST_VERSION, MANIFEST_VERSION );
  -        attributes.putValue( "Created-By", Constants.BUILD_DESCRIPTION );
  +        attributes.putValue( CREATED_BY, Constants.BUILD_DESCRIPTION );
   
           appendExtraAttributes( attributes );
   
  
  
  

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