Use the package.bat utility to create a package on Unwired Server with administration client APIs.
Prerequisites: You need JDK1.6.0_10 or higher to use this utility. Also ensure that you have set JAVA_HOME environment variable to the installation location of this JDK version. Otherwise, you must use a text editor to modify the existing JDK path in the batch file itself.
Syntax
package.bat [packageName host port
loginid password]
Parameters
- packageName
-
Defines the name of the package.
Note: The name of the package cannot contain spaces.
- host
-
Sets the host name for the Unwired Server. The default value is localhost.
- port
-
Sets the port used for the Unwired Server. The default value is 4040.
- loginid
-
Sets the administrator login ID used to authenticate you with the server before the package is created. The default value is supAdmin.
- password
-
Sets the administrator password used to authenticate you with the server before the package is created. The default value is s3pAdmin.
Examples
- Basic Example
-
The following command runs the batch file and set default values for all command line options for a package name of test-Package:
package test-Package sup-test.sybase.com 4040 supAdmin s3pAdmin