Mastery is a three-way structured merge tool.
./gradlew build -x test
It will generate a jar file stored in build/libs
.
- JDK 11: Our development and experiments are all in JDK 11, we can't guarantee anything for other Java versions.
The recommended usage of Mastery is:
java -jar mastery.jar merge <left> <base> <right> -o <output>
where <left>
, <base>
and <right>
are the paths of the three files to merge, <output>
is the path for the result merged code. When -o
is not specified, the merged code will be printed to stdout.
For more extensive usage information:
java -jar mastery.jar -h
We pack our evaluation (reproducible environment, benchmark, executable tools) as a docker image at here.