When using the ResourcePackage with the default SCD, SPD, and PRF templates, and then calling resourcepackage.writeXML() to generate base XML files, the default templates in redhawk.packagegen.templates are not used. Instead the base class, SoftPackage generates DOCTYPE headers that all state SPD rather than SCD and PRF.
This is the line.
Proof
from redhawk.packagegen.resourcePackage import ResourcePackage
rp = ResourcePackage('test','python','./','python.component.pull')
rp.writeXML()
Check the contents of the output test/test.prf.xml, for example:
$> cat test/test.prf.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties PUBLIC "-//JTRS//DTD SCA V2.2.2 SPD//EN" "properties.dtd">
<properties/>
When using the
ResourcePackagewith the default SCD, SPD, and PRF templates, and then callingresourcepackage.writeXML()to generate base XML files, the default templates inredhawk.packagegen.templatesare not used. Instead the base class,SoftPackagegenerates DOCTYPE headers that all stateSPDrather thanSCDandPRF.This is the line.
Proof
Check the contents of the output
test/test.prf.xml, for example: