Include a property from lavoisier-config.properties in the entry of the shell connector
I use the shell connector to call a python script.
I currently give an hard coded argument to the shell executable like this
What I'd like to do is to get the value of the argument from the lavoisiier-config.properties file
I tried to do somethiong like this:
But I get the exception content not allowed in prologue
How can I do this?
By advance, thanks,
RE: Include a property from lavoisier-config.properties in the entry of the shell connector - Added by Reynaud Sylvain over 8 years ago
That is the right way to do this. You should get exactly the same result if the property is correctly set.
The exception you get is a XML parsing error exception. A possible cause for this is that the output of your shell excutable is neither a valid XML, nor a exit code different from 0. You can add an EncapsulateSerializer behind the ShellConnector in order to see the output of your shell executable, and then fix the XML syntax error.
RE: Include a property from lavoisier-config.properties in the entry of the shell connector - Added by FORESTIER Flavien over 8 years ago
Thanks for the quick answer,
I will investigate on my side.