scala - How to set ivy shared repo root with sbt? -


i want have single shared ivy repository , several local repositories(one per-user). how can configure sbt set path shared ivy repository ?

you can edit $home/.sbtconfig

add following java_opts

-dsbt.ivy.home=/shared/.ivy2/

note: $home/.sbtconfig setup when installed sbt via macports. can add java_opts directly sbt script.

the information above explained here: http://www.scala-sbt.org/0.12.3/docs/detailed-topics/library-management.html#ivy-home-directory


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -