diff --git a/docs/manual/develop.html b/docs/manual/develop.html index 18c536068..fd28aefa9 100644 --- a/docs/manual/develop.html +++ b/docs/manual/develop.html @@ -171,6 +171,15 @@ is more! If the argument of you setter method is

inner AddAsisRemove class used in setCr for an example. +
  • A (Java 5) enumeration. Ant will call the setter with the enum constant + matching the value given in the build file. This is easier than using + EnumeratedAttribute and can result in cleaner code, but of course + your task will not run on JDK 1.4 or earlier. Note that any override of + toString() in the enumeration is ignored; the build file must use + the declared name (see Enum.getName()). You may wish to use lowercase + enum constant names, in contrast to usual Java style, to look better in build files. + As of Ant 1.7.0.
  • +

    What happens if more than one setter method is present for a given