Should I modify bootstrap.sh and bootstrap.bat to exclude the newer
tasks if using a Java version less than 9?

This is what the selector is supposed to do. No need to touch any of the
scripts. One thing that I should have mentioned, the classes that
require Java 9 must not live inside the taskdefs package directly
(rather in org.apache.tools.ant.taskdefs.optional or similar) so that
bootstrap won't trip over it.

That was what I needed to know!  It now builds in Java 8, 9, 10, and 11.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to