Class BorlandDeploymentTool

java.lang.Object
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
org.apache.tools.ant.taskdefs.optional.ejb.BorlandDeploymentTool
All Implemented Interfaces:
ExecuteStreamHandler, EJBDeploymentTool

public class BorlandDeploymentTool extends GenericDeploymentTool implements ExecuteStreamHandler
BorlandDeploymentTool is dedicated to the Borland Application Server 4.5 and 4.5.1 This task generates and compiles the stubs and skeletons for all ejb described into the Deployment Descriptor, builds the jar file including the support files and verify whether the produced jar is valid or not. The supported options are:
  • debug (boolean) : turn on the debug mode for generation of stubs and skeletons (default:false)
  • verify (boolean) : turn on the verification at the end of the jar production (default:true)
  • verifyargs (String) : add optional argument to verify command (see vbj com.inprise.ejb.util.Verify)
  • basdtd (String) : location of the BAS DTD
  • generateclient (boolean) : turn on the client jar file generation
  • version (int) : tell what is the Borland appserver version 4 or 5

      <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>