Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Template Not Found Error With Custom Template in a Multi Module Project #752

Open
joesan opened this issue Dec 31, 2022 · 0 comments
Open

Comments

@joesan
Copy link

joesan commented Dec 31, 2022

II have a sbt g8 template that I customized for my projects and this is located as one of the sub project in a multi module scala sbt project which is assigned to my organization. For example.,

main-project
  - projec1
  - sbt-template-project.g8
  - some-other-project

The main-project is available in my git repo and I would like to know how I can create a project from the sbt-template-project? I tried the following, but it says "Template Not Found":

sbt new file:https://github.com/my-organization/main-project/tree/master/sbt-template-project.g8

I also tried:

sbt new file:https://github.com/my-organization/main-project/sbt-template-project.g8

I also tried:

sbt new https://github.com/my-organization/main-project/sbt-template-project.g8

What is the correct way to generate the project out of the template?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

1 participant