~ubuntu-branches/ubuntu/saucy/statsvn/saucy

« back to all changes in this revision

Viewing changes to debian/patches/15-build-xml-build-jar-only.diff

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Fourmond
  • Date: 2010-03-16 21:32:06 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100316213206-1rublguvacx6gd0k
Tags: 0.7.0.dfsg-1
* New upstream release (closes: #572613)
* Switch to source format 3.0 (quilt)
* Drop build-dependency on dpatch, now unneeded
* Now conforms to standards 3.8.4
* Switch to a dependency on default-jdk for building
* Now depends on libsvnkit-java
* Manual page updates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 15-build-xml-build-jar-only.dpatch by  <fourmond@debian.org>
 
3
##
 
4
## DP: Only build the jar file during the build
 
5
 
 
6
@DPATCH@
 
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
 
11
@@ -1,6 +1,6 @@
 
12
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
13
 
 
14
-<project name="statsvn" default="all" basedir=".">
 
15
+<project name="statsvn" default="jar" basedir=".">
 
16
 
 
17
        <property file="project.properties" />
 
18
        <property name="project" value="statsvn" />
 
19
@@ -93,6 +93,13 @@
 
20
                </java>
 
21
        </target>
 
22
 
 
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}" />
 
27
+       </target>
 
28
+
 
29
+
 
30
        <target name="init.tests">
 
31
                <!-- Create the build directory structure used by compile.tests -->
 
32
                <mkdir dir="${build.tests}" />