ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs AntStructure.java
Date Wed, 06 Sep 2000 15:00:18 GMT
bodewig     00/09/06 08:00:17

  Modified:    src/main/org/apache/tools/ant IntrospectionHelper.java
               src/main/org/apache/tools/ant/taskdefs AntStructure.java
  Log:
  Make the description attribute of Task accesible to build files
  (that's what it has been intended for I guess). Add the one for Target
  to <anstructure>.
  
  Revision  Changes    Path
  1.9       +0 -2      jakarta-ant/src/main/org/apache/tools/ant/IntrospectionHelper.java
  
  Index: IntrospectionHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/IntrospectionHelper.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- IntrospectionHelper.java	2000/07/24 16:05:28	1.8
  +++ IntrospectionHelper.java	2000/09/06 15:00:11	1.9
  @@ -125,8 +125,6 @@
                   (
                    (
                     "setLocation".equals(name) && org.apache.tools.ant.Location.class.equals(args[0])
  -                  ) || ( 
  -                   "setDescription".equals(name) && java.lang.String.class.equals(args[0])
                     ) || (
                      "setTaskType".equals(name) && java.lang.String.class.equals(args[0])
                     )
  
  
  
  1.7       +6 -5      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java
  
  Index: AntStructure.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AntStructure.java	2000/09/05 08:53:33	1.6
  +++ AntStructure.java	2000/09/06 15:00:15	1.7
  @@ -175,11 +175,12 @@
           out.println("");
   
           out.println("<!ATTLIST target");
  -        out.println("          id      ID    #IMPLIED");
  -        out.println("          name    CDATA #REQUIRED");
  -        out.println("          if      CDATA #IMPLIED");
  -        out.println("          unless  CDATA #IMPLIED");
  -        out.println("          depends CDATA #IMPLIED>");
  +        out.println("          id          ID    #IMPLIED");
  +        out.println("          name        CDATA #REQUIRED");
  +        out.println("          if          CDATA #IMPLIED");
  +        out.println("          unless      CDATA #IMPLIED");
  +        out.println("          depends     CDATA #IMPLIED");
  +        out.println("          description CDATA #IMPLIED>");
           out.println("");
       }
   
  
  
  

Mime
View raw message