From 2b505506ce54c9892ee2edd34568068d80f52175 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Thu, 12 Nov 2015 17:58:54 +0100
Subject: [PATCH] [ALL] Add debug information in the classes compiled by the
 ANT scripts. This is very useful when getting a stack trace of an exception:
 without this option, no method and line information can be provided...so,
 without this option, the stack trace becomes pretty useless. (NOTE: this
 option increases a little the size of the compiled classes)

---
 buildADQL.xml | 2 +-
 buildTAP.xml  | 2 +-
 buildUWS.xml  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/buildADQL.xml b/buildADQL.xml
index 6575261..fd486b1 100644
--- a/buildADQL.xml
+++ b/buildADQL.xml
@@ -87,7 +87,7 @@
 	
 	<target name="compileLib" depends="clean,junitValidation" description="Build all the classes of the ADQL library. This target is particularly usefull because it lets highlighting missing dependencies.">
 		<mkdir dir="${compileDir}" />
-		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8" bootclasspath="${adql.bootclasspath}">
+		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8" bootclasspath="${adql.bootclasspath}" debug="true">
 			<classpath refid="adql.classpath" />
 		</javac>
 	</target>
diff --git a/buildTAP.xml b/buildTAP.xml
index 25b41b4..893615d 100644
--- a/buildTAP.xml
+++ b/buildTAP.xml
@@ -112,7 +112,7 @@
 	
 	<target name="compileLib" depends="clean,junitValidation" description="Build all the classes of the TAP library. This target is particularly usefull because it lets highlighting missing dependencies.">
 		<mkdir dir="${compileDir}" />
-		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8">
+		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8" debug="true">
 			<classpath refid="tap.classpath" />
 		</javac>
 	</target>
diff --git a/buildUWS.xml b/buildUWS.xml
index 2f1a9fb..f3cf96f 100644
--- a/buildUWS.xml
+++ b/buildUWS.xml
@@ -79,7 +79,7 @@
 	
 	<target name="compileLib" depends="clean,junitValidation" description="Build all the classes of the UWS library. This target is particularly usefull because it lets highlighting missing dependencies.">
 		<mkdir dir="${compileDir}" />
-		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8">
+		<javac destdir="${compileDir}" srcdir="${srcDir}" includes="${includesList}" includeantruntime="false" encoding="utf8" debug="true">
 			<classpath refid="uws.classpath" />
 		</javac>
 	</target>
-- 
GitLab