A Task for creating OS dependent start scripts.
Type | Name and description |
---|---|
String |
applicationName The application's name. |
FileCollection |
classpath The class path for the application. |
Iterable<String> |
defaultJvmOpts The application's default JVM options. |
String |
exitEnvironmentVar |
String |
mainClassName The application's main class. |
String |
optsEnvironmentVar |
File |
outputDir The directory to write the scripts into. |
Type | Name and description |
---|---|
void |
generate() |
String |
getExitEnvironmentVar() |
String |
getOptsEnvironmentVar() Returns the name of the application's OPTS environment variable. |
File |
getUnixScript() |
File |
getWindowsScript() |
The application's name.
The class path for the application.
The application's main class.
The directory to write the scripts into.