abstract class build::BuildJava
sys::Obj build::BuildScript build::BuildJava
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()Delete all intermediate and target files
- compile
-
@Target { help="Compile Java source into jar" }
Void compile()Compile Java source into jar
- cp
-
Uri[]? cp
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()
- full
-
@Target { help="Run clean, compile" }
Void full()Run clean, compile
- jar
-
Uri? jar
Required target jar file to build
- mainClass
-
Str? mainClass
Main class name to add to manifest if not null.
- packages
-
Str[]? packages
Required list of dotted package names to compile. Each of these packages must have a corresponding source directory relative to the script directory.