Generating a publication and packaging content

For convenience, use the script below to combine publishing and packaging into one single command.

Procedure

  1. Depending on your operating system, open a Windows command prompt or Linux terminal with administrative privileges.
  2. On the command prompt, navigate to the [LCC_home]/distribution-service directory, where the IETP Packaging tool is located.
  3. To publish and generate the IETP
    On Windows, enter the following command
    lcccollectionpub.exe -PA --cfg=[config] --pubpath=<folder path|ZIP path> --pmcfile=<pmcfile> --dmlfile=[dmlfile] --overwrite --nozip
    On Linux, enter the following command:
    lcccollectionpub.bin -PA --cfg=[config] --pubpath=<folder path|ZIP path> --pmcfile=<pmcfile> --dmlfile=[dmlfile] --overwrite --nozip
    where:
    • The parameter -PA is used to publish and generate the IETP package.
    • cfg is the file path to the properties file, lcccollectionpub.properties. This parameter is optional.
    • pubpath is the path to the directory or ZIP file that contains the publication.
    • pmcfile is the publication module file. The filename for this XML file is often prefixed with PMC-. For example. PMC-BIKE09.xml.
    • dmlfile is the data module list file. This XML file is optional and the filenames for such files are often prefixed with DML-. For example. DML-BIKE09.xml.
    • overwrite is an optional boolean parameter. Setting this parameter to true overwrites previously published data.
    • nozip is an optional parameter. Use this parameter if you do not want to ZIP up the package.
  4. Navigate to the target directory you specified. Here, you will find a ZIP file with the name LCCCollectionPub_<collection name>.zip where collection name is the collection directory you have bundled.

    For example, if you packaged the collection with the identifier BIKE2009, your target directory will now include a file named LCCCollectionPub_BIKE2009.zip. If you used the nozip option to generate the IETP, then a directory such as LCCCollectionPub_BIKE2009 is created. This ZIP file or the directory can be distributed to multiple detachable media devices.

  5. To distribute your collection on a detachable media, copy the ZIP file or the directory to it.
  6. To verify the package:
    Copy the contents of the detachable media to the disk, extract the content of the ZIP file and execute lcclaunch.exe.
  7. In the LiveContent Central screen that opens, login as admin. Contact your administrator for the username and password to login.
  8. Select a publication to view in LiveContent Central.