title: How do you launch a shell script from ant on a Mac?
body: <p>On linux something like:</p>
  
  <pre><code>  &lt;target name="runDo"&gt;
       &lt;exec executable="gnome-terminal" spawn="true"&gt;
        &lt;arg line="-t 'Title' --geometry=120x80 -e '/script/path/bin/do.sh'"/&gt;
      &lt;/exec&gt;
    &lt;/target&gt;
  </code></pre>
  
  <p>Works fine.</p>
  
  <p>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.</p>
  
  <p>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?</p>