SBT task to copy properties file from project folder in webapp

I am new to scala and sbt. I am trying to implement internationalization using the jQuery i18n plugin. The structure of my project contains the messages.properties file in the / src / main / resources / i 18n folder, which will be copied to the class folder during sbt compile / package. JQuery can only be accessed if the file is in the webapp folder. Is there a way to create a task in build.sbt to copy the properties file from the src / main / resources folder to the webapp folder.

+5
source share
1 answer

Instead, were you trying to use the / classpath url to load your properties for the jQuery plugin?

+2
source

All Articles