ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Pell <...@erasurewars.net>
Subject Re: jmod and jlink support
Date Thu, 06 Dec 2018 04:47:14 GMT
>> 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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message