there is a way to include wro4j http://code.google.com/p/wro4j/
in java play framework 2.1?
i need to compile hogan.js templates and do much more
without reinvent the route.
maybe i should use interceptors (@Before, @After, @Finally) and creating a class that extend Application?
regards
wro4j process resources either at build time or at runtime.
I'm not aware of any Play2 integration/plugin/sample yet.
You can use the wro4j SBT plugin available here: https://github.com/BowlingX/xsbt-wro4j-plugin/
Or you could write a wro4j controller that process resources on the fly in DEV mode and cache them in PROD mode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With