You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Jan Matèrne (jhm)" <ap...@materne.de> on 2019/10/04 13:35:26 UTC
AW: After the command is executed, the ant window opens with an error of 255
Try the outputproperty or errorproperty of the exec task.
Maybe this is related to you
https://ubuntuforums.org/showthread.php?t=1464940
I don't know mate-terminal. But you can't use <java> itself?
Jan
> -----Ursprüngliche Nachricht-----
> Von: Игорь Бобров [mailto:nequx@yandex.ru]
> Gesendet: Montag, 30. September 2019 20:21
> An: user@ant.apache.org
> Betreff: After the command is executed, the ant window opens with an
> error of 255
>
> My code is written in target:
> <exec executable="mate-terminal">
> <arg value="-e" />
> <arg value="java -cp build/ Main" />
> </exec>
> After I close the terminal in ant it says that: Result: 255 How to
> remove this error? Mate-terminal command does not return code 255
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org