org.apache.tools.ant.taskdefs.optional.ejb
public class Ejbc extends MatchingTask
| Field Summary | |
|---|---|
| boolean | keepgenerated Whether to keep the generated files |
| Method Summary | |
|---|---|
| void | execute()
Do the work.
|
| boolean | getKeepgenerated()
get the keep generated attribute. |
| void | setClasspath(String s)
Set the classpath to be used for this compilation. |
| void | setDescriptors(String dirName)
Set the directory from where the serialized deployment descriptors are
to be read.
|
| void | setDest(String dirName)
Set the directory into which the support classes, RMI stubs, etc are to be written.
|
| void | setKeepgenerated(String newKeepgenerated)
If true, ejbc will keep the
intermediate Java files used to build the class files.
|
| void | setManifest(String manifestFilename)
Set the name of the generated manifest file.
|
| void | setSrc(String dirName)
Set the directory containing the source code for the home interface, remote interface
and public key class definitions.
|
Throws: BuildException if someting goes wrong with the build
Returns: the attribute.
Parameters: s the classpath (as a string) to use.
Parameters: dirName the name of the directory containing the serialised deployment descriptors.
Parameters: dirName the name of the directory into which code is generated
Parameters: newKeepgenerated a boolean as a string.
Parameters: manifestFilename the name of the manifest file to be generated.
Parameters: dirName the directory containg the source tree for the EJB's interface classes.