ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: jmod and jlink support
Date Wed, 28 Nov 2018 20:36:26 GMT
Hi Craig

On 2018-11-26, Craig Pell wrote:

> Has there been discussion or a bug filed regarding adding tasks to
> support jmod and jlink?  Now that there is no longer a separate JRE
> and the new method of distributing standalone Java applications
> requires jlink, this seems increasingly important.

At least I'm not aware of anybody actively working on either - and I
agreee it would be good to have tasks for them. Others?

There is a deprecated jlink task for an ancient tool which may cause a
bit of confusion.

> I wasn’t sure whether the code is required to be Java 8 compatible.

If it is not, then the release manager will need to build Ant with
something more recent than Java 8. As long as this still allows to set
the javac -target to 8, this is probably fine.

Ant has included tasks that have been conditional on recent JDKs for a
long time. I.e. we've had tasks that required Java 5 to compile even
back when the base line was Java 1.3.

You can take a look at the build file for 1.8.4 to see how we handled it
back then:
is the starting point to see how/where we dealt with those classes.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message