type

JarDist

src class JarDist : JdkTask

JarDist compiles a set of Fantom pods into a single Java JAR file.

constructors

make

Construct uninitialized task

fields

mainMethod

Qualified name of main method to run for JAR.

mainMethodArg

Does the main method accept a Str[] arg

outFile

Required output jar file to create

podNames

List of pods to compile into JAR; sys is always implied

methods

run

Run the javac task

Slot Details

mainMethod

src Str? mainMethod

Qualified name of main method to run for JAR. This must be a static void method with no arguments.

mainMethodArg

src Bool mainMethodArg

Does the main method accept a Str[] arg

make

src new make(BuildScript script)

Construct uninitialized task

outFile

src File? outFile

Required output jar file to create

podNames

src Str[] podNames := Str[,]

List of pods to compile into JAR; sys is always implied

run

src virtual override Void run()

Run the javac task