Command line argument files

2018-11-15 Thread Remko Popma
Would there be any interest in using picocli ( https://github.com/remkop/picocli) as the command line parser in `org.apache.tools.ant.Main`? Picocli has support for @-files (https://picocli.info/#AtFiles ) to handle cases where the length of the command line exceeds the OS limitations. (I believe

AW: Command line argument files

2018-11-15 Thread jhm
Thank you for your suggestion. But I think we shouldn’t add a new dependency for replacing code, that works and was touched last time 8 months ago ('just' introducing some Java8 stuff), then 2 years ago (no FileInput/OutputStream::new) then 4 years ago ... So maintenance is no real point here.

Re: Command line argument files

2018-11-15 Thread Remko Popma
Last August there was a feature request on the Ant user mailing list to support argument files (also called @-files): https://mail-archives.apache.org/mod_mbox/ant-user/201808.mbox/%3c5d285fc05679a441acf34a90905bfa923d6c3...@gbedbp01.chp.co.uk%3e Picocli has support for @-files/argument files ( ht