org.codehaus.mojo.visibroker
Class AbstractIDL2XXXMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.visibroker.AbstractVisiBrokerMojo
          extended by org.codehaus.mojo.visibroker.AbstractIDL2XXXMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
IDL2CPPMojo, IDL2JavaMojo

public abstract class AbstractIDL2XXXMojo
extends AbstractVisiBrokerMojo

Author:
dtran

Field Summary
protected  File[] includePaths
          List of include directories relative to project basedir.
protected  File[] sources
          A list of IDL files relative to project's basedir to generate Java files
 
Fields inherited from class org.codehaus.mojo.visibroker.AbstractVisiBrokerMojo
options, outputDirectory, project, timestampDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractIDL2XXXMojo()
           
 
Method Summary
 void execute()
           
protected  boolean isIDLSourceStaled(File idlFile, File timeStampFile)
           
protected  void setupCommandLineIncludePaths(org.codehaus.plexus.util.cli.Commandline cl)
           
protected static void setupCommandLineVisiBrokerSystemProperties(org.codehaus.plexus.util.cli.Commandline cl)
           
protected abstract  void setupVisiBrokerToolSpecificArgs(org.codehaus.plexus.util.cli.Commandline cl)
           
 
Methods inherited from class org.codehaus.mojo.visibroker.AbstractVisiBrokerMojo
addCommandLineClassPath, executeCommandline, getTimeStampFile, setupCommandLineUserOptions
 
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
 

Field Detail

sources

protected File[] sources
A list of IDL files relative to project's basedir to generate Java files


includePaths

protected File[] includePaths
List of include directories relative to project basedir. This is -I's include path arugments

Constructor Detail

AbstractIDL2XXXMojo

public AbstractIDL2XXXMojo()
Method Detail

setupVisiBrokerToolSpecificArgs

protected abstract void setupVisiBrokerToolSpecificArgs(org.codehaus.plexus.util.cli.Commandline cl)

setupCommandLineVisiBrokerSystemProperties

protected static void setupCommandLineVisiBrokerSystemProperties(org.codehaus.plexus.util.cli.Commandline cl)

setupCommandLineIncludePaths

protected void setupCommandLineIncludePaths(org.codehaus.plexus.util.cli.Commandline cl)

isIDLSourceStaled

protected boolean isIDLSourceStaled(File idlFile,
                                    File timeStampFile)
                             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2006-2011 Codehaus. All Rights Reserved.