|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.MatchingTask | +--org.apache.tools.ant.taskdefs.Rmic
Task to compile RMI stubs and skeletons. This task can take the following arguments:
If classname is specified then only that classname will be compiled. If it is absent, then base is traversed for classes according to patterns.
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, project, target, taskName, taskType, wrapper |
Constructor Summary | |
Rmic()
|
Method Summary | |
Path |
createClasspath()
Creates a nested classpath element. |
void |
execute()
Called by the project to let the task do it's work. |
protected void |
scanDir(java.io.File baseDir,
java.lang.String[] files)
Scans the directory looking for class files to be compiled. |
void |
setBase(java.io.File base)
|
void |
setClassname(java.lang.String classname)
|
void |
setClasspath(Path classpath)
Set the classpath to be used for this compilation. |
void |
setClasspathRef(Reference r)
Adds a reference to a CLASSPATH defined elsewhere. |
void |
setDebug(boolean debug)
|
void |
setFiltering(boolean filter)
|
void |
setIdl(boolean idl)
Indicates that IDL output should be generated. |
void |
setIdlopts(java.lang.String idlopts)
pass additional arguments for idl compile |
void |
setIiop(boolean iiop)
Indicates that IIOP compatible stubs should be generated. |
void |
setIiopopts(java.lang.String iiopopts)
pass additional arguments for iiop |
void |
setSourceBase(java.io.File sourceBase)
|
void |
setStubVersion(java.lang.String stubVersion)
|
void |
setVerify(boolean verify)
Indicates that the classes found by the directory match should be checked to see if they implement java.rmi.Remote. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
createExclude, createInclude, createPatternSet, getDirectoryScanner, setDefaultexcludes, setExcludes, setExcludesfile, setIncludes, setIncludesfile, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Rmic()
Method Detail |
public void setBase(java.io.File base)
public void setClassname(java.lang.String classname)
public void setSourceBase(java.io.File sourceBase)
public void setStubVersion(java.lang.String stubVersion)
public void setFiltering(boolean filter)
public void setDebug(boolean debug)
public void setClasspath(Path classpath)
public Path createClasspath()
public void setClasspathRef(Reference r)
public void setVerify(boolean verify)
public void setIiop(boolean iiop)
public void setIiopopts(java.lang.String iiopopts)
public void setIdl(boolean idl)
public void setIdlopts(java.lang.String idlopts)
public void execute() throws BuildException
Task
execute
in class Task
org.apache.tools.ant.Task
BuildException
- if someting goes wrong with the buildprotected void scanDir(java.io.File baseDir, java.lang.String[] files)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |