You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Brian O'Rourke <br...@gmail.com> on 2006/01/26 19:25:14 UTC

Support for addText in Condition?

Hello,

I have a custom condition, and I would like it to support body text. Is such
a thing possible? I tried just adding an "addText" method to my Condition
implementation, but I get an ExceptionInInitializationError.

This is what I would like to do:

<waitfor>
      <noresults>
            select * from sometable
      </noresults>
</waitfor>

Is such a thing possible?

-Brian O'Rourke

Re: Support for addText in Condition?

Posted by Brian O'Rourke <br...@gmail.com>.
Me either :). Thanks for the reply. After a closer look, I saw that I was
blaming ant for my own mistake. Plus I discovered the nifty "-verbose"
switch, which tells me why I'm getting the exception.

Thanks,
Brian O'Rourke


On 1/26/06, Matt Benson <gu...@yahoo.com> wrote:
>
>
>
> --- Brian O'Rourke <br...@gmail.com> wrote:
>
> > Hello,
> >
> > I have a custom condition, and I would like it to
> > support body text. Is such
> > a thing possible? I tried just adding an "addText"
> > method to my Condition
> > implementation, but I get an
> > ExceptionInInitializationError.
> >
> > This is what I would like to do:
> >
> > <waitfor>
> >       <noresults>
> >             select * from sometable
> >       </noresults>
> > </waitfor>
> >
> > Is such a thing possible?
>
> I can't think why not.
>
> -Matt
>
> >
> > -Brian O'Rourke
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Re: Support for addText in Condition?

Posted by Matt Benson <gu...@yahoo.com>.

--- Brian O'Rourke <br...@gmail.com> wrote:

> Hello,
> 
> I have a custom condition, and I would like it to
> support body text. Is such
> a thing possible? I tried just adding an "addText"
> method to my Condition
> implementation, but I get an
> ExceptionInInitializationError.
> 
> This is what I would like to do:
> 
> <waitfor>
>       <noresults>
>             select * from sometable
>       </noresults>
> </waitfor>
> 
> Is such a thing possible?

I can't think why not.

-Matt

> 
> -Brian O'Rourke
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org