Skip to content

ENSO_JVM_OPTS changes its meaning depending on jvm mode #13279

@JaroslavTulach

Description

@JaroslavTulach

Originally posted by @JaroslavTulach in #13256 (comment)

  • ENSO_JVM_OPTS environment variable is changing its meaning completely in non-JVM and --jvm mode
  • e.g. there is no way to set ENSO_JVM_OPTS to non-trivial value that would work in both modes
    • for example -ea is valid in JVM mode, but not in native mode
  • the JVM mode is also controlled by jvm: true in the package.yaml
  • as such we can end up in a situation where users set ENSO_JVM_OPTS and then they can open just some of their projects

Goal

  • design a solution that allows one to change the options project-manager sends to enso
  • that works with and without JVM mode of enso
  • verify it works with and without --jvm mode option of project-manager and enso executables
  • verify it works with and without jvm: true flag in package.yaml of projects being open

Metadata

Metadata

Type

No type

Projects

Status

🟢 Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions