Package org.praxislive.ide.core.embedder
Class CORE
java.lang.Object
org.praxislive.ide.core.embedder.CORE
Utility class for locating bundled PraxisCORE runtime. A
CORE.Locator may
be registered in the global lookup to override the default locator.
The default locator expects the runtime to be packaged inside a
praxiscore directory adjacent to the cluster containing this module.
The default locator expects the CORE modules to be inside a mods
directory inside the install directory. The default locator expects the
launcher to be within a bin directory inside the install directory,
and named praxis (Linux/macOS) or praxis.cmd (Windows).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceService provider interface for locating the CORE installation, modules and launcher file. -
Method Summary
-
Method Details
-
launcherFile
Locate the launcher file.- Returns:
- path to launcher
- Throws:
IOException- if launcher not found
-
modulesDir
Locate the modules directory.- Returns:
- path to modules directory
- Throws:
IOException- if modules not found
-
installDir
Locate the CORE install directory.- Returns:
- path to install directory
- Throws:
IOException- if CORE installation not found
-