Ant 1.3a has support for inserting the file list in any position using
<srcfile>.
This indicates where in the argument list to insert the source files.
<execon executable="somecommand" parallel="false" >
<arg value="arg1" />
<srcfile/>
<arg value="arg2" />
<fileset dir="/tmp" />
</execon>
-----Original Message-----
From: Stefan Schmitt [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 3:22 AM
To: [EMAIL PROTECTED]
Subject: Re: ExecOn args
> 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