langtools/make/build.xml
changeset 2850 307d7719ccb7
parent 2212 1d3dc0e0ba0c
child 2988 094272984b53
--- a/langtools/make/build.xml	Mon Apr 20 19:01:35 2009 +0100
+++ b/langtools/make/build.xml	Wed May 06 18:04:08 2009 +0100
@@ -32,6 +32,13 @@
 
 <project name="langtools" default="build" basedir="..">
     
+    <!-- Force full debuginfo for javac if the debug.classfiles
+    property is set.  This must be BEFORE the include of
+    build.properties because it sets javac.debuglevel.  -->
+    <condition property="javac.debuglevel" value="source,lines,vars">
+        <equals arg1="${debug.classfiles}" arg2="true"/>
+    </condition>
+
     <!-- The following locations can be used to override default property values. -->
 
     <!-- Use this location for customizations specific to this instance of this workspace -->