Commit 2b505506 authored by gmantele's avatar gmantele
Browse files

[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)
parent d708278c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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>