Skip to content

Some problems introduced with !2

  1. Some error message during validation after install:
[schwinn@asl754 silecs-cli]$ ./silecs -v ~/workspace-acc8/SilecsTest123_DU/src/SilecsTest123_DU.silecsdeploy
using sileces base path: ..
validating /home/bel/schwinn/lnx/workspace-acc8/SilecsTest123_DU/src/SilecsTest123_DU.silecsdeploy
Error reading file '../silecs-model/src/xml/DeploySchema.xsd': failed to load external entity "../silecs-model/src/xml/DeploySchema.xsd"
File is not valid. Check errors above.

For testing I installed into /home/bel/schwinn/lnx/tmp/silecstest/ (v.1.2.3). The deploy scheme to be used is located at /home/bel/schwinn/lnx/tmp/silecstest/1.2.3/silecs-model/xml/DeploySchema.xsd (no 'src' in the path)

  1. No detailed validation errors, only the message that the validation failed

Fixing the above bug with adding a symlink into the install folder makes validation work (ln -s . src). Though if there is error in the xml, the error will not be printed to console. (Tried by adding a node <unknown>test123</unknown> into the xml)

[schwinn@asl754 silecs-cli]$ ./silecs -v ~/workspace-acc8/SilecsTest123/src/SilecsTest123.silecsdesign 
using sileces base path: ..
validating /home/bel/schwinn/lnx/workspace-acc8/SilecsTest123/src/SilecsTest123.silecsdesign
File is not valid. Check errors above.
  1. The old shell script is still available / can be removed