Skip to content

Will not launch outside of project directory (no sbt.version) #151

Description

@sloshy

I have a giter8 template that I want to use with sbt new. To do so, I invoke the command in my base project directory which does not have a build.properties file, and there is no inferred sbt version. For example, this will fail in my projects directory:

rpeters$ sbt --version
Exception in thread "main" java.lang.Exception: Don't know what Scala version should be used for sbt version ''

A workaround is to manually specify the version like so: sbt -Dsbt.version=1.3.8 '<command>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions