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/src/main/org/apache/tools/ant/taskdefs/optional/extension Extension.java
Date Wed, 08 May 2002 09:35:07 GMT
donaldp     02/05/08 02:35:07

  Modified:    .        Tag: ANT_15_BRANCH build.xml
               src/main/org/apache/tools/ant/taskdefs/optional/extension
                        Tag: ANT_15_BRANCH Extension.java
  Log:
  Hopefully got jdk1.2 compatability back.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.304.2.4 +2 -2      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.304.2.3
  retrieving revision 1.304.2.4
  diff -u -r1.304.2.3 -r1.304.2.4
  --- build.xml	7 May 2002 11:31:59 -0000	1.304.2.3
  +++ build.xml	8 May 2002 09:35:07 -0000	1.304.2.4
  @@ -120,6 +120,8 @@
     -->
     <!-- depends on JDK version -->
     <patternset id="needs.jdk1.2+">
  +    <exclude name="${optional.package}/extension/**/*.java"
  +             unless="jdk1.2+" />
       <exclude name="${util.package}/optional/NoExitSecurityManager.java"
                unless="jdk1.2+" />
       <exclude name="${optional.package}/Javah.java"
  @@ -141,8 +143,6 @@
     </patternset>
     <patternset id="needs.jdk1.3+">
       <exclude name="${ant.package}/taskdefs/TestProcess.java"
  -             unless="jdk1.3+" />
  -    <exclude name="${optional.package}/extension/**/*.java"
                unless="jdk1.3+" />
     </patternset>
     <patternset id="needs.jdk1.4+">
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +11 -7     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java
  
  Index: Extension.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- Extension.java	18 Apr 2002 12:49:03 -0000	1.2
  +++ Extension.java	8 May 2002 09:35:07 -0000	1.2.2.1
  @@ -79,7 +79,7 @@
    *
    * @author <a href="mailto:craigmcc@apache.org">Craig R. McClanahan</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.2 $ $Date: 2002/04/18 12:49:03 $
  + * @version $Revision: 1.2.2.1 $ $Date: 2002/05/08 09:35:07 $
    */
   public final class Extension
   {
  @@ -87,7 +87,8 @@
        * Manifest Attribute Name object for EXTENSION_LIST.
        * @see Attributes.Name#EXTENSION_LIST
        */
  -    public static final Attributes.Name EXTENSION_LIST = Attributes.Name.EXTENSION_LIST;
  +    public static final Attributes.Name EXTENSION_LIST = 
  +        new Attributes.Name( "Extension-List" );//Attributes.Name.EXTENSION_LIST;
   
       /**
        * <code>Name</code> object for <code>Optional-Extension-List</code>
  @@ -99,14 +100,15 @@
        * @see <a href="http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html#dependnecy">
        *      Installed extension dependency</a>
        */
  -    public static final Attributes.Name OPTIONAL_EXTENSION_LIST = new Attributes.Name(
"Optional-Extension-List" );
  +    public static final Attributes.Name OPTIONAL_EXTENSION_LIST = 
  +        new Attributes.Name( "Optional-Extension-List" );
   
       /**
        * Manifest Attribute Name object for EXTENSION_NAME.
        * @see Attributes.Name#EXTENSION_NAME
        */
  -    public static final Attributes.Name EXTENSION_NAME = Attributes.Name.EXTENSION_NAME;
  -
  +    public static final Attributes.Name EXTENSION_NAME = 
  +        new Attributes.Name( "Extension-Name" );//Attributes.Name.EXTENSION_NAME;
       /**
        * Manifest Attribute Name object for SPECIFICATION_VERSION.
        * @see Attributes.Name#SPECIFICATION_VERSION
  @@ -135,13 +137,15 @@
        * Manifest Attribute Name object for IMPLEMENTATION_URL.
        * @see Attributes.Name#IMPLEMENTATION_URL
        */
  -    public static final Attributes.Name IMPLEMENTATION_URL = Attributes.Name.IMPLEMENTATION_URL;
  +    public static final Attributes.Name IMPLEMENTATION_URL =
  +        new Attributes.Name( "Implementation-URL" );//Attributes.Name.IMPLEMENTATION_URL;
   
       /**
        * Manifest Attribute Name object for IMPLEMENTATION_VENDOR_ID.
        * @see Attributes.Name#IMPLEMENTATION_VENDOR_ID
        */
  -    public static final Attributes.Name IMPLEMENTATION_VENDOR_ID = Attributes.Name.IMPLEMENTATION_VENDOR_ID;
  +    public static final Attributes.Name IMPLEMENTATION_VENDOR_ID =
  +        new Attributes.Name( "Implementation-Vendor-Id" );//Attributes.Name.IMPLEMENTATION_VENDOR_ID;
   
       /**
        * Enum indicating that extension is compatible with other extension.
  
  
  

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