[to the passing year] modify IntelliJ idea Modify the system cache directory to modify the SBT. SBT and. Ivy2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.