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/main/org/apache/tools/ant/taskdefs AntStructure.java
Date Sun, 16 Dec 2001 05:05:07 GMT
donaldp     01/12/15 21:05:07

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        AntStructure.java
  Log:
  Commented out use of IntrospectionHelper as that violates Container-task relationship. WIll
need to be reworked significantly in Ant2.
  
  Revision  Changes    Path
  1.4       +5 -10     jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/AntStructure.java
  
  Index: AntStructure.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/AntStructure.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AntStructure.java	2001/12/16 00:38:01	1.3
  +++ AntStructure.java	2001/12/16 05:05:07	1.4
  @@ -16,18 +16,14 @@
   import java.io.UnsupportedEncodingException;
   import java.util.Enumeration;
   import java.util.Hashtable;
  -import java.util.Vector;
   import org.apache.myrmidon.api.TaskException;
  -import org.apache.tools.ant.IntrospectionHelper;
   import org.apache.tools.ant.Task;
  -import org.apache.tools.ant.TaskContainer;
  -import org.apache.tools.ant.types.EnumeratedAttribute;
   
   /**
    * Creates a partial DTD for Ant from the currently known tasks.
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   
   public class AntStructure extends Task
  @@ -170,6 +166,7 @@
           }
           visited.put( name, "" );
   
  +        /*
           IntrospectionHelper ih = null;
           try
           {
  @@ -177,11 +174,8 @@
           }
           catch( Throwable t )
           {
  -            /*
  -             * XXX - failed to load the class properly.
  -             *
  -             * should we print a warning here?
  -             */
  +            // FIXME: failed to load the class properly.
  +            // should we print a warning here?
               return;
           }
   
  @@ -318,6 +312,7 @@
                   printElementDecl( out, nestedName, ih.getElementType( nestedName ) );
               }
           }
  +        */
       }
   
       private void printHead( PrintWriter out, Enumeration tasks,
  
  
  

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