list  restart

Chapter 8: Using wstool, wstkeytool, wstant, and wstkeytoolant

refresh

Description

Refreshes a server or Web service collection, depending on the entity. Also refreshes the child properties of the specified entity. For example, if you refresh a server, all the server properties that belong to the server are refreshed.

Syntax

Command line:

refresh 
entity

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="refresh" > <wst_antTask command="refresh"
entity=”entity” />

Where:

Option

Description

entity

Can be one of:

  • server:ServerName – identifies the server you are refreshing.

  • collection:WebServiceCollectionName – identifies the Web service collection you are refreshing.

Examples

Example 1

This command refreshes the EAServer named “Jaguar:”

wstool refresh server:Jaguar

Ant build example:

<wst_antTask command="refresh" entity="server:Jaguar"/>




Copyright © 2005. Sybase Inc. All rights reserved. restart