File: build_excludes.diff

package info (click to toggle)
bnd 1.50.0-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,828 kB
  • sloc: java: 39,896; xml: 1,572; makefile: 112; sh: 53
file content (18 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download | duplicates (2)
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