<updatecheck>
- Cleaning Up After Updates
This feature can update an already installed package, therefore removing superfluous files after an installation.
Each pack can now specify an <updatecheck>
tag. Includes and excludes can be defined as filesets, but no file name mappers can be used. If no include or exclude pattern is given all files are deleted in $INSTALL_Path on the target system, which were not part of the setup.
Be careful with this facility to not delete 3rd-party files coming from other installations, for instance plugins to a base application.
Example:
<updatecheck> Example
<updatecheck> <include name="lib/**" /> <exclude name="config/local/** /> </updatecheck>
$INSTALL_PATH
is treated as the base path for include/exclude patterns with relative paths.