From 5f266021facf97ea856bf968773538cfccf7cefd Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Mon, 23 Dec 2013 03:08:23 +0000 Subject: [PATCH] adapt documentation. PR 55922 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1553062 13f79535-47bb-0310-9956-ffa450edef68 --- manual/Tasks/apt.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/manual/Tasks/apt.html b/manual/Tasks/apt.html index 6298cfa7d..4bdd9a909 100644 --- a/manual/Tasks/apt.html +++ b/manual/Tasks/apt.html @@ -23,15 +23,11 @@

Apt

Description

Runs the annotation processor tool (apt), and then optionally compiles - the original code, and any generated source code. This task requires Java 1.5. - It may work on later versions, but this cannot be confirmed until those - versions ship. Be advised that the Apt tool does appear to be an unstable - part of the JDK framework, so may change radically in future versions. - In particular it is likely to be obsolete in JDK 6, which can run annotation - processors as part of javac. - If the <apt> task does break when upgrading JVM, please - check to see if there is a more recent version of Apache Ant that tracks - any changes.

+ the original code, and any generated source code. +

This task runs on Java 1.5 to Java 1.7.

+

Apt is deprecated in Java 1.6, which can run annotation + processors as part of javac, and removed from the distribution in Java 1.8. + The task will fire an exception when attempting to run under Java 1.8.

This task inherits from the Javac Task, and thus