Skip to content

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

@btgoodwin

Description

@btgoodwin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions