rascal
rascal copied to clipboard
add `genSrcs` keyword field to PathConfig
Is your feature request related to a problem? Please describe.
- The Rascal compiler needs a place to put the generated Java files before they are compiled by the Java compiler
- The
binfield is not the right place to put it, since that is the root of generated.classfiles and resources such as.constantsand.tpl
Describe the solution you'd like
rascal-corealready usesgenSrcsinternally as an extension to PathConfig, so let's keep that- apply to
util::Reflectivewhere PathConfig is defined and add utility functions parallel to the support forbin - PathConfig.java, RascalManifest, ShellEvaluatorFactory and such need to be extended to produce proper bindings for
genSrcs - This has impact in other projects, such as usethesource/rascal-language-servers, usethesource/rascal-maven-plugin and usethesource/rascal-eclipse