Generating a publication and packaging content
For convenience, use the script below to combine publishing and packaging into one single command.
Procedure
- Depending on your operating system, open a Windows command prompt or Linux terminal with administrative privileges.
- On the command prompt, navigate to the [LCC_home]/distribution-service directory, where the IETP Packaging tool is located.
- To publish and generate the IETP
On Windows, enter the following command
On Linux, enter the following command:lcccollectionpub.exe -PA --cfg=[config] --pubpath=<folder path|ZIP path> --pmcfile=<pmcfile> --dmlfile=[dmlfile] --overwrite --noziplcccollectionpub.bin -PA --cfg=[config] --pubpath=<folder path|ZIP path> --pmcfile=<pmcfile> --dmlfile=[dmlfile] --overwrite --nozipwhere:- The parameter -PA is used to publish and generate the IETP package.
cfgis the file path to the properties file, lcccollectionpub.properties. This parameter is optional.pubpathis the path to the directory or ZIP file that contains the publication.pmcfileis the publication module file. The filename for this XML file is often prefixed with PMC-. For example. PMC-BIKE09.xml.dmlfileis 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.overwriteis an optional boolean parameter. Setting this parameter totrueoverwrites previously published data.nozipis an optional parameter. Use this parameter if you do not want to ZIP up the package.
- Navigate to the target directory you specified. Here, you will find a ZIP file with the name
LCCCollectionPub_<collection name>.zipwhere 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 namedLCCCollectionPub_BIKE2009.zip. If you used thenozipoption to generate the IETP, then a directory such asLCCCollectionPub_BIKE2009is created. This ZIP file or the directory can be distributed to multiple detachable media devices. - To distribute your collection on a detachable media, copy the ZIP file or the directory to it.
- 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.Note: On Linux, execute lcclaunch.bin.
- In the LiveContent Central screen that opens, login as admin. Contact your administrator for the username and password to login.
- Select a publication to view in LiveContent Central.