sbt - How to copy config files as part of packaging for use in deployment? -


i use sbt 0.13.5 build project few config files meant human-edited after deployment.

using sbt-native-packager's stage command builds basic output directory structure deployment. results in bin folder start script , jars in lib folder. great.

that leaves text config files should copied conf folder verbatim alonside bin/ , lib/ folders (not included in jar).

how can copy these configuration files output directory on filesystem (not jars) using sbt?

default universal convention copy files/directories under src/univeral/. so, include conf/ directory in distribution, add src/universal/conf , copy configuration files there. credit: this link


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -