metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Support absolute paths for Java resources on the classpath in x-includes

Open cboehme opened this issue 10 years ago • 0 comments

Issue #219 fixes the problem that Java resources could not be referenced correctly in x-include statements in Metamorph. This problems is fixed in commit 356cb7844e3f21a3c92c62d46d1e234bd41374c0.

It is still not possible, though, to reference Java resources across different jars. It is also not possible to specify an absolute path in x-include which refers to a resource on the class path irrespective of the location of the Metamorph script containing the x-include statement.

These problems could be solved by providing something like a classpath URL as disussed on this stack overflow question. This solution seems to be quite difficult to use in a library or application server environment, though.

cboehme avatar Apr 15 '15 05:04 cboehme