This is the idl compile task for using the idl compiler
from the ANT build tool.
addDefine
public void addDefine(org.apache.tools.ant.types.Environment.Variable def)
addUndefine
public void addUndefine(org.apache.tools.ant.types.Environment.Variable def)
execute
public void execute()
throws BuildException
The execute() method of the task.
getFileList
public File[] getFileList()
resetFileLists
protected void resetFileLists()
Clear the list of files to be compiled and copied..
scanFiles
protected void scanFiles(files[] )
throws BuildException
Scans the directory looking for source files to be compiled.
The results are returned in the class variable compileList
setAll
public void setAll(boolean flag)
Set the flag to generate all files.
flag
- the flag
setAmi_callback
public void setAmi_callback(boolean flag)
Sets the flag to generate AMI callbacks.
setDebuglevel
public void setDebuglevel(int level)
Set the debug level.
level
- the debug level
setDestdir
public void setDestdir(File dir)
Set the destination directory.
dir
- the destination directory
setForceOverwrite
public void setForceOverwrite(boolean flag)
Sets the flag to overwrite existing files.
setGenerateir
public void setGenerateir(boolean flag)
Set the flag to generate the interface repository files.
flag
- the flag
setIncludepath
public void setIncludepath(Path path)
Set the include path for the idl compiler.
path
- the include path
setNofinal
public void setNofinal(boolean flag)
Setter for 'nofinal' property that indicates whether generated code should have
a final class definition.
setNoskel
public void setNoskel(boolean flag)
Set the flag to leave out skeleton generation.
flag
- the flag
setNostub
public void setNostub(boolean flag)
Set the flag to leave out stub generation.
flag
- the flag
setOmgprefix
public void setOmgprefix(boolean flag)
Set the flag to use the omg package prefix
flag
- the flag
setParseonly
public void setParseonly(boolean flag)
Set the flag to parse the idl only.
flag
- the flag
setSloppyforward
public void setSloppyforward(boolean flag)
Set the flag to use sloppy forwards.
flag
- the flag
setSloppynames
public void setSloppynames(boolean flag)
Set the flag to use sloppy names.
flag
- the flag
setSrcdir
public void setSrcdir(File dir)
Set the source directory.
dir
- the source directory
setUncheckedNarrow
public void setUncheckedNarrow(boolean flag)
Sets the flag to generated unchecked narrow() calls in stubs