Objective
Bo Master Outsourcing, because of the company to another Internet e-commerce company to work more than a year, and back. The e-commerce company structure is written by Python-django, and as the business grows, it changes to scala-to reinvent the play frame itself.
Tools by Pycharm, upgrade IntelliJ idea. During the BO master computer system disk upgrade SSD, and. SBT and. Ivy2 default to the C-drive user directory, while two folder files are huge and are constantly written to the C-drive. Bo main poor force distressed SSD,
Then you want to change the default path. The search failed many times and finally succeeded. Think of other people may also encounter the same problem, I hope this article can help, so remember.
Body
Bo Master Win7 64-bit, IntelliJ IDEA2016,SBT 0.14.0
1. Modify the IntelliJ idea System cache Directory
Locate the Idea.properties file in the Bin folder of the idea installation directory, change the Idea.config.path and Idea.system.path to the location where the directory will be stored, and I'll put it in the d:/tool_tem/ Intellijidea_tem
Such as
2. Modify the SBT directory path and Ivy's directory warehouse address
Go to the installation sbt\conf directory and open the Sbtconfig.txt file with the following settings
-dsbt.global.base=d:/tool_tem/sbt/.sbt
-dsbt.ivy.home=d:/tool_tem/sbt/.ivy2.
D:/tool_tem/sbt/is a blogger-built folder, the C-drive user directory. SBT and. Ivy2, move to the custom directory, cmd SBT see if the C-drive user directory is still generating
3.IntelliJ idea execution SBT will still be found in the C-drive user directory, do a set-up
Reference:
http://buxin-2008.iteye.com/blog/2269628
http://my.oschina.net/u/915967/blog/146746
Http://9leg.com/scala/2015/10/17/scala-play-setting.html
[to the passing year] modify IntelliJ idea Modify the system cache directory to modify the SBT. SBT and. Ivy2