dion        2003/07/27 21:10:13

  Modified:    src/java/org/apache/maven/jelly/tags/maven Exists.java
  Log:
  Fix docs
  
  Revision  Changes    Path
  1.2       +5 -3      maven/src/java/org/apache/maven/jelly/tags/maven/Exists.java
  
  Index: Exists.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/Exists.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Exists.java       27 Jul 2003 23:33:57 -0000      1.1
  +++ Exists.java       28 Jul 2003 04:10:12 -0000      1.2
  @@ -69,7 +69,7 @@
   import java.util.Iterator;
   
   /**
  - * Concat a set of files together into a single file.
  + * Invoked the body if a file exists
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
    * @version $Id$
  @@ -89,7 +89,7 @@
       /**
        * Perform functionality provided by the tag.
        *
  -     * @throws JellyTagException If there is an error while concatenating the file.
  +     * @throws JellyTagException If the file attribute is missing or there is an 
error invoking the body
        */
       public void doTag( XMLOutput output )
           throws JellyTagException
  @@ -101,8 +101,10 @@
   
           File f = new File( file );
   
  +        // FIXME: Remove s.o
           System.out.println( "f = " + f );
           System.out.println( "f.exists() = " + f.exists() );
  +        // FIXME: what do the next two lines do??
           Resource r = (Resource) 
getMavenContext().getProject().getBuild().getResources().get(0);
           r.getDirectory();
   
  
  
  

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

Reply via email to