Building KIELER without Eclipse - kieler/semantics GitHub Wiki
If you want to build a KIELER product or the KiCo command line tool, you will need to use maven to build the project.
Requirements
- Java 17
- Maven
- Python 2.7
Python 2.7 is only required for building the CLI. Must be available as python command, check conflicts with Python 3
Commands
Commands should run from the semantics root directory.
If Java 17 is not your default java command, prepend the following
command (Linux) to set the java version:
JAVA\_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
Hence it may look like: JAVA\_HOME=/your/path/to/java mvn -f build/pom
It is recommended to add -T 2
as a parameter to the following commands
to speed up the build. However, it might be not helpful in some
situations as the build log will be scrambled due to the parallel build
threads.
Command | Effect |
---|---|
mvn -f build/pom.xml clean validate -P semantics.all |
Builds all plugins and CLI and rund tests (including CLI tests). CLI tools are located in build/de.cau.cs.kieler.kicool.cli/target/exe or sccharts.cli respectively. |
mvn -f build/pom.xml clean package -P semantics.ls |
Build only the language server. |
mvn -f build/pom.xml package -P semantics.product |
Builds the Kieler product and CLI. |