Thanks to baseDir and the Vfs prepending, the "$baseDir/$path", loading a resource file from a JAR isn't possible. This may require a bit more though and a possible design change to allow multiple Vfs types, that are designated to load from different file systems. E.g. resourcesVfs would load from resources, fileVfs could load external files, etc.
Thanks to
baseDir
and theVfs
prepending, the"$baseDir/$path"
, loading a resource file from a JAR isn't possible. This may require a bit more though and a possible design change to allow multipleVfs
types, that are designated to load from different file systems. E.g.resourcesVfs
would load from resources,fileVfs
could load external files, etc.