~ubuntu-branches/ubuntu/precise/commons-httpclient/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/01_upstream_disable_examples_classes.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Barry Hawkins
  • Date: 2005-11-25 13:12:23 UTC
  • Revision ID: james.westby@ubuntu.com-20051125131223-sbf03ts0xmhwfmqw
Tags: 2.0.2-2
* Provide non-version-specific symlink "commons-httpclient.jar" to
  commons-httpclient-2.0.2.jar per Debian Java Policy Section 2.4
  (Closes: 340308)
* Added additional doc-base entry to point to main section of
  Jakarta Commons HttpClient documentation in addition to the 
  API Javadoc
* Maintainer email address updated for Barry Hawkins
* Upload sponsored by Petter Reinholdtsen

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 01_upstream_disable_examples_classes.dpatch by Barry Hawkins <barry@bytemason.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Add directives to exclude the compilation of problematic classes
 
6
## DP: shipped as part of the examples for this library.
 
7
 
 
8
--- commons-httpclient-2.0.2.orig/build.xml
 
9
+++ commons-httpclient-2.0.2/build.xml
 
10
@@ -236,7 +236,8 @@
 
11
            destdir     ="${build.home}/examples"
 
12
            debug       ="${compile.debug}"
 
13
            deprecation ="${compile.deprecation}"
 
14
-           optimize    ="${compile.optimize}">
 
15
+           optimize    ="${compile.optimize}"
 
16
+          excludes    ="MultipartFileUploadApp.java,ClientApp.java">
 
17
       <classpath refid="compile.classpath"/>
 
18
     </javac>
 
19
   </target>