I am trying to replace simple Maven project to SBT project. But I have faced few problems. In maven I have several profiles for project like
<profile>
<id>name</id>
<properties>
<tomcatHome>/apache-tomcat-7.0.42</tomcatHome>
<config.folder>/conf/</config.folder>
<data.folder>/conf/data</data.folder>
</properties>
</profile>
this profiles can be changed for different builds in maven
mvn package -P name
or can be used by Intellij Idea for embedded maven build and server launching
Also properties can be used in spring config (through placeholders).
<context:property-placeholder location="file:${config.folder} />
How can i write similar configuration for sbt? I did not find anything similar in the documentation Thanks