# BorlandGenerateClient Task

## BorlandGenerateClient

### Description

The BorlandGenerateClient is a task dedicated to Borland Application Server v 4.5. It offers to generate the client jar file corresponding to an ejb jar file.

### Parameters

Attribute | Description | Required
ejbjar | ejb jar file | yes
debug | If true, turn on the debug mode for each borland tools (java2iiop, iastool ...) default = false | no
clientjar | client jar file name. If missing the client jar file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar => hellobean-ejbclient.jar | no
mode | choose the command launching mode. Two values: java or fork. default = java. Possibility to specify a classpath. | no

### Examples

The following build.xml snippet is an example of how to use Borland element into the ejbjar task using the java mode.

    <blgenclient ejbjar="lib/secutest-ejb.jar" clientjar="lib/client.jar" debug="true" mode="java">
        <classpath>
            <pathelement locacation="mymodule.jar"/>
        </classpath>
    </blgenclient>

Copyright © 2001 Apache Software Foundation. All rights Reserved.