----- Original Message ----- From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 2:52 PM Subject: Bare minimum custom task
> Stefan, and other ANT experts. > > I vaguely remember Stefan stating that a task needn't derive from Task, but > simply needed a public void execute method, and setters as usual. I actually > just tried it with ANT 1.4.1, and it doesn't seem to work, with the > java.lang.NoSuchMethodException: setProject error message. I tried adding a > public void setProject(Object project) to my class, but ANT still cannot > find it, most probably because it looks for such a method that takes an ANT > project, not just an generic Object. try ant 1.5 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
