CompileJava
class CompileJava : JdkTask
Run the Java compiler to produce a directory of Java classfiles.
Construct uninitialized javac task
List of source files or directories to compile
Extra parameters to pass to javac
Class path - list of jars to compile against, rt.jar is automatically included
Output directory
Add all the jars found in lib/java/ext and lib/java/ext/os to the class path
Add all the jar files found in the specified directory to the classpath
Run the javac task
File[] : cp
Class path - list of jars to compile against, rt.jar is automatically included
Void cpAddExtJars()
Add all the jars found in lib/java/ext and lib/java/ext/os to the class path.
Void cpAddJars(File dir)
Add all the jar files found in the specified directory to the classpath.
new make(BuildScript script)
Construct uninitialized javac task
File? : outDir
Output directory
Str[] : params
Extra parameters to pass to javac. Default is to target 1.5 classfiles.
virtual Void run()
Run the javac task
File[] : src
List of source files or directories to compile. If a directory is specified, then it is recursively searched for all ".java" files.