Hey everyone,

I just submitted a change to java/gadgets/pom.xml that will ensure that any
static file dependencies (html, css, etc.) get pulled in, though we may need
to refine the configuration a bit to make complete sense. Currently this
just ensures that everything in ../../javascript with an html, css, or js
extension is copied into the root of the project, which makes it available
by pointing at gadgets/<path/to/file.html>. The only downside is that it
doesn't actually copy the files into src/main/webapp, so the jetty:run goal
won't see the files, and instead you'll have to use jetty:run-war.

If anyone has a better solution (ideally one that would allow the jetty:run
goal to work and not require jetty:run-war), please chime in.

~Kevin

Reply via email to