Copies file
to dest
if defined, otherwise copies the resource at orElseResource
to dest
.
Copies file
to dest
if defined, otherwise copies the resource at orElseResource
to dest
.
optional file
fallback resource
destination file
the source: something like /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
destination
Builds a .app package in the output directory.
Builds a .app package in the output directory.
app conf
root dest path
path to DisplayName.app
Converts javaHome
to a jdk/Contents/Home path.
Converts javaHome
to a jdk/Contents/Home path.
Parameter javaHome
may be any of the following:
a) a script that returns the directory, like /usr/libexec/java_home
b) a jdk8 dir
c) a jdk8/Contents/Home dir
a valid java home path, or javaHome
Port of Oracle's AppBundlerTask.java.