You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tran Thanh Khiet <tk...@bigfoot.com> on 2000/12/23 00:54:43 UTC

ExecOn args

Hi,
I am using ExecOn task, but the executable required arguments after the
filename. Can it be done? Thanks. Khiet.

_______________________________
Tran Thanh Khiet
email - tkhiet@bigfoot.com
icq#  - 23377467


Re: ExecOn args

Posted by Stefan Schmitt <ss...@raleigh.ibm.com>.
> I am using ExecOn task, but the executable required arguments after the
> filename. Can it be done? Thanks. Khiet.

ExecOn uses the nested argument <arg>.
e.g

<execon executable="ls">
    <arg value="-1"/>
        <fileset dir="/tmp">
            ......
        </fileset>
</execon>

Take a look at the manual. It's available at
http://jakarta.apache.org/ant/jakarta-ant/docs/

Yours
Stefan S