ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javac.java
Date Fri, 07 Dec 2001 20:45:38 GMT
umagesh     01/12/07 12:45:38

  Modified:    src/main/org/apache/tools/ant/taskdefs Javac.java
  Log:
  Added a protected method "recreateSrc" to help task writers who extend
  Javac.
  
  PR: 3703
  Based on Submission by: bmoriarty@polexis.com
  
  Revision  Changes    Path
  1.78      +10 -0     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java
  
  Index: Javac.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javac.java,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- Javac.java	2001/11/27 18:04:52	1.77
  +++ Javac.java	2001/12/07 20:45:38	1.78
  @@ -181,6 +181,16 @@
       }
   
       /**
  +     * Recreate src
  +     *
  +     * @return a nested src element.
  +     */
  +    protected Path recreateSrc() {
  +        src = null;
  +        return createSrc();
  +    }
  +
  +    /**
        * Set the source dirs to find the source Java files.
        */
       public void setSrcdir(Path srcDir) {
  
  
  

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