Skip to content

Vale DITA-OT plugin — how to see the output in stdout? #4484

Closed Answered by theletterf
theletterf asked this question in Q&A
Discussion options

You must be logged in to vote

I solved this by doing this:

      <exec executable="vale" failonerror="true" spawn="false" logError="true" outputproperty="cmdOutput" errorproperty="cmdError">
      </exec>
      <!-- Print the standard output to the console -->
      <echo>Standard Output:</echo>
      <echo>${cmdOutput}</echo>

      <!-- Print the error output to the console, if any -->
      <echo>Standard Error:</echo>
      <echo>${cmdError}</echo>

Now I only have to figure out how to pass each DITA file preprocessing path to Vale... :)

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@theletterf
Comment options

@raducoravu
Comment options

@theletterf
Comment options

@theletterf
Comment options

Answer selected by theletterf
Comment options

You must be logged in to vote
1 reply
@theletterf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants