Skip to content

Commit bf4a92f

Browse files
authored
doc: few adjustments to current Nopol version (SpoonLabs#195)
1 parent 162f357 commit bf4a92f

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

README.md

+6-15
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,18 @@ Others papers about Nopol:
2323

2424
Nopol requires Java and an SMT solver installed on the machine (e.g. Z3)
2525

26-
1) [CoCoSpoon](https://github.com/SpoonLabs/CoCoSpoon):
27-
28-
```
29-
git clone https://github.com/SpoonLabs/CoCoSpoon.git
30-
cd CoCoSpoon
31-
mvn clean install
32-
cd ..
33-
```
34-
35-
2) Compile NoPol:
26+
1) Compile NoPol:
3627

3728
```
3829
git clone https://github.com/SpoonLabs/nopol.git
3930
cd nopol/nopol
40-
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
31+
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
4132
4233
# -DskipTests is required, to run the tests one needs to compile ../test-projects/ (see below)
4334
mvn package -DskipTests
4435
```
4536

46-
3) Locate the Nopol jar file produced at step 2)
37+
2) Locate the Nopol jar file produced at step 1)
4738

4839
```
4940
$ ls target/*jar
@@ -52,21 +43,21 @@ target/nopol-0.2-SNAPSHOT-jar-with-dependencies.jar # we use this one
5243
```
5344
In the following, `nopol.jar` refers to the jar file with dependencies (`target/nopol-<VERSION>-SNAPSHOT-jar-with-dependencies.jar`)
5445

55-
4) Compile the test-projects
46+
3) Compile the test-projects
5647

5748
```
5849
$ cd ../test-projects/
5950
# compiling app (in target/classes) and tests (in target/test-classes), but don't run the tests (they obviously fail, because the goal is to repair them)
6051
$ mvn test -DskipTests
6152
```
62-
4b) Optional: run the tests of Nopol to check your installation
53+
3b) Optional: run the tests of Nopol to check your installation
6354

6455
```
6556
$ cd ../nopol/
6657
$ mvn test
6758
```
6859

69-
5) Execute Nopol (parameters explained below)
60+
4) Execute Nopol (parameters explained below)
7061

7162
(Long commands are broken in several lines, separated by a backslash, which means an escaped linebreak in Unix shells.)
7263

0 commit comments

Comments
 (0)