Actually use debug flag for javac task.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 9 Jun 2011 16:22:46 +0000 (18:22 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 9 Jun 2011 16:22:46 +0000 (18:22 +0200)
build.xml

index 9725f07..d997bd1 100644 (file)
--- a/build.xml
+++ b/build.xml
        </target>
 
        <target name="compile-maintainer" depends="prepare" if="maintainer-build">
-               <javac destdir="${bin.dir}" debug="false" optimize="true">
+               <javac destdir="${bin.dir}" debug="${javac.debug}" optimize="true">
                        <src path="${src.dir}" />
                        <sourcepath path="${todesbaum.src}" />
                </javac>
        </target>
        
        <target name="compile-non-maintainer" depends="prepare" unless="maintainer-build">
-               <javac destdir="${bin.dir}" debug="false" optimize="true">
+               <javac destdir="${bin.dir}" debug="${javac.debug}" optimize="true">
                        <src path="${src.dir}" />
                        <sourcepath path="${todesbaum.src}" />
                </javac>