ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunter Peress" <hunt...@gmail.com>
Subject Re: Filterchaining individual property
Date Wed, 11 Oct 2006 23:18:32 GMT
OK fixed.

      <tomcat_serverinfo
            url="http://localhost:8080/manager"
            username=""
            password=""
            outputproperty="HI"
        >
          <redirector >
              <outputfilterchain >
                <headfilter lines="2"/>
              </outputfilterchain>
          </redirector>
       </tomcat_serverinfo>
       <echo> ${HI}</echo>

it didnt matter that I gave redirector an output property but i needed to
give the ant task an outputproperty

On 10/11/06, Hunter Peress <hunterp@gmail.com> wrote:
>
> Hi Matt,
>
>  The <tomcat_serverinfo> type doesn't support the nested
> "outputfilterchain" element.
>
>
> On 10/11/06, Matt Benson < gudnabrsam@yahoo.com> wrote:
> >
> > Tomcat's tasks support nested I/O redirectors.  You
> > should be able to specify an outputfilterchain with an
> > outputproperty here.
> >
> > HTH,
> > Matt
> >
> > --- Hunter Peress <hunterp@gmail.com> wrote:
> >
> > > is there a way to filterchain an individual
> > > property?
> > >
> > > The *org.apache.catalina.ant.ServerinfoTask *somehow
> > > supports the
> > > outputproperty attribute
> > >
> > > anyway, i only want the first line of that property.
> > >
> >
> >
> > __________________________________________________
> > 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
> >
> >
>

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