|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.castor.xmlctf.compiler.AntJavaCompiler
Compiles a directory tree, recursively. This class is built around the use of the ANT JAVAC task.
| Constructor Summary | |
AntJavaCompiler(java.io.File baseDirectory)
Creates a compiler for a given directory. |
|
| Method Summary | |
void |
compileDirectory()
Compiles the content of a directory. |
void |
setJavaSourceVersion(float javaSourceVersion)
Sets the Java source version the current test will be using. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AntJavaCompiler(java.io.File baseDirectory)
baseDirectory - The directory that holds the files to be compiled.| Method Detail |
public void setJavaSourceVersion(float javaSourceVersion)
setJavaSourceVersion in interface CompilerjavaSourceVersion - The Java Source version to be used.public void compileDirectory()
CompilationException
if the build fails.
compileDirectory in interface Compiler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||