# This program is free software; you can redistribute it and/or modify it
# under the terms of the license (GNU LGPL) which comes with this package.
# This program is free software; you can redistribute it and/or modify it
# under the terms of the license (GNU LGPL) which comes with this package.
for i in $SEQ1
##----------------------------------------------------------
## generate application.xml with hostnames from hostfile:
for i in $SEQ1
##----------------------------------------------------------
## generate application.xml with hostnames from hostfile:
echo " <actor host=\"${host}\" function=\"${instance}\"> <!-- function name used only for logging -->" >> ${APPLICATIONTMP}
echo " <argument value=\"${instance}\"/> <!-- instance -->" >> ${APPLICATIONTMP}
echo " <argument value=\"${i}\"/> <!-- rank -->" >> ${APPLICATIONTMP}
echo " <actor host=\"${host}\" function=\"${instance}\"> <!-- function name used only for logging -->" >> ${APPLICATIONTMP}
echo " <argument value=\"${instance}\"/> <!-- instance -->" >> ${APPLICATIONTMP}
echo " <argument value=\"${i}\"/> <!-- rank -->" >> ${APPLICATIONTMP}
echo " <argument value=\"${sleeptime}\"/> <!-- delay -->" >> ${APPLICATIONTMP}
echo " </actor>" >> ${APPLICATIONTMP}
echo " <argument value=\"${sleeptime}\"/> <!-- delay -->" >> ${APPLICATIONTMP}
echo " </actor>" >> ${APPLICATIONTMP}