Closed jyluo closed 6 years ago
Double check whether build is the output dir for gradle and eclipse.
@wmdietl I think #72 can be merged, however there's a comment regarding creating checker-inference-qual.jar
which is left open.
Thanks for the fixes!
the inference-dev script is not working, and needs to be updated due to changes in CF and AFU's directory structures
whereas the inference script correctly runs and infers for some java source file, the inference-dev script crashes for the same file. the bug can be reproduced by comparing the outputs of these 2 commands:
./scripts/inference --mode infer --checker interning.InterningChecker --solver checkers.inference.solver.MaxSat2TypeSolver testdata/interning/MapAssignment.java
./scripts/inference-dev --mode infer --checker interning.InterningChecker --solver checkers.inference.solver.MaxSat2TypeSolver testdata/interning/MapAssignment.java
example output with inference script:
example output with inference-dev script:
This PR fixes the inference-dev script by updating/adding the paths to the missing jars, adds a sanity check to build.gradle, adding test jars to the dependenciesJar target, and downgrading the version of google.json-simple to 1.1 as version 1.1.1 transitively depends on junit 4.10 which causes source lookup confusion in eclipse.
This PR also updates the eclipse classpath file to output class files in
build/classes/java
and to use dependencies.jar.Finally, a brief new chapter is added to README.md on how to import and edit CFI in eclipse.