The Package Builder Console allows you to easily package DLLs into a deployable package file (.spk). The Package Builder Console is designed to work in an automated build environment.
The following command line parameters are available for the Package Builder Console:
| Parameter | Description |
/pkdesc:<path to pkdesc file> | The path and file name to the package description file (.pkdesc). |
/target:<package file> | The path and file name to the package file (.spk) to create. |
/refpath:<path to referenced assemblies> | A list of paths to assemblies that are referenced in the package. Each path shall be separated by semi-colon. |
/basefolder:<path to base folder> | The path to the base folder. All paths in pkdesc files will be interpreted relative to the base folder. |
/cert:<cert> | The path to the certificate file to sign packages with. |
/password:<cert password> | The password for the certificate file. |
/timestamp:<timestamp> | The URL of a timestamping module to timestamp packages with. |
/packageversion:<package version> | Version for the package. Format Major.Minor.ServicePackLevel.BuildNumber. This switch overrides the number in .pkdesc. |
/intendedclient:<intended client> | The client type for which the package is built. Can be set to type 'any', 'professional' or 'web'. Defaults to 'professional'. |
/wpcontentfolder:<Web Player content folder> | The name of the folder within the web server where the Web Player is installed. Only valid for internal Web Player packages. |
/help | Show help on command line options. |
/? | Show help on command line options. |
/usage | Show usage of command line options. |
The command line parameters are unordered and not case sensitive.
A package description file (.pkdesc) must be provided and it is written in an xml-format. Many of the command line parameters can be specified in the .pkdesc file. If this is done you do not need to specify the parameter on the command line. If a parameter is specified both in the file and on the command line, then the command line specification takes precedence over the file specification.
The output after using the Package Builder Console is a package file (.spk) that can be distributed and deployed to a Spotfire Server. If specified in the package description file you will also receive a module definition file (module.xml).