Package DE_EPAGES::XML::API::XML::PatchExportDriver
This module implements a SAX2 driver to export patch.xml
Example |
use DE_EPAGES::XML::API::XML::PatchExportDriver qw (ExportPatch); ExportPatch({'Cartridge' => 'DE_EPAGES::Cartridge', 'CVSPath' => 'epages/epages/AllOS/Cartridges', 'OldRelease' => 'release_2005_01_06', 'NewRelease' => 'release_2005_01_13', }); |
@EXPORT_OK |
Functions
ExportPatch
makes the cvs diff, gets the oldversion, proposes new version, creates $ENV{'EPAGES_CARTRIDGES'}/$CartridgePath/Patches/Patch_$oldversion/patch.xml It is called by DE_EPAGES::Installer::Scripts::create_patch.pl. Before creating the patch.xml, you have to set a CVSROOT environment and call cvs login.
Syntax |
ExportPatch($hData); |
Example |
use DE_EPAGES::XML::API::XML::PatchExportDriver qw (ExportPatch); ExportPatch({'Cartridge' => 'DE_EPAGES::Cartridge', 'CVSPath' => 'epages/epages/AllOS/Cartridges', 'OldRelease' => 'release_2005_01_06', 'NewRelease' => 'release_2005_01_13', }); |
Input |
|
getFiles
Get a subset of cartridge files.
Syntax |
$aLines = $self->getFiles($What, $Type, $SubType); |
Input |
|
Return |
|