jbangdev / jbang

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
https://jbang.dev
MIT License
1.44k stars 159 forks source link

feat: allow use of remote file args in compiler arguments #1839

Open maxandersen opened 2 months ago

maxandersen commented 2 months ago

first quick attempt on allowing using %{} in -R arguments but also in //RUNTIME_OPTIONS

The latter is why I'm making this draft as not sure if good we add the %{} escaping into the directives inside the .java files...although I can't figure out how else to support allowing to fetch this dynamically.

fixes #1838