ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java
Date Mon, 15 Apr 2002 08:39:18 GMT
bodewig     02/04/15 01:39:18

  Modified:    src/main/org/apache/tools/ant/taskdefs ConditionTask.java
                        Delete.java Execute.java Jar.java Unpack.java
                        Zip.java
               src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  Normalize some @since tags
  
  Revision  Changes    Path
  1.9       +4 -4      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java
  
  Index: ConditionTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ConditionTask.java	11 Apr 2002 07:38:15 -0000	1.8
  +++ ConditionTask.java	15 Apr 2002 08:39:18 -0000	1.9
  @@ -69,7 +69,7 @@
    * ConditionBase.</p>
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.8 $
  + * @version $Revision: 1.9 $
    *
    * @since Ant 1.4
    *
  @@ -83,21 +83,21 @@
       /**
        * The name of the property to set. Required.
        *
  -     * @since 1.1
  +     * @since Ant 1.4
        */
       public void setProperty(String p) {property = p;}
   
       /**
        * The value for the property to set. Defaults to "true".
        *
  -     * @since 1.1
  +     * @since Ant 1.4
        */
       public void setValue(String v) {value = v;}
   
       /**
        * See whether our nested condition holds and set the property.
        *
  -     * @since 1.1
  +     * @since Ant 1.4
        */
       public void execute() throws BuildException {
           if (countConditions() > 1) {
  
  
  
  1.30      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Delete.java
  
  Index: Delete.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Delete.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Delete.java	14 Apr 2002 11:16:12 -0000	1.29
  +++ Delete.java	15 Apr 2002 08:39:18 -0000	1.30
  @@ -77,7 +77,7 @@
    * @author Glenn McAllister <a href="mailto:glennm@ca.ibm.com">glennm@ca.ibm.com</a>
    * @author Jon S. Stevens <a href="mailto:jon@latchkey.com">jon@latchkey.com</a>
    *
  - * @since 1.2
  + * @since Ant 1.2
    *
    * @ant.task category="filesystem"
    */
  
  
  
  1.39      +3 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Execute.java
  
  Index: Execute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Execute.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Execute.java	14 Apr 2002 11:16:12 -0000	1.38
  +++ Execute.java	15 Apr 2002 08:39:18 -0000	1.39
  @@ -79,7 +79,7 @@
    *
    * @since Ant 1.2
    *
  - * @version $Revision: 1.38 $
  + * @version $Revision: 1.39 $
    */
   public class Execute {
   
  @@ -394,7 +394,7 @@
        * @param the working directory for the command
        * @param useVM use the built-in exec command for JDK 1.3 if available.
        *
  -     * @since 1.35, Ant 1.5
  +     * @since Ant 1.5
        */
       public static Process launch(Project project, String[] command, 
                                    String[] env, File dir, boolean useVM)
  @@ -475,7 +475,7 @@
       /**
        * test for an untimely death of the process
        * @return true iff a watchdog had to kill the process
  -     * @since 1.5
  +     * @since Ant 1.5
        */
       public boolean killedProcess() {
           return watchdog != null && watchdog.killedProcess();
  
  
  
  1.48      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java
  
  Index: Jar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jar.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- Jar.java	14 Apr 2002 11:16:12 -0000	1.47
  +++ Jar.java	15 Apr 2002 08:39:18 -0000	1.48
  @@ -80,7 +80,7 @@
    * @author James Davidson <a href="mailto:duncan@x180.com">duncan@x180.com</a>
    * @author Brian Deitte <a href="mailto:bdeitte@macromedia.com">bdeitte@macromedia.com</a>
    *
  - * @since 1.1
  + * @since Ant 1.1
    *
    * @ant.task category="packaging"
    */
  
  
  
  1.11      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Unpack.java
  
  Index: Unpack.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Unpack.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Unpack.java	14 Apr 2002 11:16:13 -0000	1.10
  +++ Unpack.java	15 Apr 2002 08:39:18 -0000	1.11
  @@ -64,7 +64,7 @@
    *
    * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
    *
  - * @since 1.5
  + * @since Ant 1.5
    */
   
   public abstract class Unpack extends Task {
  
  
  
  1.75      +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- Zip.java	14 Apr 2002 11:16:13 -0000	1.74
  +++ Zip.java	15 Apr 2002 08:39:18 -0000	1.75
  @@ -141,7 +141,7 @@
       /**
        * This is the name/location of where to
        * create the .zip file.
  -     * @since 1.5alpha
  +     * @since Ant 1.5alpha
        * @deprecated Use setDestFile(File) instead
        */
       public void setFile(File file) {
  @@ -151,7 +151,7 @@
   
       /**
        * Sets the destfile attribute.
  -     * @since 1.5
  +     * @since Ant 1.5
        * @param destFile The new destination File
        */
       public void setDestFile(File destFile) {
  
  
  
  1.40      +21 -21    jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- JUnitTask.java	12 Apr 2002 15:08:17 -0000	1.39
  +++ JUnitTask.java	15 Apr 2002 08:39:18 -0000	1.40
  @@ -146,7 +146,7 @@
    * @author <a href="mailto:Gerrit.Riessen@web.de">Gerrit Riessen</a>
    * @author <a href="mailto:ehatcher@apache.org">Erik Hatcher</a>
    *
  - * @version $Revision: 1.39 $
  + * @version $Revision: 1.40 $
    *
    * @since Ant 1.2
    *
  @@ -331,7 +331,7 @@
        * declaring the test as 'timed-out'
        * @see #setFork(boolean)
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void setTimeout(Integer value) {
           timeout = value;
  @@ -342,7 +342,7 @@
        * @param   max     the value as defined by <tt>-mx</tt> or <tt>-Xmx</tt>
        *                  in the java command line options.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void setMaxmemory(String max) {
           commandline.setMaxmemory(max);
  @@ -354,7 +354,7 @@
        * @param   value   the new VM to use instead of <tt>java</tt>
        * @see #setFork(boolean)
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void setJvm(String value) {
           commandline.setVm(value);
  @@ -366,7 +366,7 @@
        * passed to the JVM.
        * @see #setFork(boolean)
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public Commandline.Argument createJvmarg() {
           return commandline.createVmArgument();
  @@ -377,7 +377,7 @@
        * @param   dir     the directory to invoke the JVM from.
        * @see #setFork(boolean)
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void setDir(File dir) {
           this.dir = dir;
  @@ -387,7 +387,7 @@
        * Add a nested sysproperty element. This might be useful to tranfer
        * Ant properties to the testcases when JVM forking is not enabled.
        *
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       public void addSysproperty(Environment.Variable sysp) {
           commandline.addSysproperty(sysp);
  @@ -396,7 +396,7 @@
       /**
        * <code>&lt;classpath&gt;</code> allows classpath to be set for
tests.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public Path createClasspath() {
           return commandline.createClasspath(project).createPath();
  @@ -429,7 +429,7 @@
        * @param   test    a new single testcase
        * @see JUnitTest
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void addTest(JUnitTest test) {
           tests.addElement(test);
  @@ -441,7 +441,7 @@
        * @return  a new instance of a batch test.
        * @see BatchTest
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public BatchTest createBatchTest() {
           BatchTest test = new BatchTest(project);
  @@ -452,7 +452,7 @@
       /**
        * Add a new formatter to all tests of this task.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void addFormatter(FormatterElement fe) {
           formatters.addElement(fe);
  @@ -470,7 +470,7 @@
       /**
        * Creates a new JUnitRunner and enables fork of a new Java VM.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public JUnitTask() throws Exception {
           commandline
  @@ -482,7 +482,7 @@
        * JUnit to the classpath - this should make the forked JVM work
        * without having to specify them directly.
        *
  -     * @since 1.4
  +     * @since Ant 1.4
        */
       public void init() {
           antRuntimeClasses = new Path(getProject());
  @@ -494,7 +494,7 @@
       /**
        * Runs the testcase.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       public void execute() throws BuildException {
           Enumeration list = getIndividualTests();
  @@ -781,7 +781,7 @@
        * @return <tt>null</tt> if there is a timeout value, otherwise the
        * watchdog instance.
        *
  -     * @since 1.2
  +     * @since Ant 1.2
        */
       protected ExecuteWatchdog createWatchdog() throws BuildException {
           if (timeout == null){
  @@ -793,7 +793,7 @@
       /**
        * Get the default output for a formatter.
        *
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       protected OutputStream getDefaultOutput(){
           return new LogOutputStream(this, Project.MSG_INFO);
  @@ -803,7 +803,7 @@
        * Merge all individual tests from the batchtest with all individual tests
        * and return an enumeration over all <tt>JUnitTest</tt>.
        *
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       protected Enumeration getIndividualTests(){
           final int count = batchTests.size();
  @@ -817,7 +817,7 @@
       }
   
       /**
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       protected Enumeration allTests() {
           Enumeration[] enums = { tests.elements(), batchTests.elements() };
  @@ -825,7 +825,7 @@
       }
   
       /**
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       private FormatterElement[] mergeFormatters(JUnitTest test){
           Vector feVector = (Vector)formatters.clone();
  @@ -839,7 +839,7 @@
        * If the formatter sends output to a file, return that file.
        * null otherwise.
        *
  -     * @since 1.3
  +     * @since Ant 1.3
        */
       protected File getOutput(FormatterElement fe, JUnitTest test){
           if (fe.getUseFile()) {
  @@ -858,7 +858,7 @@
        * <p>Doesn't work for archives in JDK 1.1 as the URL returned by
        * getResource doesn't contain the name of the archive.</p>
        *
  -     * @since 1.4
  +     * @since Ant 1.4
        */
       protected void addClasspathEntry(String resource) {
           URL url = getClass().getResource(resource);
  
  
  

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