Class IDLCompiler
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.arjuna.orbportability.common.ant.IDLCompiler
- All Implemented Interfaces:
Cloneable
Deprecated.
this class should no longer be relied upon as it can be expected to be removed from distribution in a later release. The code is likely to move into the qa/ module of Narayana.
Ant task to compile IDL across multiple ORB's.
This task uses a definitions file (idl-compiler-definitions.xml) which defines how to call each of the supported IDL compilers.
For each compiler you specify a number of parameters and whether they are required for this IDL compiler. You then
call this ant task and pass it a comma separated list of parameters which it then maps to the IDL compiler specific parameters.
- Author:
- Richard A. Begg
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Deprecated.class
Deprecated.class
Deprecated. -
Field Summary
Modifier and TypeFieldDescriptionprotected String
Deprecated.protected boolean
Deprecated.protected String
Deprecated.protected String
Deprecated.protected org.apache.tools.ant.types.FileSet
Deprecated.protected Hashtable
Deprecated.protected String
Deprecated.protected String
Deprecated.protected String
Deprecated.protected boolean
Deprecated.Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.void
execute()
Deprecated.Called by the project to let the task do its work.protected void
Deprecated.Parse the IDL compiler definitions file.boolean
processIDL
(IDLCompiler.IDLCompilerDetails idlCompiler, String filename, String packageName, String destDir, String mappings) Deprecated.void
setBuildlist
(String buildList) Deprecated.final void
Deprecated.final void
setDestdir
(String destDir) Deprecated.final void
setFilename
(String filename) Deprecated.final void
Deprecated.final void
setPackage
(String packageName) Deprecated.final void
setParameters
(String parameters) Deprecated.final void
setVerbose
(String verbose) Deprecated.protected String
stripDirectory
(String filename) Deprecated.Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
_parameters
Deprecated. -
_orb
Deprecated. -
_idlCompilerDefinitions
Deprecated. -
_filename
Deprecated. -
_destinationDirectory
Deprecated. -
_packageName
Deprecated. -
_buildList
Deprecated. -
_debugOn
protected boolean _debugOnDeprecated. -
_verbose
protected boolean _verboseDeprecated. -
_fileSet
protected org.apache.tools.ant.types.FileSet _fileSetDeprecated.
-
-
Constructor Details
-
IDLCompiler
public IDLCompiler()Deprecated.
-
-
Method Details
-
setDebug
Deprecated. -
setVerbose
Deprecated. -
setDestdir
Deprecated. -
setBuildlist
Deprecated. -
setPackage
Deprecated. -
setParameters
Deprecated. -
setFilename
Deprecated. -
setOrb
Deprecated. -
childrenContainsSubParam
Deprecated. -
parseIDLCompilerDefinitionsFile
protected void parseIDLCompilerDefinitionsFile() throws org.apache.tools.ant.BuildExceptionDeprecated.Parse the IDL compiler definitions file.- Throws:
org.apache.tools.ant.BuildException
-
stripDirectory
Deprecated. -
execute
public void execute() throws org.apache.tools.ant.BuildExceptionDeprecated.Description copied from class:org.apache.tools.ant.Task
Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if something goes wrong with the build.
-
processIDL
public boolean processIDL(IDLCompiler.IDLCompilerDetails idlCompiler, String filename, String packageName, String destDir, String mappings) Deprecated.
-