Open jurgenvinju opened 1 year ago
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ModuleLayer.html
If we use that in the implementation of the maven plugin, those layers could clearly separate the runtime of the Compiler from the source code of the Compiler.
Does not sound as if it's fixed. I see the reference to the issue in the tutor pom.xml with a block of commented out code.
It comes back Everytime we change something in the standard library. Until we do true modules, the class path can always be polluted with a too new version.
This is due to the following:
Here because |project://rascal-tutor| is also defined, the current source code in the target folder is superseding the library linked in the rascal-maven-plugin. So we have two bootstrap-levels mixed and since the source files haven't been packaged into the target folder yet, we are also not accidentally running our own code on our own code.
This is currently blocking a release of a newer tutor with better documentation of itself, and better error handling.