Skip to content

Show the real git hash in the REPL welcome message, when running repl or bin/dotr #2291

Closed
@dwijnand

Description

@dwijnand

Currently when running repl or bin/dotr the REPL shows:

Welcome to Scala.next (pre-alpha, git-hash: unknown)  (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_121).

The reason is that the git hash is defined in terms of the JAR manifest, which isn't present.

Possible solutions include:

  • moving to a generated properties file instead of the manifest (what Scala does)
  • package the jar and run the REPL from the jar instead
  • some other solution involving a temporarily generated MANIFEST.MF

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