From 55e78ace38804b12be6904a6eda5b11af66ac527 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 12 Feb 2003 14:26:30 +0000 Subject: [PATCH] tell the truth about debuglevel. PR: 16884 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274063 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/javac.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html index fb62e6d5e..5a59e4645 100644 --- a/docs/manual/CoreTasks/javac.html +++ b/docs/manual/CoreTasks/javac.html @@ -194,8 +194,13 @@ invoking the compiler.

debug - Indicates whether source should be compiled with debug - information; defaults to off. + Indicates whether source should be compiled with + debug information; defaults to off. If set to + off, -g:none will be passed on the + command line for compilers that support it (for other compilers, no + command line argument will be used). If set to true, + the value of the debuglevel attribute determines the + command line argument. No @@ -207,7 +212,7 @@ invoking the compiler.

following keywords: lines, vars, and source. If debuglevel is not specified, by default, - :none will be + nothing will be appended to -g. If debug is not turned on, this attribute will be ignored.