Just write a shell script with your command line on one line. Of course if
you want to use $SKELTON,$IN,$OUT you will have to define these also in the
shell script. So if you have done this and your file is called file.sh:
<exec dir="." executable="file.sh" output="whatever"/>
-----Original Message-----
From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 11:14 AM
To: [EMAIL PROTECTED]
Subject: RE: exec: jay <$SKELETON $IN >$OUT, HELP PLEASE
OK!
Could you give me samples ?
Joel
--- Dana Rice <[EMAIL PROTECTED]> a écrit : > The
only way I have been able to do things like this
> is to put:
> jay <$SKELETON $IN >$OUT in a shell script file and
> use exec to call the
> file.
>
> -----Original Message-----
> From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 11:00 AM
> To: [EMAIL PROTECTED]
> Subject: exec: jay <$SKELETON $IN >$OUT, HELP PLEASE
>
>
> Hi!
>
> Can someone help me to 'translate' the unix shell
> command with stdin and stout redirection : jay
> <$SKELETON $IN >$OUT to the Ant Exec task ?
>
> Thanks
> Joel
>
> ps: jay is the name of my executable
>
>
___________________________________________________________
> Do You Yahoo!? -- Pour dialoguer en direct avec vos
> amis,
> Yahoo! Messenger : http://fr.messenger.yahoo.com
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com