You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added some configuration of how template start scripts are generated.
* Use same classpath ordering as sbt in start scripts
* Allow user configuration of additional hooks for the script.
Review by @huntc to see if we're any closer to parity with Play.
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/Keys.scala
+7
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,14 @@ object Keys extends linux.Keys
10
10
with universal.UniversalKeys {
11
11
12
12
// TODO - Do these keys belong here?
13
+
14
+
// These keys are used by the JavaApp archetype.
15
+
valclasspathOrdering=TaskKey[Seq[(File, String)]]("classpathOrdering", "The order of the classpath used at runtime for the bat/bash scripts.")
13
16
valmakeBashScript=TaskKey[Option[File]]("makeBashScript", "Creates or discovers the bash script used by this project.")
17
+
valbashScriptDefines=TaskKey[Seq[String]]("bashScriptDefines", "A list of definitions that should be written to the bash file template.")
18
+
valbashScriptExtraDefines=TaskKey[Seq[String]]("bashScriptExtraDefines", "A list of extra definitions that should be written to the bash file template.")
19
+
valscriptClasspath=TaskKey[Seq[String]]("scriptClasspath", "A list of relative filenames (to the lib/ folder in the distribution) of what to include on the classpath.")
14
20
valmakeBatScript=TaskKey[Option[File]]("makeBatScript", "Creates or discovers the bat script used by this project.")
21
+
valbatScriptReplacements=TaskKey[Seq[(String,String)]]("batScriptReplacements", "Replacements of template parameters used in the windows bat script.")
0 commit comments