- Setup a configuration file called
parse_defects4j.cfg
in this repo with this format:
[Basic]
project = Chart
projectNum = 26
version = f
examplesPath = /Users/ashleychen/Desktop/reuse/defects4j/ExamplesCheckOut/
srcPath = source/
copiedFiles = /Users/ashleychen/Desktop/EntropyLocalization/Copies
projectPath = /Users/ashleychen/Desktop/EntropyLocalization/Copies/Chart
genprogPath = /Users/ashleychen/Documents/workspace/GenProg4Java
jdk7 = /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin
jdk8 = /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin
- Run
SourceCodeAggregation.py
. Make sure directories are already existing - Run
DiffSourceCode.py
. You may need to create a directory caleldDiffCode
first - Run
src/clegoues/genprog4java/main/Run.java
from Genprog4Java. Change the hard-coded variables,examplePath
andoutputPath
.