Added a "debug" compile option to enable the possibility that the stack

trace shows line numbers.  However, the default value is set to the ant
default of "off" so no debug info is provided, as before.  This is to
maintain backward compatibility.  I think the default should be "on",
instead, though.  I will let someone else change it.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
edwingo 2002-04-30 01:47:45 +00:00
parent 909f6f7cc9
commit 7a9fbfa4c6

View File

@ -16,6 +16,9 @@
<!-- Location of the system's temporary directory; all output sent here --> <!-- Location of the system's temporary directory; all output sent here -->
<property name="tmp.dir" value="." /> <property name="tmp.dir" value="." />
<!-- Properties to control compilation -->
<property name="debug" value="off"/>
<!-- Build directories --> <!-- Build directories -->
<property name="build.dir" value="${tmp.dir}/build" /> <property name="build.dir" value="${tmp.dir}/build" />
<property name="build.classes.dir" value="${build.dir}/classes" /> <property name="build.classes.dir" value="${build.dir}/classes" />
@ -65,7 +68,8 @@
<target name="compile" depends="prepare" <target name="compile" depends="prepare"
description="Compile all classes"> description="Compile all classes">
<javac srcdir="${src.dir}" destdir="${build.classes.dir}" /> <javac srcdir="${src.dir}" destdir="${build.classes.dir}"
debug="${debug}" />
</target> </target>
<target name="jar" depends="compile" <target name="jar" depends="compile"