Chapter 13 Using jagtool and jagant


enventry

Description

Sets the value of a J2EE environment entry.

Syntax

Command line:

enventry entity -entryname name -value value

Ant build file:

<jag_enventry entity="entity" entryname="name" value="value" />

Option Description Default Required
entity The entity identifier in the form EntityType:EntityName. - Yes
entryname The name of an environment entry for the given entity. - Yes
value The value for the environment entry. - Yes

Examples

This example sets the value of an environment entry in the component TheOrder in the package Customer_Component. The value of environment entry ejb/order/OrderDAOClass is set to com.sun.j2ee.blueprints.customer.order.dao.OrderDAOSybase.

 


Copyright © 2002 Sybase, Inc. All rights reserved.