org.codehaus.mojo.idlj
Class TestIDLJMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.idlj.AbstractIDLJMojo
org.codehaus.mojo.idlj.TestIDLJMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class TestIDLJMojo
- extends AbstractIDLJMojo
Process CORBA IDL test files in IDLJ.
- Version:
- $Id: TestIDLJMojo.java 9344 2009-04-03 22:25:02Z aheritier $
- Author:
- maguro
- Is bound to the specified phase of the standard build lifecycle:
- generate-test-sources
- Is defined by the goal name:
- generate-test
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestIDLJMojo
public TestIDLJMojo()
getSourceDirectory
protected File getSourceDirectory()
- Specified by:
getSourceDirectory
in class AbstractIDLJMojo
- Returns:
- the directory that contains the source
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectory
in class AbstractIDLJMojo
- Returns:
- the directory that will contain the generated code
getIncludeDirs
protected File[] getIncludeDirs()
- Specified by:
getIncludeDirs
in class AbstractIDLJMojo
- Returns:
- a
List
of directory to use as include
addCompileSourceRoot
protected void addCompileSourceRoot()
- Adds the generated source path to the test source directories list so that maven can find the new sources to
compile tests.
- Specified by:
addCompileSourceRoot
in class AbstractIDLJMojo
Copyright © 2005-2012 Codehaus. All Rights Reserved.