For various Structure101 operations the Build configuration file must reference a Structure101 .hsp project file (previously created using Structure101 Studio). This provides Build the location of the file(s) to parse in order to generate the structural model. The project file may also contain overlays, actions, transforms and excludes to be applied to the model.

The path to the Structure101 project file (*.hsp) is specified in the local-project argument in the common arguments element.

Overriding project file settings

The referenced project file may contain a hard-wired reference to a cpa data file. In most build environments, this will be different to the newly created cpa file that you wish to use. There are 3 ways to address this:

Rename/move the data file as part of the build script to match the path in the project file

Override the setting in the project file using the datafile attribute

<argument name="local-project" value="/Users/anon/projects/cpptest/hellocworld/hellocworld.cpa.hsp">
	<override attribute="datafile" value="const(THIS_FILE)/cpptest/hellocworld/input.cpa" />
     </argument>