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