Back Forum Reply New

Offer simple war packaging alternative to ResourceServlet

I am upgrading from webflow 1.0.5 to 2.0.8, and enjoying some of the new features.

While it looks as though the ResourceServlet offers many benefits for serving js scripts, it makes it impossible for my IDE (IntelliJ) to validate any of my JS, which helps a lot when learning new functionality.

It can't validate against
lt;script type=quot;text/javascriptquot; src=quot;lt;c:ucl value=quot;/resources/spring/Spring-Dojo.js/quot;/gt;quot;/gt;

Would a war artifact for the JS files, similar to the dojo-war artifact, not be a good alternative to the JAR artifact of the current build? Then I could use a war-overlay to add the files to my project. I can't do an overlay with a JAR.

Or is there a better way to overcome this?

Thanks
¥
Back Forum Reply New