ant: a more stringent test that compiles code

Closes #25977.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
jetty: fix incorrect download url.

Closes #25978.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>