Archived
This forum has been archived. Please start a new discussion on GitHub.
[3.3b] Make slice2java Ant task robust against stderr
I discovered today that, if mcpp prints any messages to stderr while it's processing a file, the slice2java Ant task tries to parse those as dependencies and dies. The attached (tiny) patch fixes this issue.
MEF
MEF
0
Comments
-
It might also be worth telling mcpp not to print any warning messages when it's called from the Slice preprocessor. At the moment, it warns at me every time I have no final EOL character or a Windows-formatted (CRLF) file on Linux -- neither of these things caused any warnings on previous versions of Ice.
But maybe you want to keep the warnings in there, so this is only a suggestion.
MEF0 -
Hi Mary Ellen,I discovered today that, if mcpp prints any messages to stderr while it's processing a file, the slice2java Ant task tries to parse those as dependencies and dies. The attached (tiny) patch fixes this issue.
Take care,
Mark0