package - Getting a resource from a different jar -
i have 2 dependant projects: server
, app
, defined this:
val server = project in file("server") val app = project in file("app") dependson server
in server
project have route should return resource "webapp/app.html"
, can found in app
's project .jar
.
when run app
project, have server on classpath , works fine, when hit endpoint doesn't return me required file, though if try resource in server.jar
can see it. seems if run app
project server
on classpath, server
can't see files app.jar
, there way make work?
Comments
Post a Comment