appcelerator workaround for ti.include not working
<p>Hi I have tried the workaround suggested by the appcelerator team (for dealing with the deprecation of ti.include in version 6.0.0)</p>

<pre><code>function include(file) {
    return eval(Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, file).read().text); 
}
</code></pre>

<p>And I get an error, probably the system can't read the file. the error is:</p>

<blockquote>
  <p>[ERROR] :  TiBlob: java.io.FileNotFoundException:
  Resources/underscore-min.js</p>
</blockquote>

<p>I have managed to list the directory files through .getDirectoryListing() and couldn't find the file, actually I couldn't find any .js file there.</p>

<p>Any suggestions?</p>