|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.MatchingTask org.apache.tools.ant.taskdefs.optional.ejb.Ejbc
public class Ejbc
Builds EJB support classes using WebLogic's ejbc tool from a directory containing a set of deployment descriptors.
Field Summary | |
---|---|
boolean |
keepgenerated
Whether to keep the generated files |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
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 | |
---|---|
Ejbc()
|
Method Summary | |
---|---|
void |
execute()
Do the work. |
boolean |
getKeepgenerated()
get the keep generated attribute. |
void |
setClasspath(java.lang.String s)
Set the classpath to be used for this compilation. |
void |
setDescriptors(java.lang.String dirName)
Set the directory from where the serialized deployment descriptors are to be read. |
void |
setDest(java.lang.String dirName)
Set the directory into which the support classes, RMI stubs, etc are to be written. |
void |
setKeepgenerated(java.lang.String newKeepgenerated)
If true, ejbc will keep the intermediate Java files used to build the class files. |
void |
setManifest(java.lang.String manifestFilename)
Set the name of the generated manifest file. |
void |
setSrc(java.lang.String dirName)
Set the directory containing the source code for the home interface, remote interface and public key class definitions. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean keepgenerated
Constructor Detail |
---|
public Ejbc()
Method Detail |
---|
public void execute() throws BuildException
execute
in class Task
BuildException
- if someting goes wrong with the buildpublic boolean getKeepgenerated()
public void setDescriptors(java.lang.String dirName)
dirName
- the name of the directory containing the serialised deployment descriptors.public void setDest(java.lang.String dirName)
dirName
- the name of the directory into which code is generatedpublic void setKeepgenerated(java.lang.String newKeepgenerated)
newKeepgenerated
- a boolean as a string.public void setManifest(java.lang.String manifestFilename)
manifestFilename
- the name of the manifest file to be generated.public void setClasspath(java.lang.String s)
s
- the classpath (as a string) to use.public void setSrc(java.lang.String dirName)
dirName
- the directory containg the source tree for the EJB's interface classes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |