ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: [GUMP@vmgump]: Project test-ant (in module ant) failed
Date Wed, 20 Sep 2006 13:33:02 GMT
On 9/20/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> 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:peter.kitt.reilly@gmail.com]
> >Gesendet: Mittwoch, 20. September 2006 14:35
> >An: Ant Developers List
> >Betreff: Re: [GUMP@vmgump]: 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...
> ...
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message