Bug#471209: libjsch-java: OSGi manifest

ROBERTOJIMENOCA at terra.es ROBERTOJIMENOCA at terra.es
Sun Mar 16 17:07:06 UTC 2008


Package: libjsch-java
Tags: patch

Michael Koch wrote:
> I'm currently in the process to merge my work into pkg-java svn. Its
> work in progress. Not finished yet.
>
> If you wanna help you can start by writing a patch for libjsch-java to
> add the OSGi manifest stuff to the Debian package.

Here is the OSGi manifest and the ant build file patch:
manifest.mf 
Bundle-ManifestVersion: 2
Bundle-Version: 0.1.37
Export-Package: com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true, com.jcraft.jsch.jcraft;x-internal:=true
Bundle-SymbolicName: com.jcraft.jsch
Bundle-Name: %bundleName
Bundle-Localization: plugin
Bundle-Vendor: %venderName
Bundle-ClassPath: .
Bundle-RequiredExecutionEnvironment: J2SE-1.4


--- jsch-0.1.37.orig/build.xml  2008-01-08 18:57:25.000000000 +0000
+++ jsch-0.1.37/build.xml       2008-03-16 17:11:27.000000000 +0000
@@ -42,7 +42,11 @@
     <mkdir dir="${dist}/lib"/>

     <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
-    <jar jarfile="${dist}/lib/jsch-${DSTAMP}.jar" basedir="${build}"/>
+    <jar
+        jarfile="${dist}/lib/jsch-${DSTAMP}.jar"
+        basedir="${build}"
+        manifest="manifest.mf"
+    />
   </target>

   <target name="examples"



Ahora también puedes acceder a tu correo Terra desde el móvil.
Infórmate pinchando aquí.







More information about the pkg-java-maintainers mailing list