On 3/12/08, neo anderson <[EMAIL PROTECTED]> wrote: > > How do I use shell script in ant? I try the following code, but it does not > work. > > <project> > <target name="test"> > <shellscript shell="bash"> > (echo "hi!";) > </shellscript> > </target> > </project>
> Though it return build successfully. But there is nothing echo on the > screen. What should I do if I want to run shell script command or use > command (e.g., ) a bit like shell script in ant? Can you try doing a (touch foo.bar) instead of the (echo "hi!";) and see if an empty file gets created? Regards, - vihan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]