Request for Changes-74: Translate the application GUI to the corresponding command line
Contents
Request for Changes-74: Translate the application GUI to the corresponding command line
Status
- Author: Manuel
- Additional Contributors: Guillaume
- Submitted on 29.11.16
- Proposed target release : 5.10
- Adopted : +4 from Julien, Rémi, Victor, Guillaume
- Merged : 8d848bc7e485e1f95dae8da110f2ae9683a3099d
Summary
This RFC aims to display corresponding command line in OTB application GUI. The RFC contains also fixes and integrated improvments of OutputProcessXMLParameters classes which allows to serialize applications parameters to XML.
Screenshot (note that an extra line has been added at the end of the command line which does not appear in the image below):
Rationale
The goal is to display command line in application tab "log" of application GUI. The bash (or bat command on Windows is displayed after pressing Execute).
It reuses internally the mechanism which serialize OTB application state to an XML structure.
The XML structure is then parsed and the corresponding command line is transfer to the application logger at execution.
Implementation details
Classes and files
Applications
Tests
- Add test related to OutputProcessXMLParameter classes
Documentation
Additional notes
Possible improvements:
- Build the command line dynamically at each parameter validation in the GUI? - Display the command line in a specific tab or window without having to Execute the application in the GUI