ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs JavacTest.java
Date Mon, 25 Mar 2002 10:37:04 GMT
bodewig     02/03/25 02:37:03

  Modified:    docs/manual/CoreTasks javac.html
               src/main/org/apache/tools/ant/taskdefs Javac.java
               src/testcases/org/apache/tools/ant/taskdefs JavacTest.java
  Log:
  Rename the attribute of <javac>'s <compilerarg> from implementation to
  compiler.
  
  Revision  Changes    Path
  1.32      +2 -2      jakarta-ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- javac.html	25 Mar 2002 10:14:56 -0000	1.31
  +++ javac.html	25 Mar 2002 10:37:03 -0000	1.32
  @@ -369,9 +369,9 @@
       <td valign="top">path</td>
     </tr>
     <tr>
  -    <td valign="top">implementation</td>
  +    <td valign="top">compiler</td>
       <td>Only pass the specified argument if the chosen
  -      implementation matches the value of this attribute.
  +      compiler implementation matches the value of this attribute.
         Legal values are the
         same as those in the above <a href="#compilervalues">list</a> of valid
         compilers.)</td>
  
  
  
  1.92      +2 -2      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.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- Javac.java	25 Mar 2002 10:14:56 -0000	1.91
  +++ Javac.java	25 Mar 2002 10:37:03 -0000	1.92
  @@ -103,7 +103,7 @@
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    * @author <a href="mailto:jayglanville@home.com">J D Glanville</a>
    *
  - * @version $Revision: 1.91 $
  + * @version $Revision: 1.92 $
    *
    * @ant.task category="java"
    */
  @@ -850,7 +850,7 @@
   
           private String impl;
   
  -        public void setImplementation(String impl) {
  +        public void setCompiler(String impl) {
               this.impl = impl;
           }
   
  
  
  
  1.5       +3 -3      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/JavacTest.java
  
  Index: JavacTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/JavacTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JavacTest.java	25 Mar 2002 10:14:56 -0000	1.4
  +++ JavacTest.java	25 Mar 2002 10:37:03 -0000	1.5
  @@ -62,7 +62,7 @@
    * Testcase for <javac>.
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.4 $ $Date: 2002/03/25 10:14:56 $
  + * @version $Revision: 1.5 $ $Date: 2002/03/25 10:37:03 $
    */
   public class JavacTest extends TestCase {
   
  @@ -127,7 +127,7 @@
           assertEquals("unconditional single arg", 1, args.length);
           assertEquals(testArg, args[0]);
   
  -        arg.setImplementation("jikes");
  +        arg.setCompiler("jikes");
           args = javac.getCurrentCompilerArgs();
           assertNotNull(args);
           assertEquals("implementation is jikes but build.compiler is null", 
  @@ -161,7 +161,7 @@
           String prefect = "Prefect";
           String testArg = ford + " " + prefect;
           arg.setValue(testArg);
  -        arg.setImplementation("extJavac");
  +        arg.setCompiler("extJavac");
           javac.setFork(true);
           String[] args = javac.getCurrentCompilerArgs();
           assertEquals("both are forked javac", 1, args.length);
  
  
  

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