I want to us
sbt new .. to create a new project from a Giter8 template.
The template is hosted in a private Bitbucket Git Repo .
It works with plain Giter8 :
But it doesn’t with sbt :
sbt new https://mycompany.ch/stash/bpf-package-template.g8.git
I did not find whether an example nor a statement that this is not possible on the sbt documentation .
Here is the console output:
mpa$ sbt new https://mycompany.ch/stash/bpf-package-template.g8.git [info] Loading settings from metals.sbt ... [info] Loading global plugins from /Users/mpa/.sbt/1.0/plugins [info] Set current project to my-packages (in build file:/Users/mpa/dev/my-packages/) [info] Set current project to my-packages (in build file:/Users/mpa/dev/my-packages/) Template not found for: https://mycompany.ch/stash/b
According to this comment it could be related to an older giter8 version.
Which version of Giter8 did you use? SBT has integrated 0.11.0 AFAICS, which might mean it is too old. Try running with debug enabled:
sbt -debug new .... – [cbley]
$ g8 --version g8 0.10.0