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:
parent
909f6f7cc9
commit
7a9fbfa4c6
6
java/external/build.xml
vendored
6
java/external/build.xml
vendored
@ -16,6 +16,9 @@
|
||||
<!-- Location of the system's temporary directory; all output sent here -->
|
||||
<property name="tmp.dir" value="." />
|
||||
|
||||
<!-- Properties to control compilation -->
|
||||
<property name="debug" value="off"/>
|
||||
|
||||
<!-- Build directories -->
|
||||
<property name="build.dir" value="${tmp.dir}/build" />
|
||||
<property name="build.classes.dir" value="${build.dir}/classes" />
|
||||
@ -65,7 +68,8 @@
|
||||
|
||||
<target name="compile" depends="prepare"
|
||||
description="Compile all classes">
|
||||
<javac srcdir="${src.dir}" destdir="${build.classes.dir}" />
|
||||
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
|
||||
debug="${debug}" />
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="compile"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user