Creates and deploys a Web service collection from a Sybase Web services WAR file.
deploy [-overwrite true | false] [-include directory] [-classpath path] entity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="deploy" > <wst_antTask command="deploy" [overwrite=“true | false”] [include=“directory”] [classpath= “path”] entity =“file” >
Where:
Option |
Description |
---|---|
overwrite |
If set to true, overwrites an existing Web service collection if it has the same collection name. The default is false. |
include |
Specifies the directory that contains any dependent classes. For example: d:\foo This option must be in quotes. |
classpath |
Specifies additional JARs/classes to set in classpath.
|
entity |
The file that you are deploying. entity should be located in the current directory, or provide the full path. |
This example deploys the Web service collection contained in the MyWebServiceCollection.war file:
wstool deploy MyWebServiceCollection.war
Ant build example:
<wst_antTask command="deploy" entity="d:\wstool\test\deploy\collection.war"/>