stevel      2003/06/20 15:59:22

  Modified:    src/main/org/apache/tools/ant/taskdefs ImportTask.java
  Log:
  Doc fixup. I have just started to use this: I like it, but still need to 
understand all that it does.
  
  Revision  Changes    Path
  1.11      +16 -3     
ant/src/main/org/apache/tools/ant/taskdefs/ImportTask.java
  
  Index: ImportTask.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ImportTask.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ImportTask.java   18 Apr 2003 23:40:22 -0000      1.10
  +++ ImportTask.java   20 Jun 2003 22:59:22 -0000      1.11
  @@ -66,8 +66,8 @@
    * <p>
    * Task to import another build file into the current project.
    * <p>
  - * It must be 'top level'. On execution it'll read another file
  - * into the same Project.
  + * It must be 'top level'. On execution it will read another Ant file
  + * into the same Project. 
    * <p>
    * <b>Important</b>: there is one limitation related to the top level
    * elements in the imported files. The current implementation will
  @@ -77,11 +77,24 @@
    * <b>Important</b>: we have not finalized how relative file references
    * will be resolved in deep/complex build hierarchies -such as what happens
    * when an imported file imports another file. Use absolute references for
  - * enhanced build file stability. 
  + * enhanced build file stability, especially in the imported files. 
  + *
  + * Examples
  + * <pre>
  + * &lt;import file="../common-targets.xml" /&gt;
  + * </pre>
  + * Import targets from a file in a parent directory.
  + *<p>
  + * <pre>
  + * &lt;import file="${deploy-platform}.xml" /&gt;
  + * </pre>
  + * Import the project defined by the property deploy-platform
    *
    * @author Nicola Ken Barozzi [EMAIL PROTECTED]
    * @author Dominique Devienne [EMAIL PROTECTED]
    * @author Costin Manolache
  + * @since Ant1.6
  + * @ant.task category="control"
    */
   public class ImportTask extends Task {
       String file;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to