On 9/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I use that several times ... e.g. inside <scriptdef> <scriptdef name="acme"> ... echoTask = project.createTask("echo"); echoTask.setTaskname("acme"); ... </scriptdef>
This is still fine, it was only the introspection code that was changed. ie. <java classname="org.apache.env.Which" taskname="which"/> from ant's build.xml (opps..) I do not have access to svn at the moment, the diff to fix this is: Index: src/main/org/apache/tools/ant/IntrospectionHelper.java =================================================================== --- src/main/org/apache/tools/ant/IntrospectionHelper.java (revision 448199) +++ src/main/org/apache/tools/ant/IntrospectionHelper.java (working copy) @@ -307,10 +307,6 @@ return true; } - if ("setTaskName".equals(name) - && java.lang.String.class.equals(type)) { - return true; - } return false; } peter Jan
>-----Ursprüngliche Nachricht----- >Von: Peter Reilly [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 20. September 2006 14:35 >An: Ant Developers List >Betreff: Re: [EMAIL PROTECTED]: Project test-ant (in module ant) failed > >Opps, this is my fault. >I noticed that we allow taskname to be set in build files, and >assumed that this was a mistake...... >I will fix when I get back to my svn machine. > >Sorry.... >Peter > >On 9/20/06, Gump Integration Build <general@gump.apache.org> wrote: >> >> To whom it may engage... ...