SBT task to copy property file from project folder to webapp

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.


而不是这样做,你有没有尝试使用/ classpath URL来加载你的jQuery插件的属性?

链接地址: http://www.djcxy.com/p/42570.html

上一篇: 如何在SBT 0.13项目中设置主类

下一篇: SBT任务将项目文件夹中的属性文件复制到webapp