Package org.codehaus.mojo.idlj
Class IDLJMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.idlj.AbstractIDLJMojo
org.codehaus.mojo.idlj.IDLJMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
Process CORBA IDL files in IDLJ.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.mojo.idlj.AbstractIDLJMojo
AbstractIDLJMojo.DependenciesFacade, AbstractIDLJMojo.DependenciesFacadeImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File[]
Additional include directories containing additional *.idl files required for compilation.private File
The directory to output the generated sources to.private File
The source directory containing *.idl files.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionIDLJMojo()
Constructs a standard IDL translation Mojo.IDLJMojo
(AbstractIDLJMojo.DependenciesFacade dependenciesFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCompileSourceRoot
(File directory) Add generated sources in compile source rootprotected File[]
protected File
protected File
protected void
setSourceDirectory
(File dir) Set the source directory.Methods inherited from class org.codehaus.mojo.idlj.AbstractIDLJMojo
execute, getProject, getProjectHelper
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
sourceDirectory
The source directory containing *.idl files. -
includeDirs
Additional include directories containing additional *.idl files required for compilation. -
outputDirectory
The directory to output the generated sources to.
-
-
Constructor Details
-
IDLJMojo
public IDLJMojo()Constructs a standard IDL translation Mojo. -
IDLJMojo
IDLJMojo(AbstractIDLJMojo.DependenciesFacade dependenciesFacade)
-
-
Method Details
-
getSourceDirectory
- Specified by:
getSourceDirectory
in classAbstractIDLJMojo
- Returns:
- the source directory that contains the IDL files
-
getIncludeDirs
- Specified by:
getIncludeDirs
in classAbstractIDLJMojo
- Returns:
- the
List
of the directories to use as include directories for the compilation
-
getOutputDirectory
- Specified by:
getOutputDirectory
in classAbstractIDLJMojo
- Returns:
- the path of the directory that will contains the results of the compilation
-
setSourceDirectory
Set the source directory.- Parameters:
dir
- the path of directory that contains the IDL files
-
addCompileSourceRoot
Add generated sources in compile source root- Specified by:
addCompileSourceRoot
in classAbstractIDLJMojo
- Parameters:
directory
- a directory containing generated java files to be compiled.
-