File: 16_plugins_build_lib.diff

package info (click to toggle)
red5 1.0~svn4374-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,456 kB
  • sloc: java: 56,478; xml: 13,069; sh: 593; makefile: 33; jsp: 24
file content (40 lines) | stat: -rw-r--r-- 1,536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Use debian.build.classpath property
 for classpath of javac.
Author: Damien Raude-Morvan <drazzib@debian.org>
Last-Update: 2011-03-05
Forwarded: not-needed
--- a/plugins/tomcat/build.xml
+++ b/plugins/tomcat/build.xml
@@ -14,14 +14,15 @@
 	    <property name="classes.dir" value="bin"/>
 	    <property name="dist.dir" value="."/>
 	       
-	    <path id="project.classpath">
-	        <fileset dir="${red5.root}/lib"/>
-	        <pathelement location="${red5.root}/boot.jar"/>
-	        <pathelement location="${red5.root}/red5.jar"/>
-	        <!-- project specific libs -->
-	        <fileset dir="lib"/>
-	    </path>    
-	       
+        <path id="debian.build.classpath.id">
+                <pathelement path="${debian.build.classpath}"/>
+        </path>
+        <path id="project.classpath">
+                <path refid="debian.build.classpath.id" />
+                <pathelement location="${red5.root}/boot.jar"/>
+                <pathelement location="${red5.root}/red5.jar"/>
+        </path>
+
 	    <target name="prepare">
 	        <mkdir dir="${classes.dir}"/>
 	    </target>
@@ -39,7 +40,7 @@
 	        <ivy:retrieve conf="default" pattern="${basedir}/lib/[artifact](-[revision]).[ext]"/>
 	    </target>      
 	    
-	    <target name="compile" depends="prepare, retrieve">
+	    <target name="compile" depends="prepare">
 	        <condition property="java.target_version" value="1.6">
 	            <not>
 	                <isset property="java.target_version"/>