git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467129 13f79535-47bb-0310-9956-ffa450edef68master
@@ -49,7 +49,6 @@ import java.net.UnknownHostException; | |||||
* Requires Java1.5+ to work properly. On Java1.4 and earlier, if a hostname | * Requires Java1.5+ to work properly. On Java1.4 and earlier, if a hostname | ||||
* can be resolved, the destination is assumed to be reachable. | * can be resolved, the destination is assumed to be reachable. | ||||
* | * | ||||
* @ant.condition name="isreachable" | |||||
* @since Ant 1.7 | * @since Ant 1.7 | ||||
*/ | */ | ||||
public class IsReachable extends ProjectComponent implements Condition { | public class IsReachable extends ProjectComponent implements Condition { | ||||
@@ -64,7 +64,8 @@ public class Matches extends ProjectComponent implements Condition { | |||||
* A regular expression. | * A regular expression. | ||||
* You can use this element to refer to a previously | * You can use this element to refer to a previously | ||||
* defined regular expression datatype instance | * defined regular expression datatype instance | ||||
* @return the regular expression object to be configured as an element | |||||
* @param regularExpression the regular expression object | |||||
* to be configured as an element | |||||
*/ | */ | ||||
public void addRegexp(RegularExpression regularExpression) { | public void addRegexp(RegularExpression regularExpression) { | ||||
if (this.regularExpression != null) { | if (this.regularExpression != null) { | ||||
@@ -25,7 +25,7 @@ import org.apache.tools.ant.types.Reference; | |||||
* Simple class that represents an Extension and conforms to Ants | * Simple class that represents an Extension and conforms to Ants | ||||
* patterns. | * patterns. | ||||
* | * | ||||
* @ant.data-type name="extension" | |||||
* @ant.datatype name="extension" | |||||
*/ | */ | ||||
public class ExtensionAdapter extends DataType { | public class ExtensionAdapter extends DataType { | ||||
/** | /** | ||||
@@ -29,7 +29,7 @@ import org.apache.tools.ant.types.Reference; | |||||
* The Extension set lists a set of "Optional Packages" / | * The Extension set lists a set of "Optional Packages" / | ||||
* "Extensions". | * "Extensions". | ||||
* | * | ||||
* @ant.data-type name="extension-set" | |||||
* @ant.datatype name="extension-set" | |||||
*/ | */ | ||||
public class ExtensionSet | public class ExtensionSet | ||||
extends DataType { | extends DataType { | ||||
@@ -77,7 +77,7 @@ public class ForkingSunRmic extends DefaultRmicAdapter { | |||||
/** | /** | ||||
* Override point. | * Override point. | ||||
* @return | |||||
* @return the executable name. | |||||
*/ | */ | ||||
protected String getExecutableName() { | protected String getExecutableName() { | ||||
return SunRmic.RMIC_EXECUTABLE; | return SunRmic.RMIC_EXECUTABLE; | ||||
@@ -5,8 +5,9 @@ import org.apache.tools.ant.types.Commandline; | |||||
/** | /** | ||||
* Run rmic in a new process with -Xnew set. | * Run rmic in a new process with -Xnew set. | ||||
* This switches rmic to use a new compiler, one that doesnt work in-process | * This switches rmic to use a new compiler, one that doesnt work in-process | ||||
* on ant on java1.6 | |||||
* @see: http://issues.apache.org/bugzilla/show_bug.cgi?id=38732 | |||||
* on ant on java1.6. | |||||
* see: <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38732"> | |||||
* http://issues.apache.org/bugzilla/show_bug.cgi?id=38732</a> | |||||
*/ | */ | ||||
public class XNewRmic extends ForkingSunRmic { | public class XNewRmic extends ForkingSunRmic { | ||||
@@ -61,7 +61,8 @@ public abstract class EnumeratedAttribute { | |||||
* @return Configured EA | * @return Configured EA | ||||
* @throws BuildException If the class could not be found or the value | * @throws BuildException If the class could not be found or the value | ||||
* is not valid for the given EA-class. | * is not valid for the given EA-class. | ||||
* @see Bug-14831 | |||||
* @see <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=14831"> | |||||
* http://issues.apache.org/bugzilla/show_bug.cgi?id=14831</a> | |||||
*/ | */ | ||||
public static EnumeratedAttribute getInstance( | public static EnumeratedAttribute getInstance( | ||||
Class/*<? extends EnumeratedAttribute>*/ clazz, | Class/*<? extends EnumeratedAttribute>*/ clazz, | ||||
@@ -146,4 +147,4 @@ public abstract class EnumeratedAttribute { | |||||
return getValue(); | return getValue(); | ||||
} | } | ||||
} | |||||
} |
@@ -25,7 +25,8 @@ import org.apache.tools.ant.BuildException; | |||||
* This class corresponds to the nested element | * This class corresponds to the nested element | ||||
* <provider type="type"> in the <service type=""> | * <provider type="type"> in the <service type=""> | ||||
* nested element of the jar task. | * nested element of the jar task. | ||||
* @see http://issues.apache.org/bugzilla/show_bug.cgi?id=31520 | |||||
* @see <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=31520"> | |||||
* http://issues.apache.org/bugzilla/show_bug.cgi?id=31520</a> | |||||
*/ | */ | ||||
public class Provider extends ProjectComponent { | public class Provider extends ProjectComponent { | ||||
private String type; | private String type; | ||||
@@ -33,7 +33,8 @@ import org.apache.tools.ant.BuildException; | |||||
/** | /** | ||||
* ANT Jar-Task SPI extension | * ANT Jar-Task SPI extension | ||||
* | * | ||||
* @see http://issues.apache.org/bugzilla/show_bug.cgi?id=31520 | |||||
* @see <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=31520"> | |||||
* http://issues.apache.org/bugzilla/show_bug.cgi?id=31520</a> | |||||
*/ | */ | ||||
public class Service extends ProjectComponent { | public class Service extends ProjectComponent { | ||||
private List providerList = new ArrayList(); | private List providerList = new ArrayList(); | ||||