38 return $this->
build();
88 $artifact = $this->
buildIn($environment);
91 $base_path = getcwd();
96 file_put_contents($path, $artifact->serialize());
108 $dir = pathinfo($path)[
"dirname"];
109 if (!file_exists($dir)) {
110 mkdir($dir, 0755,
true);
An exception for terminatinating execution or to throw for unit testing.
This is an objective to build some artifact.
getHash()
Uses hashed Path.
isNotable()
Defaults to 'true'.
isApplicable(Setup\Environment $environment)
makeDirectoryFor(string $path)
achieve(Setup\Environment $environment)
Builds the artifact and puts it in its location.
buildIn(Setup\Environment $env)
Builds an artifact in some given Environment.
getArtifactPath()
Get the filename where the builder wants to put its artifact.
getPreconditions(Setup\Environment $environment)
Defaults to no preconditions.
build()
Build the artifact based.
getLabel()
Defaults to "Build $this->getArtifactPath()".
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...