title: Ant script failing with error "source file does not exist" despite the file exists,
body: <p>below is the script I am using and it is failing with error :  </p>
  
  <pre><code>java.lang.RuntimeException: Source File: ../CalcMgr/exploded/ear/adf/META-INF/adf-config.xml does not exist.
  </code></pre>
  
  <p>I tried running it locally and the <code>build.xml</code> works. But in jenkins server though the file exists it is failing with that error. </p>
  
  <pre><code>    &lt;echo message="Replacing '#\{JAVASCRIPT_VERSION\}' with '${env.JAVASCRIPT_VERSION}' in file: '${exploded}/ear/adf/META-INF/adf-config.xml'" /&gt;
          &lt;refactorbuildno fileName="${exploded}/ear/adf/META-INF/adf-config.xml" searchText="#\{JAVASCRIPT_VERSION\}" replaceText="${env.JAVASCRIPT_VERSION}"/&gt;
  </code></pre>
  
  <p>Anyone kindly help to fix this</p>