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 <[EMAIL PROTECTED]> wrote:
Hi Matt, The <tomcat_serverinfo> type doesn't support the nested "outputfilterchain" element. On 10/11/06, Matt Benson < [EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >