ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/util FileUtils.java
Date Wed, 17 Apr 2002 05:50:11 GMT
conor       02/04/16 22:50:10

  Modified:    src/main/org/apache/tools/ant XmlLogger.java
               src/main/org/apache/tools/ant/filters StringInputStream.java
               src/main/org/apache/tools/ant/taskdefs Chmod.java
                        MatchingTask.java
               src/main/org/apache/tools/ant/taskdefs/optional/j2ee
                        AbstractHotDeploymentTool.java
                        GenericHotDeploymentTool.java
                        HotDeploymentTool.java JonasHotDeploymentTool.java
                        WebLogicHotDeploymentTool.java
               src/main/org/apache/tools/ant/taskdefs/optional/net
                        SetProxy.java
               src/main/org/apache/tools/ant/types AntFilterReader.java
                        FilterChain.java
               src/main/org/apache/tools/ant/util FileUtils.java
  Log:
  Document new methods in XMLLogger
  Cleanup Javadoc errors.
  
  Revision  Changes    Path
  1.30      +13 -0     jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java
  
  Index: XmlLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -w -u -r1.29 -r1.30
  --- XmlLogger.java	17 Apr 2002 02:08:41 -0000	1.29
  +++ XmlLogger.java	17 Apr 2002 05:50:09 -0000	1.30
  @@ -427,10 +427,23 @@
   
       // -------------------------------------------------- BuildLogger interface
   
  +    /**
  +     * Set the logging level when using this as a Logger
  +     *
  +     * @param level the logging level - 
  +     *        see {@link org.apache.tools.ant.Project#MSG_ERR Project} 
  +     *        class for level definitions
  +     */
       public void setMessageOutputLevel(int level) {
           msgOutputLevel = level;
       }
   
  +    /**
  +     * Set the output stream to which logging output is sent when operating 
  +     * as a logger.
  +     *
  +     * @param output the output PrintStream.
  +     */
       public void setOutputPrintStream(PrintStream output) {
           this.outStream = new PrintStream(output, true);
       }
  
  
  
  1.6       +4 -1      jakarta-ant/src/main/org/apache/tools/ant/filters/StringInputStream.java
  
  Index: StringInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/filters/StringInputStream.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -u -r1.5 -r1.6
  --- StringInputStream.java	16 Apr 2002 07:15:18 -0000	1.5
  +++ StringInputStream.java	17 Apr 2002 05:50:10 -0000	1.6
  @@ -106,8 +106,11 @@
           in.reset();
       }
   
  +    /**
  +     * @see InputStream#markSupported
  +     */
       public boolean markSupported() {
  -        return true;
  +        return in.markSupported();
       }
   }
   
  
  
  
  1.27      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Chmod.java
  
  Index: Chmod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Chmod.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -w -u -r1.26 -r1.27
  --- Chmod.java	16 Apr 2002 10:36:25 -0000	1.26
  +++ Chmod.java	17 Apr 2002 05:50:10 -0000	1.27
  @@ -92,7 +92,7 @@
       }
   
       /**
  -     * @see ProjectComponent#setProject
  +     * @see org.apache.tools.ant.ProjectComponent#setProject
        */
       public void setProject(Project project) {
           super.setProject(project);
  
  
  
  1.25      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java
  
  Index: MatchingTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/MatchingTask.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -w -u -r1.24 -r1.25
  --- MatchingTask.java	15 Apr 2002 15:33:09 -0000	1.24
  +++ MatchingTask.java	17 Apr 2002 05:50:10 -0000	1.25
  @@ -83,7 +83,7 @@
       protected FileSet fileset = new FileSet();
   
       /**
  -     * @see ProjectComponent#setProject
  +     * @see org.apache.tools.ant.ProjectComponent#setProject
        */
       public void setProject(Project project) {
           super.setProject(project);
  
  
  
  1.5       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.java
  
  Index: AbstractHotDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -u -r1.4 -r1.5
  --- AbstractHotDeploymentTool.java	15 Apr 2002 13:36:20 -0000	1.4
  +++ AbstractHotDeploymentTool.java	17 Apr 2002 05:50:10 -0000	1.5
  @@ -138,7 +138,7 @@
       }
   
       /**
  -     *  Perform the actual deployment.<br>
  +     *  Perform the actual deployment.
        *  It's up to the subclasses to implement the actual behavior.
        *  @exception org.apache.tools.ant.BuildException if the attributes are invalid or
incomplete.
        */
  
  
  
  1.6       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/GenericHotDeploymentTool.java
  
  Index: GenericHotDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/GenericHotDeploymentTool.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -u -r1.5 -r1.6
  --- GenericHotDeploymentTool.java	15 Apr 2002 13:36:20 -0000	1.5
  +++ GenericHotDeploymentTool.java	17 Apr 2002 05:50:10 -0000	1.6
  @@ -121,7 +121,7 @@
       }
   
       /**
  -     *  Perform the actual deployment.<br>
  +     *  Perform the actual deployment.
        *  For this generic implementation, a JVM is spawned using the
        *  supplied classpath, classname, JVM args, and command line arguments.
        *  @exception org.apache.tools.ant.BuildException if the attributes are invalid or
incomplete.
  
  
  
  1.4       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.java
  
  Index: HotDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -w -u -r1.3 -r1.4
  --- HotDeploymentTool.java	15 Apr 2002 13:36:20 -0000	1.3
  +++ HotDeploymentTool.java	17 Apr 2002 05:50:10 -0000	1.4
  @@ -86,7 +86,7 @@
       public void validateAttributes() throws BuildException;
   
       /**
  -     *  Perform the actual deployment.<br>
  +     *  Perform the actual deployment.
        *  @exception org.apache.tools.ant.BuildException if the attributes are invalid or
incomplete.
        */
       public void deploy() throws BuildException;
  
  
  
  1.6       +4 -5      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java
  
  Index: JonasHotDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -u -r1.5 -r1.6
  --- JonasHotDeploymentTool.java	15 Apr 2002 14:56:32 -0000	1.5
  +++ JonasHotDeploymentTool.java	17 Apr 2002 05:50:10 -0000	1.6
  @@ -71,7 +71,6 @@
    *  runs the weblogic.deploy tool in a seperate JVM.
    *
    *@author     Cyrille Morvan
  - *@created    March 30, 2002
    *@see        org.apache.tools.ant.taskdefs.optional.j2ee.HotDeploymentTool
    *@see        org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool
    *@see        org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
  
  
  
  1.5       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java
  
  Index: WebLogicHotDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -u -r1.4 -r1.5
  --- WebLogicHotDeploymentTool.java	15 Apr 2002 13:36:20 -0000	1.4
  +++ WebLogicHotDeploymentTool.java	17 Apr 2002 05:50:10 -0000	1.5
  @@ -91,7 +91,7 @@
       private String component;
   
       /**
  -     *  Perform the actual deployment.<br>
  +     *  Perform the actual deployment.
        *  For this implementation, a JVM is spawned and the weblogic.deploy
        *  tools is executed.
        *  @exception org.apache.tools.ant.BuildException if the attributes are invalid or
incomplete.
  
  
  
  1.3       +3 -5      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java
  
  Index: SetProxy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -u -r1.2 -r1.3
  --- SetProxy.java	16 Apr 2002 09:26:36 -0000	1.2
  +++ SetProxy.java	17 Apr 2002 05:50:10 -0000	1.3
  @@ -66,10 +66,8 @@
    * @see <a href="http://java.sun.com/j2se/1.4/docs/guide/net/properties.html">
    *  java 1.4 network property list</a>
    * @author Steve Loughran
  - * @created March 17, 2001
    * @ant.task
    */
  -
   public class SetProxy extends Task {
   
       /**
  @@ -99,7 +97,7 @@
       private String nonProxyHosts = null;
   
       /**
  -     * set a proxy host. the port should be defined too
  +     * Set a proxy host. The port should be defined too.
        *
        * @param hostname the new proxy hostname
        */
  @@ -137,8 +135,8 @@
       }
   
       /**
  -     * specify a list of hosts to bypass the proxy on; separate them with the 
  -     * vertical bar character '|'
  +     * Specify a list of hosts to bypass the proxy on. These should be separated
  +     * with the vertical bar character '|'.
        * e.g. fozbot.corp.sun.com|*.eng.sun.com
        * @param nonProxyHosts lists of hosts to talk direct to
        */ 
  
  
  
  1.5       +2 -1      jakarta-ant/src/main/org/apache/tools/ant/types/AntFilterReader.java
  
  Index: AntFilterReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/AntFilterReader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -u -r1.4 -r1.5
  --- AntFilterReader.java	16 Apr 2002 20:47:23 -0000	1.4
  +++ AntFilterReader.java	17 Apr 2002 05:50:10 -0000	1.5
  @@ -136,7 +136,8 @@
       }
   
       /**
  -     * Makes this instance in effect a reference to another AntFilterReader instance
  +     * Makes this instance in effect a reference to another AntFilterReader 
  +     * instance.
        *
        * <p>You must not set another attribute or nest elements inside
        * this element if you make it a reference.</p>
  
  
  
  1.5       +2 -1      jakarta-ant/src/main/org/apache/tools/ant/types/FilterChain.java
  
  Index: FilterChain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/FilterChain.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -u -r1.4 -r1.5
  --- FilterChain.java	16 Apr 2002 20:35:03 -0000	1.4
  +++ FilterChain.java	17 Apr 2002 05:50:10 -0000	1.5
  @@ -139,7 +139,8 @@
       }
   
       /**
  -     * Makes this instance in effect a reference to another FilterChain instance
  +     * Makes this instance in effect a reference to another FilterChain 
  +     * instance.
        *
        * <p>You must not set another attribute or nest elements inside
        * this element if you make it a reference.</p>
  
  
  
  1.24      +2 -2      jakarta-ant/src/main/org/apache/tools/ant/util/FileUtils.java
  
  Index: FileUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -w -u -r1.23 -r1.24
  --- FileUtils.java	15 Apr 2002 13:36:21 -0000	1.23
  +++ FileUtils.java	17 Apr 2002 05:50:10 -0000	1.24
  @@ -95,7 +95,7 @@
    * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
    * @author <a href="mailto:jtulley@novell.com">Jeff Tulley</a> 
    *
  - * @version $Revision: 1.23 $
  + * @version $Revision: 1.24 $
    */
   
   public class FileUtils {
  @@ -803,7 +803,7 @@
       }
   
       /**
  -     * Emulation of File.createNewFile for JDK 1.1
  +     * Emulation of File.createNewFile for JDK 1.1.
        *
        * <p>This method does <strong>not</strong> guarantee that the
        * operation is atomic.</p>
  
  
  

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