Thursday, February 12, 2009

How to Call Shell Scripts Using Ant

The example code below will execute a shell script named rpcBuild.sh, which is located at src/util directory. That is all.


<target name="RPC">
<exec dir="src/util" executable="./rpcBuild.sh" output="rpcBuild.log"></exec>
</target>

0 comments:

Share