Package org.castor.xmlctf.compiler
Class AntJavaCompiler
- java.lang.Object
-
- org.castor.xmlctf.compiler.AntJavaCompiler
-
-
Constructor Summary
Constructors Constructor Description AntJavaCompiler(java.io.File baseDirectory)Creates a compiler for a given directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompileDirectory()Compiles the content of a directory.voidsetJavaSourceVersion(float javaSourceVersion)Sets the Java source version the current test will be using.
-
-
-
Method Detail
-
setJavaSourceVersion
public void setJavaSourceVersion(float javaSourceVersion)
Sets the Java source version the current test will be using.- Specified by:
setJavaSourceVersionin interfaceCompiler- Parameters:
javaSourceVersion- The Java Source version to be used.
-
compileDirectory
public void compileDirectory()
Compiles the content of a directory. Throws aCompilationExceptionif the build fails.- Specified by:
compileDirectoryin interfaceCompiler
-
-