summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-04-30 00:04:46 -0700
committerPaul Phillips <paulp@improving.org>2013-04-30 00:13:05 -0700
commit17f810143422f703e13c39d0dcd5158e5dd5f278 (patch)
treebf1633e77c269a12a531a4ab6a1ce4f47b885cc5 /build.xml
parent3da1abe3a2e2752588ca8e2c7e889a321dae2037 (diff)
downloadscala-17f810143422f703e13c39d0dcd5158e5dd5f278.tar.gz
scala-17f810143422f703e13c39d0dcd5158e5dd5f278.tar.bz2
scala-17f810143422f703e13c39d0dcd5158e5dd5f278.zip
SI-6532 emit debug info in compiled java.
Our handful of java source files weren't being compiled with line numbers, sourcefile, and other debugger aids. I don't really know how to test this so I'll enclose an excerpt of the bytecode diff of scala.runtime.IntRef to show that this change results in debug information. 2,3c2,4 > Compiled from "IntRef.java" 4a6 > SourceFile: "IntRef.java" 53a62,67 > LineNumberTable: > line 18: 0 > LocalVariableTable: > Start Length Slot Name Signature > 0 10 0 this Lscala/runtime/IntRef; > 0 10 1 elem I 62a77,81 > LineNumberTable: > line 19: 0 > LocalVariableTable: > Start Length Slot Name Signature > 0 8 0 this Lscala/runtime/IntRef;
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 3ec3a3f827..f12b4e8dbe 100644
--- a/build.xml
+++ b/build.xml
@@ -772,6 +772,7 @@ TODO:
<stopwatch name="@{project}.timer"/>
<mkdir dir="${@{project}-classes}"/>
<javac
+ debug="true"
srcdir="${src.dir}/@{project}"
destdir="${@{project}-classes}"
classpath="${@{project}-classes}"
@@ -805,6 +806,7 @@ TODO:
<sequential>
<javac
+ debug="true"
srcdir="${src.dir}/@{project}"
destdir="${build-@{stage}.dir}/classes/@{destproject}"
includes="**/*.java"