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
Index: statsvn-0.7.0.dfsg/build.xml
8
===================================================================
9
--- statsvn-0.7.0.dfsg.orig/build.xml 2010-03-08 20:25:30.347534255 +0100
10
+++ statsvn-0.7.0.dfsg/build.xml 2010-03-08 20:25:34.015528882 +0100
12
<?xml version="1.0" encoding="ISO-8859-1"?>
14
-<project name="statsvn" default="all" basedir=".">
15
+<project name="statsvn" default="jar" basedir=".">
17
<property file="project.properties" />
18
<property name="project" value="statsvn" />
23
+ <target name="jar" depends="compile,copyfiles">
24
+ <!-- Creates an executable jar file for the project -->
25
+ <mkdir dir="${dist}" />
26
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}" />
30
<target name="init.tests">
31
<!-- Create the build directory structure used by compile.tests -->
32
<mkdir dir="${build.tests}" />