org.castor.xmlctf.compiler
Class AntJavaCompiler
java.lang.Object
org.castor.xmlctf.compiler.AntJavaCompiler
- Compiler
public class AntJavaCompiler
extends java.lang.Object
Compiles a directory tree, recursively. This class is built around the use of
the ANT JAVAC task.
AntJavaCompiler(File baseDirectory) - Creates a compiler for a given directory.
|
AntJavaCompiler
public AntJavaCompiler(File baseDirectory)
Creates a compiler for a given directory.
baseDirectory
- The directory that holds the files to be compiled.
compileDirectory
public void compileDirectory()
Compiles the content of a directory. Throws a CompilationException
if the build fails.
- compileDirectory in interface Compiler
setJavaSourceVersion
public void setJavaSourceVersion(float javaSourceVersion)
Sets the Java source version the current test will be using.
- setJavaSourceVersion in interface Compiler
javaSourceVersion
- The Java Source version to be used.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com