Creating a Package Definition

Define a development package to simplify redeployment, and enable deployment to multiple servers.

A development package defines a list of mobile business objects, their dependencies, and the deployment method.

  1. Select a project, right-click, and select Add New Item.
  2. In the Add New Item dialog, select Package Definition.
  3. Enter a file name for the package definition. The file extension must be .pkgd.
  4. Click Add The package definition is created, and its configuration tabs display.
  5. On the General tab:
    • Enter a Description for the package definition.
    • The Package details identify the name and version of the package to be deployed to the Unwired Server. Accept the default values or change them by selecting Modify the project's deployment properties.
    • Choose whether to update or replace the server package by selecting the Deployment mode:
    Deployment mode Description
    Verify Does not deploy the package, but reports what, if any, errors would occur if you were to deploy the package using Update mode.
    No Overwrite Deploy only if the mobile business object does not exist in the server package.
    Update Replace a mobile business object in the server package with an object of the same name.
    Replace Replace the server package with this development package.
  6. On the Mobile Business Object Selection tab:
    • Select the mobile business objects to include in the package.
    • If any of the selected mobile business objects have dependencies, the object names display in the Dependencies field.
  7. Select File > Save All to save your changes.
Related tasks
Modifying a Package Definition
Deleting a Package Definition


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com