typesafehub/sbteclipse — Issue #64: Support relative path for sbt.ivy.home
Author: jlcheng
Created: 2011-12-17 18:29:58+00:00
State: open

Start SBT with -Dsbt.ivy.home=ivy. This will set the ivy cache directory to a relative directory (same level as `src`).

Run `eclipse create-src`. The generated .classpath file will use the absolute path to the Ivy cache directory, e.g.,

I would love it if sbteclipse can detect when it should use a relative path. Perhaps by requiring sbt.ivy.home to be in the form of "./ivy" or a setting in the SBT project file.

Thanks!