Allow option to generate .classpath paths relative to user.home, rather than absolute
Currently, sbteclipse generates absolute pathnames into the ivy repository. This is the main reason why my .classpath files are not portable across machines. I would like a way to generate paths relative to my user.home location, since the default ivy2 repo is relative to that.
sbt-idea currently does this, eg:
root url="jar://$USER_HOME$/.ivy2/cache/junit/junit/jars/junit-4.7.jar!/"
Some evidence that this is an issue for other people also: http://stackoverflow.com/questions/12983203/use-userprofile-in-eclipse-classpath-windows http://stackoverflow.com/questions/14663211/change-name-and-or-path-of-classpath-file-in-eclipse?rq=1
I would suggest that similarly to what is done with Maven and its M2_REPO variable, a variable be used such as IVY_CACHE. That way we could have classpath entries independent from the platform and user, eg:
Any updates on this issue? It would be nice to have portable .classpath files.
I just faced this issue too.
It would be nice to have portable .classpath.
Currently, to deal with it, I need to re-run sbteclipse on the project on each machine, and also ignore .classpath and project settings files in the version control system -- so that they don't constantly conflict.