A Task for creating OS dependent start scripts.
| Type | Name and description |
|---|---|
String |
applicationNameThe application's name. |
FileCollection |
classpathThe class path for the application. |
Iterable<String> |
defaultJvmOptsThe application's default JVM options. |
String |
exitEnvironmentVar |
String |
mainClassNameThe application's main class. |
String |
optsEnvironmentVar |
File |
outputDirThe 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.