Rainbow: Unable to specify output file and can't stop auto-open of output report

Issue #472 closed
Non Maskable created an issue

Trying to use rainbow purely via command line to validate a TMX file with the command:

java -jar lib/rainbow.jar -x QualityCheck -sl PT-PT -tl EN-GB -np /home/mike/TESTJUNK/tm/tm-2.tmx -o /tmp/checkmate.xml

When I run this, I do not get checkmate.xml file as output. Also, rainbow opens a inconsistency-report.xml file in a web browser, which I do not want.

Is there a better place to report issues/ask questions like this? The Yahoo group looks promising but the approval process has been slow.

Comments (2)

  1. YvesS
    • changed status to open

    The -np option prevent you to open the dialog box where all those settings are defined. So rainbow runs the pipeline with the default settings. Also the output of the Quality Check is not set by the -o option (that is for the output files in the utilities that modify the input files).

    To run it with your own settings you have to use the -pln option instead of -x and have a pipeline file that holds your pipeline and settings.

    You can create such file by creating your own pipeline (Utilities > Edit/Execute Pipelines) and save it (Save As). Once that is done you can run something like this:

    java -jar lib/rainbow.jar -pln myPipeline.pln -sl PT-PT -tl EN-GB -np /home/mike/TESTJUNK/tm/tm-2.tmx
    
  2. Log in to comment