~ubuntu-branches/ubuntu/trusty/jsch/trusty

« back to all changes in this revision

Viewing changes to debian/patches/jsch-build-xml.patch

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-01-06 10:50:04 UTC
  • mfrom: (1.5.2) (4.1.3 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140106105004-7fyrf1i1o9fk6ul3
Tags: 0.1.50-1ubuntu1
* Resync with Debian unstable.
* Drop dependency on libjzlib-java for continued main inclusion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Removes date-stamp from the name of the resulting jar file
2
 
 and makes it use the manifest with OSGi-metadata.
3
 
 
4
 
Index: fix-for-803492-v2/build.xml
5
 
===================================================================
6
 
--- fix-for-803492-v2.orig/build.xml    2012-06-15 09:25:17.236436547 +0100
7
 
+++ fix-for-803492-v2/build.xml 2012-06-15 09:25:20.916447387 +0100
 
1
Description: Add OSGi metadata to the generated jar
 
2
Forwarded: not-needed
 
3
--- a/build.xml
 
4
+++ b/build.xml
8
5
@@ -49,7 +49,7 @@
9
6
     <mkdir dir="${dist}/lib"/>
10
7
 
11
8
     <!-- Put everything in ${build} into the MyProject-${version}.jar file -->
12
9
-    <jar jarfile="${dist}/lib/jsch-${version}.jar" basedir="${build}">
13
 
+    <jar jarfile="${dist}/lib/jsch.jar" basedir="${build}" manifest="debian/manifest.mf">
 
10
+    <jar jarfile="${dist}/lib/jsch-${version}.jar" basedir="${build}" manifest="debian/manifest.mf">
14
11
       <!--
15
12
       <manifest>
16
13
         <attribute name="Bundle-ClassPath" value="."/>
 
14
@@ -92,6 +92,7 @@
 
15
                destdir="${javadoc}"
 
16
        >
 
17
                <packageset dir="${src}"/>
 
18
+               <classpath refid="lib.path.ref"/>
 
19
        </javadoc>
 
20
   </target>
 
21
 </project>