ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs GenerateKey.java Get.java Input.java Java.java Javac.java Javadoc.java LoadFile.java LoadProperties.java
Date Wed, 19 Jun 2002 04:23:20 GMT
ehatcher    2002/06/18 21:23:20

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        GenerateKey.java Get.java Input.java Java.java
                        Javac.java Javadoc.java LoadFile.java
                        LoadProperties.java
  Log:
  Javadoc cleanups for xdocs generation.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.16.2.1  +74 -11    jakarta-ant/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java
  
  Index: GenerateKey.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java,v
  retrieving revision 1.16
  retrieving revision 1.16.2.1
  diff -u -r1.16 -r1.16.2.1
  --- GenerateKey.java	23 Apr 2002 08:15:51 -0000	1.16
  +++ GenerateKey.java	19 Jun 2002 04:23:19 -0000	1.16.2.1
  @@ -62,7 +62,7 @@
   import org.apache.tools.ant.types.Commandline;
   
   /**
  - * Generates a key.
  + * Generates a key in a keystore.
    * 
    * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
    *
  @@ -172,6 +172,13 @@
       protected int validity;
       protected boolean verbose;
   
  +    /**
  +     * Distinguished name list.
  +     *
  +     * @return Distinguished name container.
  +     * @throws BuildException If specified more than once or dname
  +     *                        attribute is used.
  +     */
       public DistinguishedName createDname() throws BuildException {
           if (null != expandedDname) {
               throw new BuildException("DName sub-element can only be "
  @@ -185,7 +192,12 @@
           expandedDname = new DistinguishedName();
           return expandedDname;
       }
  -  
  +
  +    /**
  +     * The distinguished name for entity.
  +     *
  +     * @param dname distinguished name
  +     */
       public void setDname(final String dname) {
           if (null != expandedDname) {
               throw new BuildException("It is not possible to specify dname " +
  @@ -195,50 +207,101 @@
           this.dname = dname;
       }
   
  +    /**
  +     * The alias to add under.
  +     *
  +     * @param alias alias to add under
  +     */
       public void setAlias(final String alias) {
           this.alias = alias;
  -    } 
  +    }
   
  +    /**
  +     * Keystore location.
  +     *
  +     * @param keystore location
  +     */
       public void setKeystore(final String keystore) {
           this.keystore = keystore;
  -    } 
  +    }
   
  +    /**
  +     * Password for keystore integrity.
  +     * Must be at least 6 characters long.
  +     * @param storepass password
  +     */
       public void setStorepass(final String storepass) {
           this.storepass = storepass;
  -    } 
  +    }
   
  +    /**
  +     * Keystore type.
  +     *
  +     * @param storetype type
  +     */
       public void setStoretype(final String storetype) {
           this.storetype = storetype;
  -    } 
  +    }
   
  +    /**
  +     * Password for private key (if different).
  +     *
  +     * @param keypass password
  +     */
       public void setKeypass(final String keypass) {
           this.keypass = keypass;
  -    } 
  +    }
   
  +    /**
  +     * The algorithm to use in signing.
  +     *
  +     * @param sigalg algorithm
  +     */
       public void setSigalg(final String sigalg) {
           this.sigalg = sigalg;
  -    } 
  +    }
   
  +    /**
  +     * The method to use when generating name-value pair.
  +     * @param keyalg algorithm
  +     */
       public void setKeyalg(final String keyalg) {
           this.keyalg = keyalg;
  -    } 
  +    }
   
  +    /**
  +     * Indicates the size of key generated.
  +     *
  +     * @param keysize size of key
  +     * @throws BuildException If not an Integer
  +     * @todo Could convert this to a plain Integer setter.
  +     */
       public void setKeysize(final String keysize) throws BuildException {
           try { 
               this.keysize = Integer.parseInt(keysize); 
           } catch (final NumberFormatException nfe) {
               throw new BuildException("KeySize attribute should be a integer");
           }
  -    } 
  +    }
   
  +    /**
  +     * Indicates how many days certificate is valid.
  +     *
  +     * @param validity days valid
  +     * @throws BuildException If not an Integer
  +     */
       public void setValidity(final String validity) throws BuildException {
           try { 
               this.validity = Integer.parseInt(validity); 
           } catch (final NumberFormatException nfe) {
               throw new BuildException("Validity attribute should be a integer");
           }
  -    } 
  +    }
   
  +    /**
  +     * If true, verbose output when signing.
  +     * @param verbose verbose or not
  +     */
       public void setVerbose(final boolean verbose) {
           this.verbose = verbose;
       } 
  
  
  
  1.25.2.2  +6 -5      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java
  
  Index: Get.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java,v
  retrieving revision 1.25.2.1
  retrieving revision 1.25.2.2
  diff -u -r1.25.2.1 -r1.25.2.2
  --- Get.java	22 May 2002 01:22:10 -0000	1.25.2.1
  +++ Get.java	19 Jun 2002 04:23:19 -0000	1.25.2.2
  @@ -268,7 +268,7 @@
       }
   
       /**
  -     * Set the URL.
  +     * Set the URL to get.
        *
        * @param u URL for the file.
        */
  @@ -286,7 +286,7 @@
       }
   
       /**
  -     * Be verbose, if set to "<CODE>true</CODE>".
  +     * If true, show verbose progress information.
        *
        * @param v if "true" then be verbose
        */
  @@ -295,7 +295,7 @@
       }
   
       /**
  -     * Don't stop if get fails if set to "<CODE>true</CODE>".
  +     * If true, log errors but do not treat as fatal.
        *
        * @param v if "true" then don't report download errors up to ant
        */
  @@ -304,7 +304,8 @@
       }
   
       /**
  -     * Use timestamps, if set to "<CODE>true</CODE>".
  +     * If true, conditionally download a file based on the timestamp
  +     * of the local copy.
        *
        * <p>In this situation, the if-modified-since header is set so
        * that the file is only fetched if it is newer than the local
  @@ -337,7 +338,7 @@
       }
   
       /**
  -     * password for the basic auth.
  +     * password for the basic authentication.
        *
        * @param p password for authentication
        */
  
  
  
  1.11.2.1  +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Input.java
  
  Index: Input.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Input.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- Input.java	22 Apr 2002 11:55:21 -0000	1.11
  +++ Input.java	19 Jun 2002 04:23:19 -0000	1.11.2.1
  @@ -64,7 +64,7 @@
   import org.apache.tools.ant.util.StringUtils;
   
   /**
  - * Ant task to read input line from console.
  + * Reads an input line from the console.
    *
    * @author <a href="mailto:usch@usch.net">Ulrich Schmidt</a>
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  @@ -79,7 +79,7 @@
       private String addproperty = null;
   
       /**
  -     * Defines valid input parameters as comma separated String. If set, input
  +     * Defines valid input parameters as comma separated strings. If set, input
        * task will reject any input not defined as accepted and requires the user
        * to reenter it. Validargs are case sensitive. If you want 'a' and 'A' to
        * be accepted you need to define both values as accepted arguments.
  
  
  
  1.45.2.1  +20 -14    jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Java.java
  
  Index: Java.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
  retrieving revision 1.45
  retrieving revision 1.45.2.1
  diff -u -r1.45 -r1.45.2.1
  --- Java.java	25 Apr 2002 12:14:49 -0000	1.45
  +++ Java.java	19 Jun 2002 04:23:19 -0000	1.45.2.1
  @@ -193,21 +193,21 @@
       }
       
       /**
  -     * Creates a nested classpath element
  +     * Adds a path to the classpath.
        */
       public Path createClasspath() {
           return cmdl.createClasspath(project).createPath();
       }
   
       /**
  -     * Adds a reference to a CLASSPATH defined elsewhere.
  +     * Classpath to use, by reference.
        */
       public void setClasspathRef(Reference r) {
           createClasspath().setRefid(r);
       }
   
       /**
  -     * set the jar name...
  +     * The location of the JAR file to execute.
        */
       public void setJar(File jarfile) throws BuildException {
           if (cmdl.getClassname() != null){
  @@ -218,7 +218,7 @@
       }
   
       /**
  -     * Set the class name.
  +     * Sets the Java class to execute.
        */
       public void setClassname(String s) throws BuildException {
           if (cmdl.getJar() != null){
  @@ -229,6 +229,7 @@
       }
   
       /**
  +     * Deprecated: use nested arg instead.
        * Set the command line arguments for the class.
        */
       public void setArgs(String s) {
  @@ -239,14 +240,14 @@
       }
   
       /**
  -     * Creates a nested arg element.
  +     * Adds a command-line argument.
        */
       public Commandline.Argument createArg() {
           return cmdl.createArgument();
       }
   
       /**
  -     * Set the forking flag.
  +     * If true, execute in a new VM.
        */
       public void setFork(boolean s) {
           this.fork = s;
  @@ -263,28 +264,29 @@
       }
           
       /**
  -     * Creates a nested jvmarg element.
  +     * Adds a JVM argument.
        */
       public Commandline.Argument createJvmarg() {
           return cmdl.createVmArgument();
       }
   
       /**
  -     * Set the command used to start the VM (only if fork==false).
  +     * Set the command used to start the VM (only if not forking).
        */
       public void setJvm(String s) {
           cmdl.setVm(s);
       }
           
       /**
  -     * Add a nested sysproperty element.
  +     * Adds a system property.
        */
       public void addSysproperty(Environment.Variable sysp) {
           cmdl.addSysproperty(sysp);
       }
   
       /**
  -     * Throw a BuildException if process returns non 0.
  +     * If true, then fail if the command exits with a
  +     * returncode other than 0
        */
       public void setFailonerror(boolean fail) {
           failOnError = fail;
  @@ -305,18 +307,22 @@
       }
   
       /**
  -     * -mx or -Xmx depending on VM version
  +     * Corresponds to -mx or -Xmx depending on VM version.
        */
       public void setMaxmemory(String max){
           cmdl.setMaxmemory(max);
       }
   
  +    /**
  +     * Sets the JVM version.
  +     * @param value JVM version
  +     */
       public void setJVMVersion(String value) {
           cmdl.setVmversion(value);
       }
       
       /**
  -     * Add a nested env element - an environment variable.
  +     * Adds an environment variable.
        *
        * <p>Will be ignored if we are not forking a new VM.
        *
  @@ -327,7 +333,7 @@
       }
   
       /**
  -     * Use a completely new environment.
  +     * If true, use a completely new environment.
        *
        * <p>Will be ignored if we are not forking a new VM.
        *
  @@ -338,7 +344,7 @@
       }
   
       /**
  -     * Shall we append to an existing file?
  +     * If true, append output to existing file.
        *
        * @since Ant 1.5
        */
  
  
  
  1.102.2.1 +55 -32    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.102
  retrieving revision 1.102.2.1
  diff -u -r1.102 -r1.102.2.1
  --- Javac.java	18 Apr 2002 14:18:59 -0000	1.102
  +++ Javac.java	19 Jun 2002 04:23:19 -0000	1.102.2.1
  @@ -69,7 +69,7 @@
   import java.io.File;
   
   /**
  - * Task to compile Java source files. This task can take the following
  + * Compiles Java source files. This task can take the following
    * arguments:
    * <ul>
    * <li>sourcedir
  @@ -169,7 +169,15 @@
       }
   
       /**
  -     * Set the value of debugLevel.
  +     * Keyword list to be appended to the -g command-line switch.
  +     *
  +     * This will be ignored by all implementations except modern
  +     * and classic(ver >= 1.2). Legal values are none or a
  +     * comma-separated list of the following keywords: lines, vars,
  +     * and source. If debuglevel is not specified, by default, :none
  +     * will be appended to -g. If debug is not turned on, this attribute
  +     * will be ignored.
  +     *
        * @param v  Value to assign to debugLevel.
        */
       public void setDebugLevel(String  v) {
  @@ -185,7 +193,14 @@
       }
   
       /**
  -     * Set the value of source.
  +     * Value of the -source command-line switch; will be ignored
  +     * by all implementations except modern and jikes.
  +     *
  +     * If you use this attribute together with jikes, you must
  +     * make sure that your version of jikes supports the -source switch.
  +     * Legal values are 1.3 and 1.4  by default, no -source argument
  +     * will be used at all.
  +     *
        * @param v  Value to assign to source.
        */
       public void setSource(String  v) {
  @@ -193,8 +208,7 @@
       }
   
       /**
  -     * Create a nested src element for multiple source path
  -     * support.
  +     * Adds a path for source compilation.
        *
        * @return a nested src element.
        */
  @@ -216,7 +230,7 @@
       }
   
       /**
  -     * Set the source dirs to find the source Java files.
  +     * Set the source directories to find the source Java files.
        */
       public void setSrcdir(Path srcDir) {
           if (src == null) {
  @@ -264,7 +278,7 @@
       }
   
       /**
  -     * Maybe creates a nested sourcepath element.
  +     * Adds a path to sourcepath.
        */
       public Path createSourcepath() {
           if (compileSourcepath == null) {
  @@ -274,7 +288,7 @@
       }
   
       /**
  -     * Adds a reference to a CLASSPATH defined elsewhere.
  +     * Adds a reference to a source path defined elsewhere.
        */
       public void setSourcepathRef(Reference r) {
           createSourcepath().setRefid(r);
  @@ -299,7 +313,7 @@
       }
   
       /**
  -     * Maybe creates a nested classpath element.
  +     * Adds a path to the classpath.
        */
       public Path createClasspath() {
           if (compileClasspath == null) {
  @@ -309,7 +323,7 @@
       }
   
       /**
  -     * Adds a reference to a CLASSPATH defined elsewhere.
  +     * Adds a reference to a classpath defined elsewhere.
        */
       public void setClasspathRef(Reference r) {
           createClasspath().setRefid(r);
  @@ -336,7 +350,7 @@
       }
   
       /**
  -     * Maybe creates a nested classpath element.
  +     * Adds a path to the bootclasspath.
        */
       public Path createBootclasspath() {
           if (bootclasspath == null) {
  @@ -346,7 +360,7 @@
       }
   
       /**
  -     * Adds a reference to a CLASSPATH defined elsewhere.
  +     * Adds a reference to a classpath defined elsewhere.
        */
       public void setBootClasspathRef(Reference r) {
           createBootclasspath().setRefid(r);
  @@ -373,7 +387,7 @@
       }
   
       /**
  -     * Maybe creates a nested classpath element.
  +     * Adds a path to extdirs.
        */
       public Path createExtdirs() {
           if (extdirs == null) {
  @@ -383,7 +397,7 @@
       }
   
       /**
  -     * List the source files being handed off to the compiler
  +     * If true, list the source files being handed off to the compiler.
        */
       public void setListfiles(boolean list) {
           listFiles = list;
  @@ -395,14 +409,16 @@
       }
   
       /**
  -     * Throw a BuildException if compilation fails
  +     * Indicates whether the build will continue
  +     * even if there are compilation errors; defaults to true.
        */
       public void setFailonerror(boolean fail) {
           failOnError = fail;
       }
   
       /**
  -     * Proceed if compilation fails
  +     * Proceed if compilation fails, but use
  +     * failonerror instead.
        */
       public void setProceed(boolean proceed) {
           failOnError = !proceed;
  @@ -416,7 +432,8 @@
       }
   
       /**
  -     * Set the deprecation flag.
  +     * Indicates whether source should be
  +     * compiled with deprecation information; defaults to off.
        */
       public void setDeprecation(boolean deprecation) {
           this.deprecation = deprecation;
  @@ -428,7 +445,10 @@
       }
   
       /**
  -     * Set the memoryInitialSize flag.
  +     * The initial size of the memory for the underlying VM
  +     * if javac is run externally; ignored otherwise.
  +     * Defaults to the standard VM memory setting.
  +     * (Examples: 83886080, 81920k, or 80m)
        */
       public void setMemoryInitialSize(String memoryInitialSize) {
           this.memoryInitialSize = memoryInitialSize;
  @@ -440,7 +460,10 @@
       }
   
       /**
  -     * Set the memoryMaximumSize flag.
  +     * The maximum size of the memory for the underlying VM
  +     * if javac is run externally; ignored otherwise.
  +     * Defaults to the standard VM memory setting.
  +     * (Examples: 83886080, 81920k, or 80m)
        */
       public void setMemoryMaximumSize(String memoryMaximumSize) {
           this.memoryMaximumSize = memoryMaximumSize;
  @@ -464,7 +487,8 @@
       }
   
       /**
  -     * Set the debug flag.
  +     * Indicates whether source should be compiled
  +     * with debug information; defaults to off.
        */
       public void setDebug(boolean debug) {
           this.debug = debug;
  @@ -476,7 +500,7 @@
       }
   
       /**
  -     * Set the optimize flag.
  +     * If true, compiles with optimization enabled.
        */
       public void setOptimize(boolean optimize) {
           this.optimize = optimize;
  @@ -488,7 +512,8 @@
       }
   
       /**
  -     * Set the depend flag.
  +     * Enables dependency-tracking for compilers
  +     * that support this (jikes and classic).
        */
       public void setDepend(boolean depend) {
           this.depend = depend;
  @@ -500,7 +525,7 @@
       }
   
       /**
  -     * Set the verbose flag.
  +     * If true, asks the compiler for verbose output.
        */
       public void setVerbose(boolean verbose) {
           this.verbose = verbose;
  @@ -525,23 +550,21 @@
       }
   
       /**
  -     * Include ant's own classpath in this task's classpath?
  +     * If true, includes Ant's own classpath in the classpath.
        */
       public void setIncludeantruntime(boolean include) {
           includeAntRuntime = include;
       }
   
       /**
  -     * Gets whether or not the ant classpath is to be included in the
  -     * task's classpath.
  +     * Gets whether or not the ant classpath is to be included in the classpath.
        */
       public boolean getIncludeantruntime() {
           return includeAntRuntime;
       }
   
       /**
  -     * Sets whether or not to include the java runtime libraries to this
  -     * task's classpath.
  +     * If true, includes the Java runtime libraries in the classpath.
        */
       public void setIncludejavaruntime(boolean include) {
           includeJavaRuntime = include;
  @@ -556,7 +579,7 @@
       }
   
       /**
  -     * Sets whether to fork the javac compiler.
  +     * If true, forks the javac compiler.
        *
        * @param f "true|false|on|off|yes|no"
        */
  @@ -594,7 +617,7 @@
       }
   
       /**
  -     * Sets whether the -nowarn option should be used.
  +     * If true, enables the -nowarn option.
        */
       public void setNowarn(boolean flag) {
           this.nowarn = flag;
  @@ -608,7 +631,7 @@
       }
   
       /**
  -     * Adds an implementation specific command line argument.
  +     * Adds an implementation specific command-line argument.
        */
       public ImplementationSpecificArgument createCompilerArg() {
           ImplementationSpecificArgument arg =
  
  
  
  1.96.2.7  +69 -3     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.96.2.6
  retrieving revision 1.96.2.7
  diff -u -r1.96.2.6 -r1.96.2.7
  --- Javadoc.java	13 Jun 2002 14:08:02 -0000	1.96.2.6
  +++ Javadoc.java	19 Jun 2002 04:23:19 -0000	1.96.2.7
  @@ -80,7 +80,7 @@
   import org.apache.tools.ant.util.JavaEnvUtils;
   
   /**
  - * This task makes it easy to generate Javadoc documentation for a collection
  + * Generates Javadoc documentation for a collection
    * of source code.
    *
    * <P>Current known limitations are:
  @@ -370,7 +370,7 @@
        */
       public static class AccessType extends EnumeratedAttribute {
           /**
  -         * @see EnumeratedAttributes#getValues().
  +         * @see EnumeratedAttribute#getValues().
            */
           public String[] getValues() {
               // Protected first so if any GUI tool offers a default
  @@ -640,7 +640,7 @@
       }
   
       /**
  -     * Specify the fiel containing the overview to be included in the generated
  +     * Specify the file containing the overview to be included in the generated
        * documentation.
        *
        * @param f the file containing the overview.
  @@ -1047,6 +1047,10 @@
           }
       }
   
  +    /**
  +     * Link to docs at "url" using package list at "url2"
  +     * - separate the URLs by using a space character.
  +     */
       public void setLinkoffline(String src) {
           if (!javadoc1) {
               LinkArgument le = createLink();
  @@ -1066,57 +1070,112 @@
               le.setPackagelistLoc(project.resolveFile(tok.nextToken()));
           }
       }
  +
  +    /**
  +     * Group specified packages together in overview page.
  +     */
       public void setGroup(String src) {
           group = src;
       }
  +
  +    /**
  +     * Create links to javadoc output at the given URL.
  +     */
       public void setLink(String src) {
           if (!javadoc1) {
               createLink().setHref(src);
           }
       }
  +
  +    /**
  +     * If true, do not include @deprecated information.
  +     */
       public void setNodeprecated(boolean b) {
           addArgIf(b, "-nodeprecated");
       }
  +
  +    /**
  +     * If true, do not generate deprecated list.
  +     */
       public void setNodeprecatedlist(boolean b) {
           add12ArgIf(b, "-nodeprecatedlist");
       }
  +
  +    /**
  +     * If true, do not generate class hierarchy.
  +     */
       public void setNotree(boolean b) {
           addArgIf(b, "-notree");
       }
  +
  +    /**
  +     * If true, do not generate index.
  +     */
       public void setNoindex(boolean b) {
           addArgIf(b, "-noindex");
       }
  +
  +    /**
  +     * If true, do not generate help link
  +     */
       public void setNohelp(boolean b) {
           add12ArgIf(b, "-nohelp");
       }
  +
  +    /**
  +     * If true, do not generate navigation bar.
  +     */
       public void setNonavbar(boolean b) {
           add12ArgIf(b, "-nonavbar");
       }
  +
  +    /**
  +     * If true, generate warning about @serial tag.
  +     */
       public void setSerialwarn(boolean b) {
           add12ArgIf(b, "-serialwarn");
       }
  +
  +    /**
  +     * Specifies the CSS stylesheet file to use.
  +     */
       public void setStylesheetfile(File f) {
           if (!javadoc1) {
               cmd.createArgument().setValue("-stylesheetfile");
               cmd.createArgument().setFile(f);
           }
       }
  +
  +    /**
  +     * Specifies the HTML help file to use.
  +     */
       public void setHelpfile(File f) {
           if (!javadoc1) {
               cmd.createArgument().setValue("-helpfile");
               cmd.createArgument().setFile(f);
           }
       }
  +
  +    /**
  +     * Output file encoding name.
  +     */
       public void setDocencoding(String enc) {
           cmd.createArgument().setValue("-docencoding");
           cmd.createArgument().setValue(enc);
       }
  +
  +    /**
  +     * The name of a file containing the packages to process.
  +     */
       public void setPackageList(String src) {
           if (!javadoc1) {
               packageList = src;
           }
       }
   
  +    /**
  +     * Create link to javadoc output at the given URL.
  +     */
       public LinkArgument createLink() {
           LinkArgument la = new LinkArgument();
           links.addElement(la);
  @@ -1329,6 +1388,10 @@
           }
       }
   
  +    /**
  +     * Separates packages on the overview page into whatever
  +     * groups you specify, one group per table.
  +     */
       public GroupArgument createGroup() {
           GroupArgument ga = new GroupArgument();
           groups.addElement(ga);
  @@ -1380,6 +1443,9 @@
           }
       }
   
  +    /**
  +     * Charset for cross-platform viewing of generated documentation.
  +     */
       public void setCharset(String src) {
           this.add12ArgIfNotEmpty("-charset", src);
       }
  
  
  
  1.17.2.3  +3 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java
  
  Index: LoadFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadFile.java,v
  retrieving revision 1.17.2.2
  retrieving revision 1.17.2.3
  diff -u -r1.17.2.2 -r1.17.2.3
  --- LoadFile.java	29 May 2002 19:07:45 -0000	1.17.2.2
  +++ LoadFile.java	19 Jun 2002 04:23:19 -0000	1.17.2.3
  @@ -120,7 +120,7 @@
   
   
       /**
  -     * Sets the Property attribute of the LoadFile object
  +     * Property name to save to.
        *
        * @param property The new Property value
        */
  @@ -130,7 +130,7 @@
   
   
       /**
  -     * Sets the srcfile attribute.
  +     * Sets the file to load.
        *
        * @param srcFile The new SrcFile value
        */
  @@ -140,7 +140,7 @@
   
   
       /**
  -     * Sets the Failonerror attribute of the LoadFile object
  +     * If true, fail on load error.
        *
        * @param fail The new Failonerror value
        */
  
  
  
  1.6.2.1   +3 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java
  
  Index: LoadProperties.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/LoadProperties.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- LoadProperties.java	15 Apr 2002 12:11:47 -0000	1.6
  +++ LoadProperties.java	19 Jun 2002 04:23:19 -0000	1.6.2.1
  @@ -70,7 +70,7 @@
   import java.util.Vector;
   
   /**
  - * Load a file's contents as Ant Properties.
  + * Load a file's contents as Ant properties.
    *
    * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
    * @since Ant 1.5
  @@ -89,7 +89,7 @@
       private final Vector filterChains = new Vector();
   
       /**
  -     * Sets the srcfile attribute.
  +     * Sets the file to load.
        *
        * @param srcFile The new SrcFile value
        */
  @@ -175,7 +175,7 @@
       }
   
       /**
  -     * Add the FilterChain element.
  +     * Adds a FilterChain.
        */
       public final void addFilterChain(FilterChain filter) {
           filterChains.addElement(filter);
  
  
  

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