<for> & remoteant

  • barrettc

    barrettc - 2005-04-01

    I'm working on a project where I need to remotely execute an Ant task on 1-N number of boxes. I was trying to use a for loop and remoteant to accomplish this like so:

            <loadfile property="horizontal.nodes" srcFile="${basedir.build}/horizontal_nodes.txt" />
            <for list="${horizontal.nodes}" param="horizontal.node">
                <remoteant machine="@{horizontal.node}" port="${remoteAntServerPort}">
                    <runtarget target="test" />

    but I'm getting the error:
    The <for> type doesn't support the nested "remoteant" element.

    Is there any reason why <for> should not support this?

    • barrettc

      barrettc - 2005-04-01

      Nevermind... I simply forgot the <sequential> tag. I gotta start getting more sleep. :-)


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks