From fd9e5512f7caf06e7930d86d51547df7596c7afd Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Fri, 1 Dec 2006 18:10:20 +0000 Subject: [PATCH] Forgot to document #41058! git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481329 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/develop.html | 9 +++++++++ 1 file changed, 9 insertions(+) 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