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 public class IDLCompiler extends org.apache.tools.ant.Task
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
  • Field Details

    • _parameters

      protected String _parameters
      Deprecated.
    • _orb

      protected String _orb
      Deprecated.
    • _idlCompilerDefinitions

      protected Hashtable _idlCompilerDefinitions
      Deprecated.
    • _filename

      protected String _filename
      Deprecated.
    • _destinationDirectory

      protected String _destinationDirectory
      Deprecated.
    • _packageName

      protected String _packageName
      Deprecated.
    • _buildList

      protected String _buildList
      Deprecated.
    • _debugOn

      protected boolean _debugOn
      Deprecated.
    • _verbose

      protected boolean _verbose
      Deprecated.
    • _fileSet

      protected org.apache.tools.ant.types.FileSet _fileSet
      Deprecated.
  • Constructor Details

    • IDLCompiler

      public IDLCompiler()
      Deprecated.
  • Method Details

    • setDebug

      public final void setDebug(String debug)
      Deprecated.
    • setVerbose

      public final void setVerbose(String verbose)
      Deprecated.
    • setDestdir

      public final void setDestdir(String destDir)
      Deprecated.
    • setBuildlist

      public void setBuildlist(String buildList)
      Deprecated.
    • setPackage

      public final void setPackage(String packageName)
      Deprecated.
    • setParameters

      public final void setParameters(String parameters)
      Deprecated.
    • setFilename

      public final void setFilename(String filename)
      Deprecated.
    • setOrb

      public final void setOrb(String orb)
      Deprecated.
    • childrenContainsSubParam

      protected boolean childrenContainsSubParam(Node n)
      Deprecated.
    • parseIDLCompilerDefinitionsFile

      protected void parseIDLCompilerDefinitionsFile() throws org.apache.tools.ant.BuildException
      Deprecated.
      Parse the IDL compiler definitions file.
      Throws:
      org.apache.tools.ant.BuildException
    • stripDirectory

      protected String stripDirectory(String filename)
      Deprecated.
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Deprecated.
      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 class org.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.