[Debian-med-packaging] How to replace eclipse compiler in libsis-jhdf5-java

Andreas Tille andreas at fam-tille.de
Wed Sep 19 21:17:24 BST 2018


On Wed, Sep 19, 2018 at 09:53:49PM +0200, Emmanuel Bourg wrote:
> 
> Java 11 will soon be the default (maybe next week for the GA release?),
> so I recommend aiming for a long term solution.

ACK.  Unfortunately my change

--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 11~),
                libcommons-lang-java,
                libcommons-io-java,
                libecj-java,
+               libjaxb-java,
                libsis-base-java (>= 18.08.0~),
                libhdf5-dev (>> 1.8.13),
                libargs4j-java,
diff --git a/debian/patches/use_debian_packaged_libs.patch b/debian/patches/use_debian_packaged_libs.patch
index 0f66026..4621e64 100644
--- a/debian/patches/use_debian_packaged_libs.patch
+++ b/debian/patches/use_debian_packaged_libs.patch
@@ -1,6 +1,6 @@
 --- a/.classpath
 +++ b/.classpath
-@@ -4,18 +4,17 @@
+@@ -4,18 +4,18 @@
        <classpathentry kind="src" path="sourceExamples/java"/>
        <classpathentry kind="src" path="sourceTest/java"/>
        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
@@ -18,6 +18,7 @@
 -      <classpathentry kind="lib" path="libs/prod/commons-io-2.6.jar" sourcepath="libs/prod/commons-io-2.6-sources.jar"/>
 -      <classpathentry kind="lib" path="libs/prod/sis-base-18.08.0.jar" sourcepath="libs/prod/sis-base-18.08.0-sources.jar"/>
 +      <classpathentry kind="lib" path="/usr/share/java/ecj.jar"/>
++      <classpathentry kind="lib" path="/usr/share/java/jaxb-core.jar"/>
 +      <classpathentry kind="lib" path="/usr/share/java/hamcrest-core.jar"/>
 +      <classpathentry kind="lib" path="/usr/share/java/hamcrest-integration.jar"/>
 +      <classpathentry kind="lib" path="/usr/share/java/hamcrest-library.jar"/>


isn't doing the job.  How to use jaxb properly?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list