I'm new to scala and Sbt. I am trying to implement internationalization using JQuery i18n plugIn. My project folder structure contains messages.properties file in /src/main/resources/i18n folder which will be copied to classes folder during sbt compile/package. Jquery can access only if the file is under webapp folder. Is there a way to create a task in build.sbt to copy property file from src/main/resources folder to webapp folder.
Instead of doing that, have you tried using a /classpath URL to load your properties for the jQuery plugin?
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