|
Reusing SLM modules and components.
|
02/02/2025 9:48 PM
post122649
|
Reusing SLM modules and components.
Hi experts,
I am developing a monitor app that manages apps using SLM.
I want to use the 'Reusing SLM modules' feature in SLM(https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.
neutrino.utilities/topic/s/slm.html). However, even though I followed the guide, I couldn't reuse the SLM module.
I created my_reusable_modules.xml and executed it in the main XML file using the following code, but an error occurred.
I am sharing the XML files I used.
1. main.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE SLM_system [
<!ENTITY test_A SYSTEM 'A_config2.xml'>
]>
<SLM:system>
&test_A;
</SLM:system>
2. reusable module
<?xml version="1.0" encoding="utf-8"?>
<SLM:system>
<SLM:component name="testA">
<SLM:command>/ti_fs/testA/SLM_testA</SLM:command>
<SLM:repair>restart</SLM:repair>
</SLM:component>
</SLM:system>
3. execution command
slm -v /ti_fs/slm-config2.xml
4. error string
slm: error parsing config file: line 6: error in processing external entity reference
Please provide advice and guidance.
|
|
|