Steps to reproduce
- Starts
capellac.exe --launcher.ini capella.ini -nosplash -consolelog -application org.polarsys.capella.core.commandline.core -appid org.eclipse.python4capella.commandline -data .\workspace workspace:/Python4Capella/sample_scripts/List_logical_components_in_console.py
-> OK It works
- In capella.ini add
-eclipse.keyring <any path> and restart the same command line
-> KO I get the message Can't find script engine for: -appid
Analysis
The issue comes from the fact that Python4CapellaCommandLine get the script path in hard-code way. It gets the third argument instead of being smarter.
final String scriptPath = ((String[]) argObject)[2];