BuggleInc / PLM

Programmer's Learning Machine
http://people.irisa.fr/Martin.Quinson/Teaching/PLM/
Other
63 stars 40 forks source link

Abstract over how files and classes are loaded. #507

Closed polux closed 6 years ago

polux commented 6 years ago

Make FileUtils a class parameterized by a classloader and parameterize every former static use of FileUtils in PLM. Also pass the classloader as an argument everywhere it was used statically before. This should allow us to fix the tests (not done in that commit) and eventually I hope to make "sbt run" work. Also this will allow us to read the files from the network if we ever want to.

polux commented 6 years ago

Tests are still failing but this is expected: this commit is a prerequisite to fixing the tests.