title: How to change location of .activator .sbt .ivy folders in Play 2.3?
body: <p>I have just started learning Play Framework 2.3.0 and am trying to move</p>
  
  <ul>
  <li><code>.activator</code></li>
  <li><code>.sbt</code></li>
  <li><code>.ivy</code></li>
  </ul>
  
  <p>folders from <code>%USERPROFILE%</code> folder to a custom folder like <code>C:/learning/playframework/</code> on my Windows 7 machine. I want them to be portable / not lost during a OS re install.</p>
  
  <p>I modified the <code>sbt.boot.properties</code> and changed the <code>user.home</code> to the custom location and passed <code>play.home</code> to <code>activator.bat</code> as a parameter.</p>
  
  <p>Although <code>.sbt</code> and <code>.ivy</code> folders are initially created in the custom folder, when I try to create a new application <code>HelloWorld</code> all these folders again get created in the user directory <code>%USERPROFILE%</code> and all the files are downloaded there. The <code>.activator</code> never gets created in the custom folder and is always created in the <code>%USERPROFILE%</code> folder.</p>
  
  <p>I also made sure there were no spaces in the paths.</p>
  
  <p><strong>sbt.boot.properties:</strong></p>
  
  <pre><code>[app]
    org: com.typesafe.activator
    name: activator-launcher
    version: ${activator.version-read(activator.version)[1.2.1]}
    class: activator.ActivatorLauncher
    cross-versioned: false
    components: xsbti
  
  [repositories]
    local
    activator-local: file://${activator.local.repository-${activator.home-${play.home}/.activator}/repository}, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
    maven-central
    typesafe-releases: http://repo.typesafe.com/typesafe/releases
    typesafe-ivy-releasez: http://repo.typesafe.com/typesafe/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
  
  [boot]
   directory: ${sbt.boot.directory-${sbt.global.base-${play.home}/.sbt}/boot/}
   properties: ${activator.boot.properties-${play.home}/.activator/version-${activator.launcher.generation-0}.properties}
  
  [ivy]
    ivy-home: ${play.home}/.ivy2
    checksums: ${sbt.checksums-sha1,md5}
    override-build-repos: ${sbt.override.build.repos-false}
    repository-config: ${sbt.repository.config-${sbt.global.base-${play.home}/.sbt}/repositories}
  </code></pre>
  
  <p>Please advise on configuring the Activator/Play Framework such that - the 3 directories and the repository get created in a custom directory, say <code>C:/learning/playframework/</code>.</p>