Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment