A tool that helps to migrate (port) code from one library to another.
A more verbose description is available in the paper.
LibraryMigration requires the Java Development Kit (JDK) version 8 or later. JRE is not sufficient. For example, on Windows you can use Oracle JDK. On Ubuntu/Debian, you can use openjdk-8-jdk
package to run the LibraryMigration project.
- Run
git clone https://github.com/h31/LibraryMigration.git
command or download and unpack a ZIP archive. - If you are running Linux and have used git to fetch the source, it is strongly recommended to execute
examples/make_traces.sh
script. - Run the tests:
- Linux:
./gradlew clean test
- Windows (cmd.exe):
gradlew.bat clean test
- Windows (PowerShell):
.\gradlew clean test
- Linux:
Original code can be found in examples
directory. Migrated code is located in the examples/migrated
directory.