raboof on main
Added support for different git… Merge pull request #197 from li… (compare)
raboof on main
Fix console reader issues (#219… (compare)
SethTisue on v2.0.0
sbt-release
?
publish
.
logback.xml
config file (since we’re using logback as the slf4j backend) to another sbt plugin and use it to configure the logging from sbt-git. For some reason adding logback.xml
to the sbt meta-build of the project including sbt-git didn’t work (I suspect because of a classloader conflict), but for my purposes adding the file to the plugin actually works better anyway, so that’s fine.
build.sbt
that could use the classloader to load from project/src/main/resources
, but the classloader used by the logger factory inside jgit did not have any classes or resources defined in project
. It did have the jars of all the sbt plugins, though, which is why adding the file as a resource to a plugin worked.
git status
Error: Could not find or load main class org.eclipse.jgit.pgm.Main
[error] Nonzero exit code (1) running JGit.
scala> scala.sys.process.Process("git rev-parse --symbolic-full-name --abbrev-ref HEAD").!!.dropRight(1)
res0: String = master
git status
Error: Could not find or load main class org.eclipse.jgit.pgm.Main
[error] Nonzero exit code (1) running JGit.