plcslib\etc\Ruby\updateTemplate.bat
Whne using updateTemplate.bat to update a template with constraint blocks, tehe constraint blocks are added in teh wrong place.
The XSD (plcslib/xsd/templates.xsd)
Is
<xs:element name="template">
<xs:complexType>
<xs:sequence>
<xs:element ref="models"/>
<xs:element ref="contacts"/>
<xs:element ref="description"/>
<xs:element minOccurs="0" ref="related.templates"/>
<xs:element minOccurs="0" ref="binding.diagrams"/>
<xs:element ref="parameters"/>
<xs:element minOccurs="0" ref="output_ports"/>
<xs:element minOccurs="0" ref="constraints"/>
<xs:element minOccurs="0" ref="instantiated.blocks"/>
<xs:element minOccurs="0" ref="constraint.blocks"/>
<xs:element minOccurs="0" ref="instances"/>
<xs:element minOccurs="0" ref="example_datasets"/>
</xs:sequence>
Checking in sysml-to-tmpl.rb;
/cvsroot/plcslib/plcslib/etc/Ruby/sysml-to-tmpl.rb,v <-- sysml-to-tmpl.rb
new revision: 1.7; previous revision: 1.6
done