Ant run command with pipes

后端 未结 6 918
温柔的废话
温柔的废话 2020-12-13 19:25

I must to implement command : java -jar test.jar page.xml | mysql -u user -p base in ant. So i Have tried with this task:



        
6条回答
  •  情话喂你
    2020-12-13 20:02

    Another solution would be to wrap the java -jar test.jar page.xml | mysql -u user -p base into a separate script and call it with simple task.

提交回复
热议问题