BorlandDeployTool

Description

The BorlandDeployTool is a vendor specifc nested element for the Ejbjar optionaltask.

BorlandDeploymentTool is dedicated to the Borland Application Server 4.5. It generates and compiles the stubs and skeletons for all ejb described into the Deployement Descriptor, builds the jar file including the support files and verify whether the produced jar is valid or not.

Borland element

Attribute Description Required
destdir The base directory into which the generated borland ready jar files are deposited yes
debug If true, turn on the debug mode for each borland tools (java2iiop, iastool ...) default = false no
verify If true, turn on the verification at the end of the jar production (default = false) no
verifyargs extra parameter for verify command no
suffix String value appended to the basename of the deployment descriptor to create the filename of the Borland EJB jar file. No, defaults to '-ejb.jar'.
basdtd Deprecated. Defines the location of the weblogic-ejb-jar DTD which covers the Borland specific deployment descriptors. This should not be necessary if you have borland in your classpath. If you do not, you should use a nested element, described above no
ejbdtd Deprecated. Defines the location of the ejb-jar DTD in the weblogic class hierarchy. This should not be necessary if you have weblogic in your classpath. If you do not, you should use a nested element, described above. no
generateclient If true, turn on the generation of the corresponding ejbjar (default = false) no

Examples

The following build.xml snippit is an example of how to use Borland element into the ejbjar task

    <ejbjar srcdir="${build.classes}"  basejarname="vsmp"  descriptordir="${rsc.dir}/hrmanager">
        <borland destdir="lib" verify="on" generateclient="on">
          <classpath refid="classpath" />
        </borland>      
        <include name="**\ejb-jar.xml"/>
        <support dir="${build.classes}">
          <include name="demo\*.class"/>
          <include name="demo\helper\*.class"/>
         </support>
     </ejbjar>
The borland element will generate into the lib dir an ejb jar file using the deployment descriptor placed into the ${rsc.dir}/hrmanager directory.
The verify phase is turned on and the generate client phase as well. 

 

Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.