class

JarDist

class JarDist : JdkTask

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

constructors make

Construct uninitialized task

fields outFile

Required output jar file to create

podNames

List of pods to compile into JAR

mainMethodArg

Does the main method accept a Str[] arg

mainMethod

Qualified name of main method to run for JAR

methods doReflectPodManifest

doReflect

doEtcFiles

run

Run the javac task

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

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

run virtual Void run()

Run the javac task

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST