5
votes

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.

1
refer to this similar question for solution hereHemanth meka

1 Answers

2
votes

Instead of doing that, have you tried using a /classpath URL to load your properties for the jQuery plugin?