nasa / fpp

F Prime Prime: A modeling language for F Prime
https://fprime.jpl.nasa.gov
Apache License 2.0
49 stars 31 forks source link

Includes Inside Topology Node Does Not Work #188

Closed LeStarch closed 2 years ago

LeStarch commented 2 years ago

The user guide, and unit-tests imply that one can use an include statement inside a topology file. For example:

instance-list.fppi:

instance mySuperInstance

topology.fpp

module MyDeployment
{
    topology MyDeployment
    {
        include "instance-list.fppi"
    }
}

The expectation here is that the included fppi file will transform the topology such that it included mySuperInstance. However, when running with this in-practice, the Ai.xml file generated is empty.

This is needed to support faux-subtopologies.