public interface CompilerTranslator
Modifier and Type | Method and Description |
---|---|
void |
invokeCompiler(String sourceDirectory,
File[] includeDirs,
String targetDirectory,
String idlFile,
Source source)
This method it's used to invoke the compiler
|
void |
setDebug(boolean debug)
Enable/disable debug messages.
|
void |
setFailOnError(boolean failOnError)
Set to true to fail the build if an error occur while compiling the IDL.
|
void |
setLog(org.apache.maven.plugin.logging.Log log)
The
Log that will used for the messages |
void invokeCompiler(String sourceDirectory, File[] includeDirs, String targetDirectory, String idlFile, Source source) throws org.apache.maven.plugin.MojoExecutionException
sourceDirectory
- the path to the sourcesincludeDirs
- the File[]
of directories where to find the includestargetDirectory
- the path to the destination of the compilationidlFile
- the path to the file to compilesource
- the source set on which to run the compilerorg.apache.maven.plugin.MojoExecutionException
- the exeception is thrown whenever the compilation fails or crashesvoid setDebug(boolean debug)
debug
- the debug to setvoid setLog(org.apache.maven.plugin.logging.Log log)
Log
that will used for the messageslog
- the log to setvoid setFailOnError(boolean failOnError)
failOnError
- the failOnError to setCopyright © 2005–2017 MojoHaus. All rights reserved.