Browse Source

Removed class attributes of <available>, <rmic> and <taskdef>.

Nothing that has been deprecated in Ant 1.1 should be left over now.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267921 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 25 years ago
parent
commit
23f7147dc6
4 changed files with 5 additions and 4 deletions
  1. +2
    -1
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Available.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Rmic.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Taskdef.java

+ 2
- 1
WHATSNEW View File

@@ -15,7 +15,8 @@ the filtering attribute.
* Path and EnumeratedAttribute have been moved from
org.apache.tools.ant to org.apache.tools.ant.types.

* the class attribute of <java> has been removed.
* the class attributes of <available>, <java>, <rmic> and <taskdef>
has been removed.

* the src attribute of <chmod> has been removed.



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Available.java View File

@@ -75,7 +75,7 @@ public class Available extends Task {
this.property = property;
}

public void setClass(String classname) {
public void XsetClass(String classname) {
log("The class attribute is deprecated. " +
"Please use the classname attribute.",
Project.MSG_WARN);


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Rmic.java View File

@@ -103,7 +103,7 @@ public class Rmic extends MatchingTask {
this.base = base;
}

public void setClass(String classname) {
public void XsetClass(String classname) {
log("The class attribute is deprecated. " +
"Please use the classname attribute.",
Project.MSG_WARN);


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Taskdef.java View File

@@ -94,7 +94,7 @@ public class Taskdef extends Task {
this.name = name;
}

public void setClass(String v) {
public void XsetClass(String v) {
log("The class attribute is deprecated. " +
"Please use the classname attribute.",
Project.MSG_WARN);


Loading…
Cancel
Save