Application Extension Platform 1.x -- Packaging an Application using the SDK

From DocWiki

Revision as of 20:30, 2 December 2010 by Jwithing (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Packaging an Application Using the SDK

After your build environment is set up, package the application by performing the following steps.

Running the Packaging Tool

To run the packaging tool in interactive mode, enter the following command from the SDK tools directory; for example, /opt/axp-sdk.1.6.1/tools :

[root@centos tools]# ./ 

Refer to the Packaging Tool Parameters at: Application Extension Platform 1.x -- AXP Packaging Tool Parameters

Running the Packaging Tool:Example

Project Directory: /opt/output 

Development Authorization File: /opt/axp-sdk.1.6.1/keys/auth_bundle.sig

Private Key for Signing Operations: /opt/axp-sdk.1.6.1/keys/private.key 

Application Name: tcpdump

Version: 1.0 

Description: This is my first Cisco AXP package 

Unique Identifier(optional): yourUUID 

Source Directory: /opt/tcpdump 

Protect List File: 

Dependency SSID's (optional):

Disk Limit : 1000M 

Memory Limit: 256M 

CPU Limit : 3000

post-install script path: bin/

Note: The Source Directory entered above is "/opt/tcpdump" which indicates the relative path to the source directory. The Unique Identifier entered above is "yourUUID". You can choose what ID to use, or leave it blank to let the packaging tool specify an ID.

A Cisco AXP package is created for application tcpdump.

The two files for the package are in directory project-directory/pkg

  • package file: suffixed by .pkg
  • installer payload file: suffixed by .prt1

For example, if the project directory is specified as /opt/output/pkg, to view the various artifacts that the packaging tool has created in the directory: /opt/output , enter ls For example, the following two files are displayed on the screen:


Note: Later, the Cisco AXP installer in the Cisco AXP service module, expects these two package files to be in the same FTP directory.

Copy Package Files to FTP Directory

Copy tcptrace.1.6.pkg and tcptrace.1.6.prt1 to the public FTP directory of the machine you are using for your Cisco AXP package.

Return to: Application Extension Platform 1.x -- Packaging Applications on Cisco AXP

Return to start of Getting Started Guide: Cisco AXP Getting Started Guide

Rating: 0.0/5 (0 votes cast)

Personal tools