org.apache.tools.ant.taskdefs.optional.ejb
public class BorlandDeploymentTool extends GenericDeploymentTool implements ExecuteStreamHandler
<ejbjar srcdir="${build.classes}"
basejarname="vsmp"
descriptordir="${rsc.dir}/hrmanager">
<borland destdir="tstlib">
<classpath refid="classpath" />
</borland>
<include name="**\ejb-jar.xml"/>
<support dir="${build.classes}">
<include name="demo\smp\*.class"/>
<include name="demo\helper\*.class"/>
</support>
</ejbjar>
| Field Summary | |
|---|---|
| protected static String | BAS_DD |
| protected static String | BES_DD |
| protected static String | DEFAULT_BAS45_EJB11_DTD_LOCATION |
| protected static String | DEFAULT_BAS_DTD_LOCATION |
| protected static String | JAVA2IIOP Java2iiop executable * |
| static String | PUBLICID_BORLAND_EJB |
| protected static String | VERIFY Verify class |
| Method Summary | |
|---|---|
| protected void | addVendorFiles(Hashtable ejbFiles, String ddPrefix)
Add any vendor specific files which should be included in the
EJB Jar. |
| protected DescriptorHandler | getBorlandDescriptorHandler(File srcDir) |
| void | setBASdtd(String inString)
Setter used to store the location of the borland DTD. |
| void | setDebug(boolean debug)
set the debug mode for java2iiop (default false)
|
| void | setGenerateclient(boolean b)
setter used to store whether the task will include the generate client task.
(see : BorlandGenerateClient task) |
| void | setJava2iiopParams(String params)
If filled, the params are added to the java2iiop command.
(ex: -no_warn_missing_define) |
| void | setProcessErrorStream(InputStream is) |
| void | setProcessInputStream(OutputStream param1) |
| void | setProcessOutputStream(InputStream is) |
| void | setSuffix(String inString)
Setter used to store the suffix for the generated borland jar file. |
| void | setVerify(boolean verify)
set the verify mode for the produced jar (default true)
|
| void | setVerifyArgs(String args)
sets some additional args to send to verify command |
| void | setVersion(int version)
setter used to store the borland appserver version [4 or 5] |
| void | start() |
| void | stop() |
| protected void | writeJar(String baseName, File jarFile, Hashtable files, String publicId)
Method used to encapsulate the writing of the JAR file. |
Parameters: inString the string to use as the DTD location.
Parameters: params additional params for java2iiop
Parameters: is
Throws: java.io.IOException
Parameters: inString the string to use as the suffix.
Parameters: args additional command line parameters
Parameters: version app server version 4 or 5