Name

blgenclient

Synopsis

Creates a client JAR file from an existing ejb-jar file. blgenclient is derived from “Borland Generated Client.” It is designed for use with Borland Application Server v4.5.

Attributes

classpath (1.4, Path, N)

The classpath used by the java task. Only valid when mode is java.

classpathref (1.4, Reference, N)

A reference to a classpath defined elsewhere in the buildfile. Only valid when mode is java.

clientjar (1.4, File, N)

The name of the client JAR to create. If omitted, the task appends client to the filename. For instance, foo.jar becomes fooclient.jar.

debug (1.4, boolean, N)

If true, the task passes the -trace command-line option to the underlying command. Defaults to false.

ejbjar (1.4, File, Y)

The ejb-jar file from which to generate the client JAR.

mode (1.4, String, N)

Specifies how the command is launched. Defaults to java. Legal values are as follows:

fork

Use the exec core task.

java

Use the java core task.[51]

Content

0,1 nested <classpath> elements (1.4)

A path element used in place of the classpath or classpathref attributes.

[51] Even in “java” mode, this task forks a new JVM.

Get Ant: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.