Plugin for the model-checking tool UPPAAL
-
Install dependencies
-
Clone the repository
-
Set environment variable
UPPAAL_HOME
to the root folder of your UPPAAL installation, such that%UPPAAL_HOME%/uppaal.jar
exists e.g.C:/Users/<USERNAME>/Desktop/uppaal64-4.1.26-1
.Note: For auto-install to work, the directory must be writable.
-
Open repository root in commandline
-
Run
gradle runUppaal
ORgradle installPlugin
to install without running UPPAALNote: To manually install the plugin, see below
-
Run UPPAAL
- Java - Tested with JVM 17 https://www.oracle.com/java/technologies/downloads/#java17
- Gradle https://gradle.org/install/
- UPPAAL version 4.1.26-1 or higher. https://uppaal.org/downloads/
For the plugin to compile and install, the environment variable UPPAAL_HOME
must be set to the root directory of Uppaal, such that %UPPAAL_HOME%/uppaal.jar
exists.
The folder that %UPPAAL_HOME%
should point to will likely be named something like uppaal64-4.1.26-1
Note that for auto-install to work, the directory may not be read-only.
To make tests work:
- open settings (Ctrl-Alt-S)
- Select
Build, Execution, Deployment
- Select
Build Tools
- Select
Gradle
- Set
Run tests using
toIntelliJ IDEA
To build without installing,
-
Run
gradle buildPlugin
After build, a file named
UCEL.jar
is found in the root folder of the local repository. -
In the folder of UPPAAL, add a folder named
plugins
-
Copy
UCEL.jar
intouppaal/plugins
-
Missing Task "buildPlugin", "installPlugin" or "runUppaal"
See "Setting Environment Variables" above
-
Missing dependencies from UPPAAL
Environment variable is probably pointing to a wrong path.
Examples of UCEL programs can be found in examples
.
Load them into UPPAAL via the UPPAAL editor to use them.