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/myrmidon/libs/ant1 Ant1Project.java TaskAdapter.java
Date Sun, 16 Dec 2001 05:23:25 GMT
donaldp     01/12/15 21:23:25

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/libs/ant1
                        Ant1Project.java TaskAdapter.java
  Log:
  Make sure it doesn't use zapped BuildException
  
  Revision  Changes    Path
  1.3       +4 -3      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/libs/ant1/Ant1Project.java
  
  Index: Ant1Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/libs/ant1/Ant1Project.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Ant1Project.java	2001/11/26 11:35:52	1.2
  +++ Ant1Project.java	2001/12/16 05:23:24	1.3
  @@ -13,6 +13,7 @@
   import org.apache.avalon.framework.logger.LogEnabled;
   import org.apache.avalon.framework.logger.Logger;
   import org.apache.myrmidon.api.TaskContext;
  +import org.apache.myrmidon.api.TaskException;
   import org.apache.tools.ant.*;
   import org.apache.tools.ant.Project;
   
  @@ -54,7 +55,7 @@
        * Initialise the project.
        */
       public void init()
  -        throws BuildException
  +        throws TaskException
       {
           setJavaVersionProperty();
       }
  @@ -89,13 +90,13 @@
       }
   
       public Task createTask( final String taskType )
  -        throws BuildException
  +        throws TaskException
       {
           throw new UnsupportedOperationException();
       }
   
       public Object createDataType( final String typeName )
  -        throws BuildException
  +        throws TaskException
       {
           throw new UnsupportedOperationException();
       }
  
  
  
  1.6       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/libs/ant1/TaskAdapter.java
  
  Index: TaskAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/libs/ant1/TaskAdapter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TaskAdapter.java	2001/11/26 11:35:52	1.5
  +++ TaskAdapter.java	2001/12/16 05:23:25	1.6
  @@ -48,7 +48,7 @@
       public void configure( final Configuration configuration )
           throws ConfigurationException
       {
  -        getTask().setTaskName( configuration.getName() );
  +        //getTask().setTaskName( configuration.getName() );
   
           //do configuration
           configure( getTask(), configuration );
  
  
  

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