sbt-editsource icon indicating copy to clipboard operation
sbt-editsource copied to clipboard

private resolution file as input?

Open max8github opened this issue 8 years ago • 2 comments

From your README.md and website instructions it is unclear to me how to do substitutions off of a private file, that is a file that is not under source control. Ideally, i would like to specify the file containing key-values and its location so that resolution happens on all declared tokenized files off of that key-value (say, properties) file.

It looks like this is not the intent of this plugin, but wanted to make sure.

max8github avatar Mar 18 '16 17:03 max8github

In case was not clear, i am looking for the same functionality of settings.xml in Maven. That file lives in ~/.m2, in the user directory, not under source control, and contains private properties that are substituted by Maven at build time before resolving tokenized resource files into target, like your plugin does.

As i understand from your instructions, the key-value pairs here are only in build.sbt, which is under source control.

max8github avatar Mar 18 '16 18:03 max8github

Right now, the substitutions can only appear in build.sbt. It's unlikely that I'll be fixing that any time soon. I will leave this issue open as a possible enhancement, though.

bmc avatar Jan 07 '18 22:01 bmc