Uses of Enum Class
org.ek9lang.core.BuildMode
Packages that use BuildMode
Package
Description
B - For the EK9 compiler itself.
Just general operating system stuff and bits and bobs.
-
Uses of BuildMode in org.ek9lang.compiler
Classes in org.ek9lang.compiler that implement interfaces with type arguments of type BuildModeModifier and TypeClassDescriptionfinal classTHE rule mapping a build'sCompilerFlagsto theBuildModefolder its output belongs in (plandocs/implementation/EK9_P1_I1_PLAN.md§2.2).Methods in org.ek9lang.compiler that return BuildMode -
Uses of BuildMode in org.ek9lang.core
Subclasses with type arguments of type BuildMode in org.ek9lang.coreModifier and TypeClassDescriptionenumTHE four build modes a project's.ek9/<arch>/tree is organised by - one folder per mode, each holding its own<name>.jar/<name>,build.keyand (NORMAL/DEBUG only)build.inputs(plandocs/implementation/EK9_BUILD_OUTPUT_LAYOUT.md§1-§2, extending I1's originaldocs/implementation/EK9_P1_I1_PLAN.md§2.1-§2.2).Methods in org.ek9lang.core that return BuildModeModifier and TypeMethodDescriptionstatic BuildModeReturns the enum constant of this class with the specified name.static BuildMode[]BuildMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.ek9lang.core with parameters of type BuildModeModifier and TypeMethodDescriptionvoidEk9DirectoryStructure.cleanForFullBuild(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) D-C1 (plandocs/implementation/EK9_BUILD_OUTPUT_LAYOUT.md§5): what a FULL build (a clean recompile,-t, packaging) clears for itself -generated/,lib/, the properties (all shared, so a full build of any mode or architecture regenerates them), and ONLY this one<arch>/<mode>/folder (its artefact, build key, build inputs and, natively, the licence files).voidFileHandling.cleanForFullBuild(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) D-C1: what a full build clears for itself - seeEk9DirectoryStructure.cleanForFullBuild(String, TargetArchitecture, BuildMode).Ek9DirectoryStructure.getBuildInputsFile(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) Access the build inputs file beside the target executable artefact for the given architecture and mode (.ek9/<arch>/<mode>/build.inputs, plandocs/implementation/EK9_BUILD_OUTPUT_LAYOUT.md§2).FileHandling.getBuildInputsFile(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) Ek9DirectoryStructure.getBuildKeyFile(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) Access the build key file beside the target executable artefact for the given architecture and mode (.ek9/<arch>/<mode>/build.key).FileHandling.getBuildKeyFile(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) Ek9DirectoryStructure.getTargetExecutableArtefact(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode) Access the final built artefact that can be executed, under its architecture and build mode's own folder (.ek9/<arch>/<mode>/<name>.jarfor the JVM,.ek9/<arch>/<mode>/<name>-<name>.exeon Windows - for native, plandocs/implementation/EK9_BUILD_OUTPUT_LAYOUT.md§1.1-§1.2).FileHandling.getTargetExecutableArtefact(String ek9FullPathToFileName, TargetArchitecture targetArchitecture, BuildMode buildMode)