1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Add a way to exclude some source file from build using
javac.excludes property (used in debian/ant.properties)
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2011-10-26
Forwarded: no
Index: b/cnf/build.xml
===================================================================
--- a/cnf/build.xml
+++ b/cnf/build.xml
@@ -49,7 +49,7 @@
-->
<target name="compile" depends="dependencies" if="project.sourcepath">
<mkdir dir="${project.output}" />
- <javac fork="yes" executable="${javac}" srcdir="${project.sourcepath}" destdir="${project.output}" classpath="${project.buildpath}" bootclasspath="${project.bootclasspath}" deprecation="true" listfiles="true" target="${javac.target}" source="${javac.source}" debug="${javac.debug}" includeAntRuntime="no" verbose="${verbose}" />
+ <javac fork="yes" executable="${javac}" srcdir="${project.sourcepath}" destdir="${project.output}" classpath="${project.buildpath}" bootclasspath="${project.bootclasspath}" deprecation="true" listfiles="true" target="${javac.target}" source="${javac.source}" debug="${javac.debug}" includeAntRuntime="no" verbose="${verbose}" excludes="${javac.excludes}" />
<!--
The eclipse compiler copies resources but the Javac compiler does not
If ${src} == ${bin} then this is not necessary, but unfortunately, now
|