:dipto...@gmail.com]
> Gesendet: Montag, 25. Februar 2019 19:59
> An: Ant Users List; Matt Benson
> Betreff: Re: Creating task/macro wrappers
>
> So, if I understood that right, the idea would be to create two
> : one with "timeout" and another one without?
>
> If that
ript (e.g. via ) seems very tedious.
> >
> > Fortunately, none of the problematic TestNG's attributes are essential
> > right now, so I may end up implementing the wrapper in Java.
> >
> > Thank you all for your suggestions.
> >
> > On Mon, Feb 25, 2019 a
on, Feb 25, 2019 at 3:20 PM Jan Matèrne (jhm)
> wrote:
> >
> > Not sure why you want to wrap an existing Ant task ...
> > If you want to provide default settings, you could use
> >
> > Jan
> >
> > > -Ursprüngliche Nachricht-
> > > V
could use
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Isaac Jurado [mailto:dipto...@gmail.com]
> > Gesendet: Sonntag, 24. Februar 2019 18:27
> > An: Ant Users List; gudnabr...@gmail.com
> > Betreff: Re: Creating task/macro wrappers
> >
>
om
> Betreff: Re: Creating task/macro wrappers
>
> Thanks! I didn't notice the task existed.
>
> However, I don't seem to wrap my head around it. In particular, it
> doesn't seem to support forward references. This is what I tried:
>
>
>
>
Thanks! I didn't notice the task existed.
However, I don't seem to wrap my head around it. In particular, it
doesn't seem to support forward references. This is what I tried:
...
The error I get is:
java.lang.IllegalStateException: Unknown reference "my-testng-invocation
You could write a script, e.g. in JavaScript. There, you would create a
new instance of the testng task (using the global 'project' object),
then set all the necessary attributes and nested elements of the task
(don't forget to set the owning target), and, finally, call its
'execute' method.
Look into the task with conditionally executed (using if/unless
namespaces, antcontrib , or similar) blocks.
HTH,
Matt
On Sat, Feb 23, 2019, 3:37 AM Isaac Jurado wrote:
> Hello Ant users,
>
> I'm trying to create a wrapper over . The idea is
> to have my macro expose the same attributes tha
Hello Ant users,
I'm trying to create a wrapper over . The idea is
to have my macro expose the same attributes that supports,
with as close semantics as possible.
Unfortunately, I have no idea how to reproduce the presence/absence
behavior. For instance, accepts a "timeout" integer
attribute