core-framework icon indicating copy to clipboard operation
core-framework copied to clipboard

REDHAWK packagegen's softPackage generates incorrect headers for SCD and PRF

Open btgoodwin opened this issue 8 years ago • 0 comments

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/>

btgoodwin avatar Aug 23 '17 19:08 btgoodwin