all
This creates or updates the published version of PLCSlib based on changes identified since the last publication. The published version of PLCSlib is created in the plcslib\build folder with this start page of index.html.
zip
This executes the ant all target, then zip's the published PLCSlib environment into the file plcslib_<date>_<time>.zip created in the plcslib\build folder.
clean
This deletes the plcslib\build folder and all content.
First cd to the
plcslib\utils\xml_templates
folder and run
ant mk-pub
This will create a publication folder:
plcslib/publications/<context>/plcslib-<context>-v<version>.<iteration>/
Add the refrences to DEXs, Templates, Ref Data and model usage guides to be included in the publication package to:
plcslib/publications/<context>/plcslib-<context>-v<version>.<iteration>/publication_index.xml
Generate the ANT build file using ANT:
ant -f buildbuild.xml
Any errors that are displayed should be addressed.
ant clean
Run ANT on the build.xml that has just been created using:
ant -q -emacs -DERRORCHECK=true -l errors.txt all
or
ant -q -emacs -DERRORCHECK=true -l errors.txt zip
if you wish to create a zip file as well as the HTML.
This will create a directory:
plcslib/publications/SwedishDefence/plcslib-SwedishDefence-v<version>.<iteration>/build
and (if the zip option is used) a ZIP file in:
plcslib/publications/SwedishDefence/plcslib-SwedishDefence-v<version>.<iteration>/build