type

JarDist

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

Str? mainMethod

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

mainMethodArg

Bool mainMethodArg

Does the main method accept a Str[] arg

make

new make(BuildScript script)

Construct uninitialized task

outFile

File? outFile

Required output jar file to create

podNames

Str[] podNames := Str[,]

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

run

virtual override Void run()

Run the javac task