Package org.codehaus.mojo.idlj
Class BuiltInTranslator
java.lang.Object
org.codehaus.mojo.idlj.AbstractTranslator
org.codehaus.mojo.idlj.IdljTranslator
org.codehaus.mojo.idlj.BuiltInTranslator
- All Implemented Interfaces:
CompilerTranslator
This class implement the
CompilerTranslator
for the Sun idlj IDL compiler- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.mojo.idlj.AbstractTranslator
AbstractTranslator.ClassLoaderFacade
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.idlj.IdljTranslator
invokeCompiler, invokeCompiler, runCompiler
Methods inherited from class org.codehaus.mojo.idlj.AbstractTranslator
getClassLoaderFacade, getLog, invokeCompilerInProcess, isDebug, isFailOnError, isFork, setClassLoaderFacade, setDebug, setFailOnError, setLog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.codehaus.mojo.idlj.CompilerTranslator
setDebug, setFailOnError, setLog
-
Field Details
-
AIX_IDLJ_COMPILER_NAME
- See Also:
-
ORACLE_IDLJ_COMPILER_NAME
- See Also:
-
USE_GLASSFISH_IDL
- See Also:
-
IDL_COMPILER_NOT_AVAILABLE
- See Also:
-
-
Constructor Details
-
BuiltInTranslator
BuiltInTranslator()Default constructor
-
-
Method Details
-
invokeCompiler
- Specified by:
invokeCompiler
in classIdljTranslator
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getCompilerClass
- Returns:
- the
Class
that implements the idlj compiler - Throws:
org.apache.maven.plugin.MojoExecutionException
- if the search for the class fails
-
getSecondTryMessage
-
builtInCompilerHidden
-
compilerNotFound
-
isJigsawPresent
private static boolean isJigsawPresent() -
addToolsJarToPath
-
getIDLCompilerClassName
- Returns:
- the name of the class that implements the compiler
-
isAix
private static boolean isAix()
-