1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 15-build-xml-build-jar-only.dpatch by <fourmond@debian.org>
4
## DP: Only build the jar file during the build
7
diff -urNad statsvn-0.3.1.dfsg~/build.xml statsvn-0.3.1.dfsg/build.xml
8
--- statsvn-0.3.1.dfsg~/build.xml 2008-03-01 22:25:23.000000000 +0100
9
+++ statsvn-0.3.1.dfsg/build.xml 2008-03-01 22:25:52.000000000 +0100
11
<?xml version="1.0" encoding="ISO-8859-1"?>
13
-<project name="statsvn" default="all" basedir=".">
14
+<project name="statsvn" default="jar" basedir=".">
16
<property file="project.properties" />
17
<property name="project" value="statsvn" />
22
+ <target name="jar" depends="compile,copyfiles">
23
+ <!-- Creates an executable jar file for the project -->
24
+ <mkdir dir="${dist}" />
25
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}" />
29
<target name="init.tests">
30
<!-- Create the build directory structure used by compile.tests -->
31
<mkdir dir="${build.tests}" />