title: Copying a Directory when Building Sencha Touch
body: <p>I am building an application in Sencha Touch and PHP. Both parts are being developed on my PC in the same directory. Thus the structure looks something like this:</p>
  
  <pre><code>AppDir
    - .sencha
    - app
    - build
    - packages
    - php
    - resources
    - touch
  </code></pre>
  
  <p>Most of what is above is standard to all of the examples I could find online. However, I also have that 'php' subdirectory, which houses an AJAX API that my application uses.</p>
  
  <p>When I build the application, the PHP directory can no longer be found as it is here:</p>
  
  <pre><code>http://localhost/AppDir/php/
  </code></pre>
  
  <p>While the application is here:</p>
  
  <pre><code>http://localhost/AppDir/build/production/AppDir/
  </code></pre>
  
  <p>I can't figure out a way to force the build process to copy the PHP directory into the output directory (or perhaps alternatively to inform the built application to search several directories higher for the PHP API). I've thought about making it a resource, which would work but seems counter-intuitive.</p>
  
  <p>Can anyone give me any pointers? Thanks.</p>