Fantom

 

abstract class build::BuildJava

sys::Obj
  build::BuildScript
    build::BuildJava

Source

BuildJava is the base class for build scripts used to manage building Java source code into a Java jar file.

clean

@Target { help=... }
Void clean()

Source

Delete all intermediate and target files

compile

@Target { help="Compile Java source into jar" }
Void compile()

Source

Compile Java source into jar

cp

Uri[]? cp

Source

List of files to include in compiler classpath. The core Java rt.jar is always implied and should not be specified. These URIs are relative to the script dir.

dumpEnv

virtual override Void dumpEnv()

Source

full

@Target { help="Run clean, compile" }
Void full()

Source

Run clean, compile

jar

Uri? jar

Source

Required target jar file to build

mainClass

Str? mainClass

Source

Main class name to add to manifest if not null.

packages

Str[]? packages

Source

Required list of dotted package names to compile. Each of these packages must have a corresponding source directory relative to the script directory.