ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Martin <>
Subject Check for server availability
Date Thu, 10 Jul 2003 11:51:00 GMT

I need to check for servers availability.

I have a file containing several lines looking like this:

I want to check if all services are up, using the
<condition><socket/></condition> facility.

I guess I could use foreach to iterate through each line of the file, but
then I don't see how to split each line into 3 properties:,, service.port.
I saw a propertyregex task in ant-contrib, but it is not available in the
distribution yes (only in cvs).

Do you see anyways I could do this. I would actually prefer to avoid
ant-contrib (one less file to share), but if there is no choice...

I have a second question. Is it planned to include some ant-contrib tasks
into the core ant distribution?

Thank you,


Confidentiality Notice: The information contained in this e-mail message is
intended only for the personal and confidential use of the recipient(s)
named above. If the reader of this message is not the intended recipient or
an agent responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly
prohibited. If you have received this communication in error, please notify
us immediately by e-mail, and delete the original message. 

Message confidentiel : Les informations contenues dans ce message sont
destinees a un usage personnel et confidentiel du destinataire indique
ci-dessus. Si le lecteur de ce message n'est pas le destinataire prevu, ou
n'est pas une personne en charge de le delivrer au destinataire voulu, vous
etes par la presente informe que vous avez recu ce document par erreur, et
que tout examen, transmission, distribution ou copie de ce message est
totalement interdit. Si vous avez recu cette communication par erreur, nous
vous remercions de bien vouloir nous avertir immediatement par e-mail et de
detruire le message d'origine.

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