Re: how to make sbt portable?

70 views
Skip to first unread message

Sandro Gržičić

unread,
Aug 21, 2012, 2:20:21 PM8/21/12
to simple-b...@googlegroups.com
Note that (even on Windows) you can make a symlink to the Dropbox folder, so that you'll have the \Users\<username>\.sbt folder in your Dropbox folder as well, without needing to actually move the whole folder over. 

I'm using a program called "Symlink Creator" for this, but I think you can even do this from the command line.


On Monday, August 13, 2012 5:59:49 AM UTC+2, Chris Cheung wrote:
what I wanted to do is to make the sbt portable, at least portable among different Windows machines, so that my sbt plugins, settings, ivy repo, etc. don't have to be setup again on every computer.

my approach is to put the sbt.bat, sbt-launcher.jar and all its required directories, like .sbt, plugins and .ivy into a folder to be synced by Dropbox or likes

I have successfully changed the boot and ivy directory by using -Dsbt.boot.directory -Dsbt.ivy.hom in command line for sbt-launch.jar, but I can't find the same for plugins or the whole .sbt folder.

please help~

also asked on stackoverflow
Reply all
Reply to author
Forward
0 new messages