2012-01-09 14:00:35 +01:00
|
|
|
package xsbti.compile;
|
|
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import xsbti.Logger;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface to a Java compiler.
|
|
|
|
|
*/
|
|
|
|
|
public interface JavaCompiler
|
|
|
|
|
{
|
|
|
|
|
/** Compiles Java sources using the provided classpath, output directory, and additional options.
|
|
|
|
|
* Output should be sent to the provided logger.*/
|
2012-07-11 10:15:04 +02:00
|
|
|
void compile(File[] sources, File[] classpath, Output output, String[] options, Logger log);
|
2012-01-09 14:00:35 +01:00
|
|
|
}
|