title: Ant: No such file or directory
body: <p>I need to write ant script to execute one file in linux but prior to execution of file i need to execute setup file.</p>
  
  <p>in putty i used to something like ". ./setup" and then "./executeme"</p>
  
  <p>In same way i have written ant script as</p>
  
  <pre><code>    &lt;exec dir="${dir}" executable="/bin/sh"&gt;
          &lt;arg value=". ./setup"/&gt;
          &lt;arg value="./executeme"/&gt;
      &lt;/exec&gt;
  </code></pre>
  
  <p>But it gives error as "/bin/sh: . ./setup: No such file or directory".</p>
  
  <p>Also can someone explain me the difference between execution of "./setup" and ". ./setup "??</p>
  
  <p>thanks in advance.</p>