Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

enhance artifactName and Artifact.apply to support Settings references #207

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

harrah commented Jan 5, 2013

The current implementation of defining the artifactName limits the ability to reference external settings outside of the provided function params: config, module, artifact. Likewise, explicit Artifact instances are unable to currently reference other settings (http://groups.google.com/group/simple-build-tool/browse_frm/thread/3471c9a31a077510/2d6a37872e23f5fc?lnk=gst&q=rollinsruss#2d6a37872e23f5fc).

For my particular use case, I need access to the filterEnv (exposed by the filter resources plugin, https://github.com/rollinsruss/xsbt-filter-plugin) so that I can create artifacts with explicit environment support. This provides explicit semantic value in the artifact's filename. In looking back at past Maven projects, I've found many instances where the artifact name was composed of various additional properties specified in the pom (scm revisions, generate identifiers, localization props, etc). Thus, I think this would be a very worthwhile enhancement to sbt.

Owner

harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#207 for the full issue and to comment.

@harrah harrah closed this Jan 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment