diff --git a/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java b/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java index 0571eba29..3d2c04ac6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java @@ -83,21 +83,21 @@ public class ConditionTask extends ConditionBase { /** * 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) { diff --git a/src/main/org/apache/tools/ant/taskdefs/Delete.java b/src/main/org/apache/tools/ant/taskdefs/Delete.java index 0b2b0e609..e3fcfd4dc 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Delete.java +++ b/src/main/org/apache/tools/ant/taskdefs/Delete.java @@ -77,7 +77,7 @@ import java.util.Vector; * @author Glenn McAllister glennm@ca.ibm.com * @author Jon S. Stevens jon@latchkey.com * - * @since 1.2 + * @since Ant 1.2 * * @ant.task category="filesystem" */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Execute.java b/src/main/org/apache/tools/ant/taskdefs/Execute.java index 38037a9f0..15445529d 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Execute.java +++ b/src/main/org/apache/tools/ant/taskdefs/Execute.java @@ -394,7 +394,7 @@ public class Execute { * @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 @@ public class Execute { /** * 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(); diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 6aa5b358d..873a2bd23 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -80,7 +80,7 @@ import java.util.Enumeration; * @author James Davidson duncan@x180.com * @author Brian Deitte bdeitte@macromedia.com * - * @since 1.1 + * @since Ant 1.1 * * @ant.task category="packaging" */ diff --git a/src/main/org/apache/tools/ant/taskdefs/Unpack.java b/src/main/org/apache/tools/ant/taskdefs/Unpack.java index 3cca0a11a..67c753389 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Unpack.java +++ b/src/main/org/apache/tools/ant/taskdefs/Unpack.java @@ -64,7 +64,7 @@ import org.apache.tools.ant.Task; * * @author Magesh Umasankar * - * @since 1.5 + * @since Ant 1.5 */ public abstract class Unpack extends Task { diff --git a/src/main/org/apache/tools/ant/taskdefs/Zip.java b/src/main/org/apache/tools/ant/taskdefs/Zip.java index 587376f72..d78d8b18a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Zip.java +++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java @@ -141,7 +141,7 @@ public class Zip extends MatchingTask { /** * 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 @@ public class Zip extends MatchingTask { /** * Sets the destfile attribute. - * @since 1.5 + * @since Ant 1.5 * @param destFile The new destination File */ public void setDestFile(File destFile) { diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java b/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java index 1a1b11747..dc08956c6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java @@ -331,7 +331,7 @@ public class JUnitTask extends Task { * 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 @@ public class JUnitTask extends Task { * @param max the value as defined by -mx or -Xmx * 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 @@ public class JUnitTask extends Task { * @param value the new VM to use instead of java * @see #setFork(boolean) * - * @since 1.2 + * @since Ant 1.2 */ public void setJvm(String value) { commandline.setVm(value); @@ -366,7 +366,7 @@ public class JUnitTask extends Task { * 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 @@ public class JUnitTask extends Task { * @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 @@ public class JUnitTask extends Task { * 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 @@ public class JUnitTask extends Task { /** * <classpath> 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 @@ public class JUnitTask extends Task { * @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 @@ public class JUnitTask extends Task { * @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 @@ public class JUnitTask extends Task { /** * 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 @@ public class JUnitTask extends Task { /** * 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 @@ public class JUnitTask extends Task { * 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 @@ public class JUnitTask extends Task { /** * Runs the testcase. * - * @since 1.2 + * @since Ant 1.2 */ public void execute() throws BuildException { Enumeration list = getIndividualTests(); @@ -781,7 +781,7 @@ public class JUnitTask extends Task { * @return null 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 @@ public class JUnitTask extends Task { /** * 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 @@ public class JUnitTask extends Task { * Merge all individual tests from the batchtest with all individual tests * and return an enumeration over all JUnitTest. * - * @since 1.3 + * @since Ant 1.3 */ protected Enumeration getIndividualTests(){ final int count = batchTests.size(); @@ -817,7 +817,7 @@ public class JUnitTask extends Task { } /** - * @since 1.3 + * @since Ant 1.3 */ protected Enumeration allTests() { Enumeration[] enums = { tests.elements(), batchTests.elements() }; @@ -825,7 +825,7 @@ public class JUnitTask extends Task { } /** - * @since 1.3 + * @since Ant 1.3 */ private FormatterElement[] mergeFormatters(JUnitTest test){ Vector feVector = (Vector)formatters.clone(); @@ -839,7 +839,7 @@ public class JUnitTask extends Task { * 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 @@ public class JUnitTask extends Task { *

Doesn't work for archives in JDK 1.1 as the URL returned by * getResource doesn't contain the name of the archive.

* - * @since 1.4 + * @since Ant 1.4 */ protected void addClasspathEntry(String resource) { URL url = getClass().getResource(resource);