Command line syntax will be following:
PackingListBuilder -<options> hxp_file app_file1 app_file2 ...
hxp_file is a name of HXP file to operate with.
app_file1, app_file2… is a space-separated list of files to add to hxp.
options are:
Short form | Long form | Description |
---|---|---|
-t |
--title |
This is the Application Title. Also this is the name associated to the application in the Shell. |
-v |
--version |
This is the application version number. |
-c |
--company |
Company name. This attribute is mandatory. |
-d |
--destination |
Destination directory attribute. |
-m |
mode |
Main attribute. specified as a string, not as the associated ordinal value. :[ “Desktop Application” | “No Desktop Application” | “Auto-launch Desktop Application” | “Auto-launch Application” | “System Application”] |
-o |
--config |
Configuration file name.(“Hypercom.CFG” by default) |
-a |
--main |
Main application file name. It is a filename without path. (For example “main.app”) |
-i |
--icon |
Icon file name. It is a filename without a path. |
-s |
--silent |
Silent mode ( no warning messages will appear). |
-l |
--log <filename> |
Log errors to a specified file. |
-u |
--update |
Update an HXP file. This key is used be developers to update an HXP file. |
-x |
--template |
Use XML template. XML template is just an XML document describing HXP file. In fact it is PackingLst.XML. To generate XML template, user should user “Export XML” menu item under “File” menu. |
-n |
--newfile |
Create new file. This attribute is needed when PLB processes an XML template file. By default PLB will update specified HXP file and if an HXP file specified in a command line is absent, PLB will consider it an error. |
-g |
--nogui |
Creates or updates a file without starting GUI. May be used only with –n or –u switches only. |
-h |
--help |
Shows a command-line syntax |
--dependencylist |
The Dependency List is used by Application Manager to start the listed application (and any applications that the listed applications are dependent on) before starting the target application. The maximum Dependency List length is 512 characters. |
|
--name |
“Application Unique Name”. The Application Name is used by Application Manager to compare names in the dependency list. An application may not have a dependency list but its name may be listed in another application’s dependency list. The Application Name is used by Application Manager to uniquely identify an application. No two applications will have the same name. This is a mandatory field. HXP wouldn’t be created without specifying this field. The Application Unique Name maximum length is 128 characters. |
Application Property Values
Below is a table of parameters, which should or might be specified during HXP file creation and their default values for a case of omitting.
Property Name |
Property Type |
Default |
Application Title |
Mandatory |
None |
Application Unique Name |
Mandatory |
None |
Version |
Optional |
None |
Company name |
Mandatory |
None |
Destination directory |
Mandatory |
None |
Main attribute |
Mandatory |
None |
Configuration file name |
Optional |
“Hypercom.CFG” |
Application file name(s) |
Mandatory |
None |
Main application file name |
Mandatory |
None |
Dependency List |
Optional |
None |
Icon file name |
Optional |
None |
Release Date |
Automatic |
PLB will set the date of file creation |