class build::CompileJava

sys::Obj
  build::Task
    build::JdkTask
      build::CompileJava

Source

Run the Java compiler to produce a directory of Java classfiles.

cp

File[] cp := File[,]

Source

Class path - list of jars to compile against, rt.jar is automatically included

cpAddExtJars

Void cpAddExtJars()

Source

Add all the jars found in lib/java/ext and lib/java/ext/os to the class path.

cpAddJars

Void cpAddJars(File dir)

Source

Add all the jar files found in the specified directory to the classpath.

make

new make(BuildScript script)

Source

Construct uninitialized javac task

outDir

File? outDir

Source

Output directory

params

Str[] params

Source

Extra parameters to pass to javac. Default is to target 1.5 classfiles.

run

virtual override Void run()

Source

Run the javac task

src

File[] src := File[,]

Source

List of source files or directories to compile. If a directory is specified, then it is recursively searched for all ".java" files.