org.codehaus.mojo.idlj
Class TestIDLJMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.idlj.AbstractIDLJMojo
          extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestIDLJMojo()
           
 
Method Summary
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.
protected  File[] getIncludeDirs()
           
protected  File getOutputDirectory()
           
protected  File getSourceDirectory()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestIDLJMojo

public TestIDLJMojo()
Method Detail

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.