- Install JDK 8 64bit (do not use JRE!)
- Install git or Mercurial (depends on your repository type)
- Install sbt 1.2.x or higher
- Install maven and add its folder
bin
into the Windows PATH - Increase the sbt heap: add system variable
SBT_OPTS
and set it to 4-8Gb:-Xmx8G
(use the same Windows tab as for the previous step) - Download XES implementation
OpenXes-XXX.jar
and install it into your local maven repository:mvn install:install-file -Dfile=c:\openxes\OpenXES-20211004.jar -DgroupId=org.xes-standard -DartifactId=openxes -Dversion=2.27 -Dpackaging=jar
- check out the PSM repository
- run
sbt
from your source root directory and execute commandscompile
,package
Read about an Überjar here.
- Go to your source root directory and run
sbt "set test in assembly := {}" clean assembly
from command line. - Move resulting
jar
file into a separate directory - Copy file
log4j.properties
into the same directory - Execute
java -cp "perf_spec-assembly-1.1.0.jar" org.processmining.scala.viewers.spectrum.view.Form
Increase the JVM heap size for working with large event logs using -Xmx
JVM option, e.g., set the heap size to 30Gb
if your machine has 32Gb
RAM as follows: java -Xmx30G -cp "perf_spec-assembly-1.1.0.jar" org.processmining.scala.viewers.spectrum.view.Form
- First, build the project in the
sbt
command line: executedcompile
thenpackage
. - Install your favorite IDE that supports Java and Scala development. This project has being developed in Intellij IDEA
- Import the pre-built project (use 'import the project structure from sbt files')
- Setup Scala 2.12.8 SDK. Earlier versions are not binary compatible.
- Use Java 8
Configuration steps depend on the IDE.
If Intellij IDEA highlights lines of .sbt
files with red, try to reimport all sbt
files through the sbt tool panel (button 'Reload All sbr Projects').