Thank you very much, Jan,

If I'm not wrong I must include the jmx4ant.jar library and after this, using 
the Mbean elements invoque to my own java application. Isn't it?

In the way that not exist a way to check running java errors... Would be better 
to run a .bat file (I'm working with windows) or better use Mbean.

Thank you very much for your help.


-----Mensaje original-----
De: [email protected] [mailto:[email protected]] 
Enviado el: martes, 04 de agosto de 2009 8:38
Para: [email protected]
Asunto: AW: Run / Launch a java application with ANT

You could start a java application with <java> and use ist 
resultproperty-attribute for result values.
For checking a running application you may use external JMX tasks. 
http://ant.apache.org/external.html

But Ant is a build tool not designed for controlling running applications like 
eHealth or Nagios.


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Redondo Gallardo, Raul Maria 
>[mailto:[email protected]] 
>Gesendet: Dienstag, 4. August 2009 08:09
>An: [email protected]
>Betreff: Run / Launch a java application with ANT
>
>Hello,
>
> 
>
>I'm new with ANT, I'm trying to write a script for do several 
>things but I don't find help about run a java application and 
>check the possible errors occurred during the execution.
>
> 
>
>Is it possible to do this with ANT? How must I proceed? Exists 
>any url or link with a manual about this?
>
> 
>
>Thank you very much.
>
> 
>
>Best Regards,
>
> 
>
>Raúl Redondo
>
> 
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to