|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CompilerTranslator
This is the interface to implement in order to add a new compiler backend to this plugin
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 - //TODO ???
org.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 messages
log - the log to setvoid setFailOnError(boolean failOnError)
failOnError - the failOnError to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||