org.castor.xmlctf.compiler

Interface Compiler

Known Implementing Classes:
AntJavaCompiler, SunJavaCompiler

public interface Compiler

A Compilation interface used by the Castor Testing Framework.

Method Summary

void
compileDirectory()
Compiles the content of a directory tree.
void
setJavaSourceVersion(float javaSourceVersion)
Configures the compiler to provide the -source argument for compilation.

Method Details

compileDirectory

public void compileDirectory()
            throws CompilationException
Compiles the content of a directory tree.
Throws:
CompilationException - If the build fails.

setJavaSourceVersion

public void setJavaSourceVersion(float javaSourceVersion)
Configures the compiler to provide the -source argument for compilation. The Java source version is a float that is expected to be a value such as 1.3, 1.4, or1.5. However, integral values higher than 4 will be converted to the proper value so for example you can provide 5 as the Java source version.
Parameters:
javaSourceVersion - The Java source version.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com