java/build.common.xml
changeset 3387 79624c24b4d8
parent 3356 a3ad7164f528
child 3541 69805e2d87e6
--- a/java/build.common.xml	Mon Feb 09 11:56:36 2015 +0000
+++ b/java/build.common.xml	Thu Feb 12 12:22:59 2015 +0000
@@ -15,11 +15,11 @@
     </path>
 
     <path id="build.classpath">
-        <path refid="build.classpath.prereqs"/>
-        <pathelement path="${build.libs.dir}"/>
-        <fileset dir="${build.libs.dir}">
-      	    <include name="*.jar"/>
-        </fileset>
+	<path refid="build.classpath.prereqs"/>
+	<pathelement path="${build.libs.dir}"/>
+	<fileset dir="${build.libs.dir}">
+	    <include name="*.jar"/>
+	</fileset>
     </path>
 
 
@@ -28,11 +28,13 @@
     <extension-point name="compile.pre"/>
     <extension-point name="compile.post"/>
     <target name="compile.main" if="${build.src.dir.present}">
-        <mkdir dir="${build.bin.dir}"/>
-        <javac srcdir="${build.src.dir}"
-               destdir="${build.bin.dir}"
-               classpathref="build.classpath"
-               includeantruntime="false"/>
+	<mkdir dir="${build.bin.dir}"/>
+	<javac srcdir="${build.src.dir}"
+	       destdir="${build.bin.dir}"
+	       classpathref="build.classpath"
+	       debug="true"
+	       debuglevel="lines,vars,source"
+	       includeantruntime="false"/>
     </target>
     <target name="compile" depends="prereqs, compile.pre, compile.main, compile.post"/>
 
@@ -48,19 +50,19 @@
     <extension-point name="libs.pre"/>
     <extension-point name="libs.post"/>
     <target name="libs.main">
-    	<mkdir dir="${build.libs.dir}"/>
+	<mkdir dir="${build.libs.dir}"/>
     </target>
     <target name="libs.fetch" if="ivy.dep.file.present">
-        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar}" />
-        <ivy:retrieve conf="binaries" pattern="${build.libs.dir}/[artifact]-[revision].[ext]" />
-        <ivy:retrieve conf="sources"  pattern="${build.libs-src.dir}/[artifact]-[revision].[ext]" />
+	<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar}" />
+	<ivy:retrieve conf="binaries" pattern="${build.libs.dir}/[artifact]-[revision].[ext]" />
+	<ivy:retrieve conf="sources"  pattern="${build.libs-src.dir}/[artifact]-[revision].[ext]" />
     </target>
     <target name="libs" depends="libs.pre, libs.main, libs.fetch, libs.post"/>
 
     <extension-point name="clean.pre"/>
     <extension-point name="clean.post"/>
     <target name="clean.main">
-    <delete dir="${build.bin.dir}" />
+	<delete dir="${build.bin.dir}" />
     </target>
 	<target name="clean" depends="clean.pre, clean.main, clean.post"/>