(How to) Build - Pixida/logtest GitHub Wiki
You will need maven and a JDK8 (Java Development Kit) installed on your machine in order to build the project.
Clone the repository, open some shell, enter the repositories root folder and run the following command:
mvn clean install
Make sure you are connected to the internet while running the build for the first time, as several dependencies will be downloaded on the fly.
During build, you might spot some error messages and stack traces printed on the console. These exceptions are intentionally triggered by unit tests, so you don’t need to worry about them.
In the end the console output should show something similar to this:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.158 s
[INFO] Finished at: 2016-09-06T20:18:12+02:00
[INFO] Final Memory: 61M/256M
[INFO] ------------------------------------------------------------------------
There were two major artifacts generated inside the project tree and installed in your locale maven repository:
-
logtest-core/target/logtest-core-<version>.jar
: Library containing the automaton engine as well as built-in modules for reading and parsing log entries from log files and reading automatons from JSON files. Can be used by other applications to create and run automatons programmatically. <tl;dr> You will rarely need it. -
logtest-buildserver-app/target/logtest-buildserver-app.jar
: Runnable jar serving as a command line tool for running automatons on log files. This tool is useful for running automated tests on the buildserver. -
logtest-designer/target/jfx/app/logtest-designer-<version>-jfx.jar
: Editor for creating automatons. Also contains a UI for creating and testing log file parsers and running automatons on log files.