JarDist
class JarDist : JdkTask
JarDist compiles a set of Fantom pods into a single Java JAR file.
Construct uninitialized task
Required output jar file to create
List of pods to compile into JAR
Does the main method accept a Str[] arg
Qualified name of main method to run for JAR
Run the javac task
static Void doEtcFiles(File homeDir, |Uri,File| onFile)
static Void doReflect(Str podName, File podFile, |Uri,File->Bool| onFile)
static Void doReflectPodManifest(Str[] podNames, |Uri,File| onFile)
Str? : mainMethod
Qualified name of main method to run for JAR. This must be a static void method with no arguments.
Bool : mainMethodArg
Does the main method accept a Str[] arg
new make(BuildScript script)
Construct uninitialized task
File? : outFile
Required output jar file to create
Str[] : podNames
List of pods to compile into JAR; sys is always implied
virtual Void run()
Run the javac task