InstallConfig

io.joern.console.InstallConfig
See theInstallConfig companion object
class InstallConfig(environment: Map[String, String])

Installation configuration of Console

Value parameters

environment

A map of system environment variables.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

lazy val rootPath: File

determining the root path of the joern/ocular installation is rather complex unfortunately, because we support a variety of use cases:

determining the root path of the joern/ocular installation is rather complex unfortunately, because we support a variety of use cases:

  • running the installed distribution from the install dir
  • running the installed distribution anywhere else on the system
  • running a locally staged ocular/joern build (via sbt stage and then either ./joern or cd joern-cli/target/universal/stage; ./joern)
  • running a unit/integration test (note: the jars would be in the local cache, e.g. in ~/.coursier/cache)

Attributes