Chapter 13 Using jagtool and jagant
Sets the value of a J2EE resource reference.
Command line:
resref entity -refname name -value value
Ant build file:
<jag_resref entity="entity" refname="name" value="value" />
Option | Description | Default | Required |
---|---|---|---|
entity | The entity identifier in the form EntityType:EntityName. | - | Yes |
name | The name of a resource reference for the given entity. | - | Yes |
value | The value for the reference. | - | Yes |
This example sets the value of a reference in the component TheAccount in the Customer_Component package. The resource reference jdbc/EstoreDataSource is set to the value PetStoreDB.
jagtool resref Component:Customer_Component/TheAccount -refname jdbc/EstoreDataSource -value PetStoreDB
<jag_resref entity="Component:Customer_Component/TheAccount" refname="jdbc/EstoreDataSource" value="PetStoreDB" />
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |