You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2005/02/08 19:52:38 UTC

cvs commit: ant/docs/manual/CoreTasks apt.html

stevel      2005/02/08 10:52:38

  Modified:    src/main/org/apache/tools/ant/taskdefs Apt.java
               docs/manual/CoreTasks apt.html
  Log:
  flip fork bit on Apt
  
  Revision  Changes    Path
  1.6       +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/Apt.java
  
  Index: Apt.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Apt.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Apt.java	20 Jan 2005 16:58:56 -0000	1.5
  +++ Apt.java	8 Feb 2005 18:52:38 -0000	1.6
  @@ -103,6 +103,7 @@
       public Apt() {
           super();
           super.setCompiler(AptCompilerAdapter.class.getName());
  +        setFork(true);
       }
   
       /**
  @@ -125,7 +126,7 @@
       }
   
       /**
  -     * Set the fork attribute.
  +     * Set the fork attribute (optional, default=true).
        * If fork is true run the external apt command.
        * If fork is false run the apt compiler in the same jvm as the task.
        * @param fork if true use the external command.
  
  
  
  1.4       +6 -1      ant/docs/manual/CoreTasks/apt.html
  
  Index: apt.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/apt.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apt.html	18 Dec 2004 17:50:40 -0000	1.3
  +++ apt.html	8 Feb 2005 18:52:38 -0000	1.4
  @@ -104,8 +104,13 @@
   
   
   <h3>Notes</h3>
  +
  +<p>
  +The inherited "fork" attribute is set to true by default.
  +</p>
  +
   <p>
  -The "compiler" attribute is ignored, as it is forced to use the Apt compiler
  +The inherited "compiler" attribute is ignored, as it is forced to use the Apt compiler
   </p>
   
   <p>Using the Apt compiler with the "compile" option set to "true"
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org