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

« back to all changes in this revision

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

  • 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
 
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
10
 
@@ -1,6 +1,6 @@
11
 
 <?xml version="1.0" encoding="ISO-8859-1"?>
12
 
 
13
 
-<project name="statsvn" default="all" basedir=".">
14
 
+<project name="statsvn" default="jar" basedir=".">
15
 
 
16
 
        <property file="project.properties" />
17
 
        <property name="project" value="statsvn" />
18
 
@@ -93,6 +93,13 @@
19
 
                </java>
20
 
        </target>
21
 
 
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}" />
26
 
+       </target>
27
 
+
28
 
+
29
 
        <target name="init.tests">
30
 
                <!-- Create the build directory structure used by compile.tests -->
31
 
                <mkdir dir="${build.tests}" />