matachi / rangeFix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run RangeFix

Running RangeFix.jar works with both JRE 7 and JRE 8.

$ wget https://github.com/matachi/rangeFix/releases/download/0.1/RangeFix.jar
$ java -cp RangeFix.jar ca.uwaterloo.gsd.rangeFix.KconfigMain testfiles/kconfig/test.exconfig testfiles/kconfig/test.config A yes D yes

Build RangeFix

JDK 7 and Scala 2.9 are required to build RangeFix.

How to set up on Windows

(Tested on Windows 7 32-bit)

Download and install:

Append ;C:\Program Files\Java\jdk1.7.0_79\bin to the end of the environment varible Path.

Create environment variable JAVA_TOOL_OPTIONS with value -Dfile.encoding=UTF8.

How to set up on Linux

(Tested on Fedora 23 64-bit)

Download and extract:

Install sbt and Z3: sudo dnf install sbt z3

Run:

$ PATH=`readlink -f openjdk-1.7.0-u80-unofficial-linux-amd64-image/bin`:$PATH
$ PATH=`readlink -f scala-2.9.2/bin`:$PATH
$ cd rangeFix
$ git apply linux-z3-path.patch
$ sbt test

How to build RangeFix.jar

$ ./build-combined-jar.sh

About

License:MIT License


Languages

Language:Scala 63.0%Language:Java 32.4%Language:Lex 2.6%Language:Yacc 1.8%Language:Shell 0.2%Language:Batchfile 0.1%