joinsysdef wasn't properly translating the namespace prefix for "replace".
<?xml version="1.0" encoding="UTF-8"?>
<ProductsDefinition schema="3.0.0">
<product name="BuildEnvironment" long-name="Build Environment">
<tool name="sysdeftools" long-name="System Definition Tools" default-src="metatools/sysdeftools" default-dst="/" version="1.0.2">
<!-- core functionality -->
<file filename="*.pl"/>
<file filename="*.xsl"/>
<!-- reusable modules and internal utilities -->
<file filename="*.xsl" src="metatools/sysdeftools/lib/" dst="lib/"/>
<!-- Xalan jar files -->
<file filename="*" src="metatools/sysdeftools/xalanj/" dst="xalanj/"/>
<windows>
<file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/checklinks.bat"/>
<file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/joinsysdef.bat"/>
<file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/rootsysdef.bat"/>
<!-- Xalan-calling .bat files -->
<file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/joinandparesysdef.bat"/>
<file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/filtering.bat"/>
<file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/validate-sysdef.bat"/>
<!-- Xalan-calling .bat files that use XSLTC -->
<file filename="unixxsltccmd.bat" src="metatools/sysdeftools/group/" dstFile="/mergesysdef.bat"/>
<file filename="unixxsltccmd.bat" src="metatools/sysdeftools/group/" dstFile="/sysdefdowngrade.bat"/>
</windows>
<linux>
<!-- Xalan-calling unix files -->
<file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/joinandparesysdef"/>
<file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/filtering"/>
<file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/validate-sysdef"/>
<!-- Xalan-calling unix files that use XSLTC -->
<file filename="unixxsltccmd" src="metatools/sysdeftools/group/" dstFile="/mergesysdef"/>
<file filename="unixxsltccmd" src="metatools/sysdeftools/group/" dstFile="/sysdefdowngrade"/>
</linux>
</tool>
</product>
</ProductsDefinition>