Exclude images from the output zip

When creating PDFs using Miramo, images included in the PDF might be included in the output zip that is returned to users in IXIASOFT CCMS Desktop or downloaded on IXIASOFT CCMS Web. To stop this, you must change a custom parameter that Miramo PDF uses.

Miramo PDF uses the custom parameter mmpdf:copyImagesToOutput, to copy images to the output folder. In IXIASOFT CCMS Output Generator, it must be set to Y to include images in the PDF output. This is the default setting, so there is no need to include this parameter in your Miramo PDF targets. However, if sett to Y, that also include all images in the output zip that is returned to users in CCMS Desktop or CCMS Web.

To remove images from the output folder, include the highlighted lines in your Miramo PDF targets:
...
<dita_startcmd_ot_build/>
		
<delete>
    <fileset dir="${outgen.job.output.dir}" includes="*.image"/>

</delete>

<!-- The macro cleans the OT folder based on the parameters specified in outgen-init-debug.xml -->
<clean_ot_output/>
...