|
|
@ -23,7 +23,8 @@
|
|
|
|
<![CDATA[
|
|
|
|
<![CDATA[
|
|
|
|
<IotDeviceTypeConfig type="${sample_type}">
|
|
|
|
<IotDeviceTypeConfig type="${sample_type}">
|
|
|
|
<DatasourceName>jdbc/${data_source}</DatasourceName>
|
|
|
|
<DatasourceName>jdbc/${data_source}</DatasourceName>
|
|
|
|
<ApiApplicationName>virtual_firealarm</ApiApplicationName>
|
|
|
|
<!--TODO: Uncomment this to work with apim @ 192.168.67.21 -->
|
|
|
|
|
|
|
|
<!--ApiApplicationName>firealarm</ApiApplicationName-->
|
|
|
|
</IotDeviceTypeConfig>
|
|
|
|
</IotDeviceTypeConfig>
|
|
|
|
]]>
|
|
|
|
]]>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
@ -96,6 +97,8 @@
|
|
|
|
<delete dir="${target.sketch.dir}/${sample_type}"/>
|
|
|
|
<delete dir="${target.sketch.dir}/${sample_type}"/>
|
|
|
|
<delete file="${target.page.dir}/${sample_type}.hbs"/>
|
|
|
|
<delete file="${target.page.dir}/${sample_type}.hbs"/>
|
|
|
|
<delete dir="${target.unit.dir}/${sample_type}"/>
|
|
|
|
<delete dir="${target.unit.dir}/${sample_type}"/>
|
|
|
|
|
|
|
|
<delete file="${target.page.dir}/${sample_type}.hbs"/>
|
|
|
|
|
|
|
|
<delete dir="${target.unit.dir}/${sample_type}"/>
|
|
|
|
<xmltask source="${iot.conf}" dest="${iot.conf}" report="true">
|
|
|
|
<xmltask source="${iot.conf}" dest="${iot.conf}" report="true">
|
|
|
|
<remove path="/IoTDeviceTypeConfigManager/IotDeviceTypeConfig[type='${sample_type}']"/>
|
|
|
|
<remove path="/IoTDeviceTypeConfigManager/IotDeviceTypeConfig[type='${sample_type}']"/>
|
|
|
|
</xmltask>
|
|
|
|
</xmltask>
|
|
|
|