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

Slot Details

doEtcFiles

static Void doEtcFiles(File homeDir, |Uri,File| onFile)

doReflect

static Void doReflect(Str podName, File podFile, |Uri,File->Bool| onFile)

doReflectPodManifest

static Void doReflectPodManifest(Str[] podNames, |Uri,File| onFile)

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