On linux something like:
<target name="runDo">
<exec executable="gnome-terminal" spawn="true">
<arg line="-t 'Title' --geometry=120x80 -e '/script/path/bin/do.sh'"/>
</exec>
</target>
Works fine.
I've tried installing xterm, gnome-terminal and rxvt via macports and running them similarly with no results as well as /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -e, but none seem to work. I've also tried running the script as the attribute value of executable, hoping the OS would pick an appropriate applications to launch, but no joy.
I can get it to run without spawning a new terminal, but I'm running the ant task from an IDE and would like to be able to keep it alive if I quit the IDE, or close the project to open another. Help?