ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Logemann <>
Subject Re: parsing a task output for further processing
Date Wed, 12 Jun 2002 09:01:49 GMT
> --- Marc Logemann <> wrote:
>> its the ouput you get from the manager list command in tomcat. As you
>> know tomcat ships ant tasks and i use the List task, he is outputting
>> all applications row by row and its status behind the application name.

> A few sample lines would be much more helpful.

here it goes:

<taskdef name="tclist"      classname="org.apache.catalina.ant.ListTask"/>

<target name"foo">

<tclist  url="${catalina.url}" username="${catalina.username}" password="${catalina.password}"/>
<tcstop  url="${catalina.url}" username="${catalina.username}" password="${catalina.password}"

the list produces the following to stdout:

OK - Listed applications for virtual host localhost

The point is, i want to stop my app (maxbahr) only if it running, cause otherwise i will get
a build error on the tcstop task.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message