Re: Augmenting the ant wrapper script for OS packaging

2019-06-15 Thread Martijn Kruithof
+1 On 12-06-19 07:16, Jaikiran Pai wrote: On 11/06/19 9:54 PM, Stefan Bodewig wrote: I'm a bit torn but would prefer adding it to the default script so that running Ant would use the same wrapper no matter how you've installed it. I'm afraid we'd have to ask people "how have you installed Ant"

Re: Augmenting the ant wrapper script for OS packaging

2019-06-11 Thread Jaikiran Pai
On 11/06/19 9:54 PM, Stefan Bodewig wrote: > I'm a bit torn but would prefer adding it to the default script so that > running Ant would use the same wrapper no matter how you've installed > it. I'm afraid we'd have to ask people "how have you installed Ant" > otherwise. +1. Given that the

Augmenting the ant wrapper script for OS packaging

2019-06-11 Thread Stefan Bodewig
Hi all I'm currently looking into providing Snap archives for Ant and there seems to be an edge case where one would want to do something Snap-specific. The case here is providing an explicit fallback for Java if JAVA_HOME is not set and we don't find java on the PATH. There is some precedent