title: How to have more than 1 /public directory in Play Framework 2.3.2?
body: <p>We are migrating an app from Play 1.2.7 to Play 2.3.2.</p>
  
  <p>Because we had previously migrated most of our Play 1.2.7 app from Backbone to AngularJS, we ended up with two static asset directories like this in 1.2.7:</p>
  
  <pre><code>/public -- contains Backbone scripts/templates
  /platform/app -- contains AngularJS scripts/templates
  </code></pre>
  
  <p>I'm trying to do the migration side-by-side without breaking the 1.2.7 code, so I have something like this, so I can just rewrite the Java controllers in /app, and use the existing JavaScript/HTML assets:</p>
  
  <pre><code>~/play1/app
  ~/play1/public
  ~/play1/platform/app
  </code></pre>
  
  <p>and</p>
  
  <pre><code>~/play2/app
  ~/play2/public (symlink to ../../play1/public)
  ~/play2/platform (symlink to ../../play1/platform)
  </code></pre>
  
  <p>When I do an activator run, the files in /play2/platform are not accessible even though I have a route for them. Looking into it, none of those files get copied into ~/play2/target/public, so controller.Assets doesn't find them. Is there a way within Play/SBT to do this?</p>
  
  <p>I assume I could somehow have a script do the copy when I build for distribution (I need to look into that), but I would like this to just work for interactive development.</p>
  
  <p>This is probably remedial, but I'm new to Play 2.x, Scala, and SBT, so I haven't been able to figure it out yet.</p>
  
  <p>Thanks,</p>
  
  <p>Charles</p>