File: debian-libs.patch

package info (click to toggle)
libjpfcodegen-java 0.4%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 260 kB
  • ctags: 86
  • sloc: java: 601; xml: 232; sh: 12; makefile: 6
file content (33 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download | duplicates (3)
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
Description: use Debian libraries
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-01-27

--- a/build.xml
+++ b/build.xml
@@ -31,14 +31,14 @@
 	<property name="jar" value="JPFCodeGenerator-${version}" />
 	<property name="build" value="build" />
 	<property name="src" value="src" />
-	<property name="lib" value="lib" />
+	<property name="lib" value="/usr/share/java" />
 
 	<!-- Build classpath -->
 	<path id="classpath">
 		<pathelement path="${build}" />
 		<pathelement location="${lib}/jpf.jar" />
 		<pathelement location="${lib}/jpf-boot.jar" />
-		<pathelement location="${lib}/velocity-dep-1.5.jar" />
+		<pathelement location="${lib}/velocity.jar" />
 		<pathelement location="${lib}/commons-logging.jar" />
 	</path>
 
@@ -57,7 +57,7 @@
 	</target>
 
 	<!-- Jars up project -->
-	<target name="jars" depends="compile, unjarlib">
+	<target name="jars" depends="compile">
 		<jar destfile="${jar}.jar">
 			<fileset dir="${build}" />
 			<fileset dir=".">