object BashStartScriptPlugin extends AutoPlugin with ApplicationIniGenerator with CommonStartScriptGenerator
Bash StartScript Plugin
This plugins creates a start bash script to run an application built with the com.typesafe.sbt.packager.archetypes.JavaAppPackaging.
- Alphabetic
- By Inheritance
- BashStartScriptPlugin
- CommonStartScriptGenerator
- ApplicationIniGenerator
- AutoPlugin
- PluginsFunctions
- Basic
- Plugins
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
BashScriptConfig(executableScriptName: String, scriptClasspath: Seq[String], replacements: Seq[(String, String)], templateLocation: File) extends ScriptConfig with Product with Serializable
- Attributes
- protected[this]
-
type
SpecializedScriptConfig = BashScriptConfig
The type of specialized ScriptConfig.
The type of specialized ScriptConfig. This enables callback methods of the concrete plugin implementations to use fields of config that only exist in their ScriptConfig specialization.
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
trait
ScriptConfig extends AnyRef
- Attributes
- protected[this]
- Definition Classes
- CommonStartScriptGenerator
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&(o: Basic): Plugins
- Definition Classes
- Basic → Plugins
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allRequirements: PluginTrigger
- Definition Classes
- PluginsFunctions
-
val
appIniLocation: String
Location for the application.ini file used by the bash script to load initialization parameters for jvm and app
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bashTemplate: String
Name of the bash template if user wants to provide custom one
-
def
buildSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
cleanApplicationIniPath(path: String): String
- path
that could be relative to app_home
- returns
path relative to app_home
- Attributes
- protected
- Definition Classes
- BashStartScriptPlugin → ApplicationIniGenerator
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createReplacementsForMainScript(mainClass: String, mainClasses: Seq[String], config: SpecializedScriptConfig): Seq[(String, String)]
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
def
derivedProjects(proj: ProjectDefinition[_]): Seq[Project]
- Definition Classes
- AutoPlugin
-
def
empty: Plugins
- Definition Classes
- PluginsFunctions
-
val
eol: String
Line separator for generated scripts
Line separator for generated scripts
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
executableBitValue: Boolean
Set executable bit of the generated scripts to this value
Set executable bit of the generated scripts to this value
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
- To do
Does it work when building archives on hosts that do not support such permission?
-
def
extraProjects: Seq[Project]
- Definition Classes
- AutoPlugin
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
forwarderTemplateName: String
Name of the bash forwarder template if user wants to provide custom one
Name of the bash forwarder template if user wants to provide custom one
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
def
generateApplicationIni(universalMappings: Seq[(File, String)], javaOptions: Seq[String], bashScriptConfigLocation: Option[String], tmpDir: File, log: sbt.Logger): Seq[(File, String)]
- returns
the existing mappings plus a generated application.ini if custom javaOptions are specified
- Definition Classes
- ApplicationIniGenerator
-
def
generateStartScripts(config: SpecializedScriptConfig, mainClass: Option[String], discoveredMainClasses: Seq[String], targetDir: File, log: sbt.Logger): Seq[(File, String)]
- Attributes
- protected[this]
- Definition Classes
- CommonStartScriptGenerator
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
globalSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
keySurround: (String) ⇒ String
keySurround for TemplateWriter.generateScript()
keySurround for TemplateWriter.generateScript()
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
val
label: String
- Definition Classes
- AutoPlugin
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noTrigger: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
projectConfigurations: Seq[Configuration]
- Definition Classes
- AutoPlugin
-
def
projectSettings: Seq[sbt.Setting[_]]
- Definition Classes
- BashStartScriptPlugin → AutoPlugin
-
val
requires: JavaAppPackaging.type
- Definition Classes
- BashStartScriptPlugin → AutoPlugin
-
val
scriptSuffix: String
Suffix to append to the generated script name (such as ".bat")
Suffix to append to the generated script name (such as ".bat")
- Attributes
- protected[this]
- Definition Classes
- BashStartScriptPlugin → CommonStartScriptGenerator
-
val
scriptTargetFolder: String
Script destination in final package
Script destination in final package
- Attributes
- protected[this]
- Definition Classes
- CommonStartScriptGenerator
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AutoPlugin → AnyRef → Any
-
val
trigger: AllRequirements.type
- Definition Classes
- BashStartScriptPlugin → AutoPlugin
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
Defines
Bash defines
- object autoImport extends BashStartScriptKeys