Class 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$
    • Field Detail

      • sourceDirectory

        private java.io.File sourceDirectory
        The source directory containing *.idl files.
      • includeDirs

        private java.io.File[] includeDirs
        Additional include directories containing additional *.idl files required for compilation.
      • outputDirectory

        private java.io.File outputDirectory
        The directory to output the generated sources to.
    • Constructor Detail

      • TestIDLJMojo

        public TestIDLJMojo()
    • Method Detail

      • getSourceDirectory

        protected java.io.File getSourceDirectory()
        Specified by:
        getSourceDirectory in class AbstractIDLJMojo
        Returns:
        the directory that contains the source
      • getOutputDirectory

        protected java.io.File getOutputDirectory()
        Specified by:
        getOutputDirectory in class AbstractIDLJMojo
        Returns:
        the directory that will contain the generated code
      • getIncludeDirs

        protected java.io.File[] getIncludeDirs()
        Specified by:
        getIncludeDirs in class AbstractIDLJMojo
        Returns:
        a List of directory to use as include
      • addCompileSourceRoot

        protected void addCompileSourceRoot​(java.io.File directory)
        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
        Parameters:
        directory - the directory from which compilation should occur