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 ProjectComponent.java
Date Sun, 16 Dec 2001 00:39:45 GMT
donaldp     01/12/15 16:39:45

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant
                        ProjectComponent.java
  Log:
  Made resolveFile propogate the TaskException
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/ProjectComponent.java
  
  Index: ProjectComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/ProjectComponent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ProjectComponent.java	2001/12/15 14:55:54	1.2
  +++ ProjectComponent.java	2001/12/16 00:39:45	1.3
  @@ -7,9 +7,10 @@
    */
   package org.apache.tools.ant;
   
  +import java.io.File;
   import org.apache.myrmidon.api.AbstractTask;
  +import org.apache.myrmidon.api.TaskException;
   import org.apache.tools.ant.util.FileUtils;
  -import java.io.File;
   
   /**
    * Base class for components of a project, including tasks and data types.
  @@ -46,6 +47,7 @@
       }
   
       protected File resolveFile( final String name )
  +        throws TaskException
       {
           return FileUtils.newFileUtils().resolveFile( project.getBaseDir(), name );
       }
  
  
  

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