[Debian-med-packaging] How to replace eclipse compiler in libsis-jhdf5-java
Andreas Tille
andreas at fam-tille.de
Thu Sep 20 07:48:48 BST 2018
Hi again,
On Wed, Sep 19, 2018 at 11:29:20PM +0200, Emmanuel Bourg wrote:
> Le 19/09/2018 à 22:17, Andreas Tille a écrit :
>
> > isn't doing the job. How to use jaxb properly?
>
> Did you also change the import statement in HDFHelper.java? The package
> is slightly different. com.sun.xml.internal.bind.v2.runtime becomes
> com.sun.xml.bind.v2.runtime.
After this patch
https://salsa.debian.org/med-team/libsis-jhdf5-java/commit/db984822e24beaa5ac4318c40630644ef5800a04
I get
...
All input files are considered out-of-date for incremental task ':compileJava'.
Compiling with Java command line compiler 'java'.
Starting process 'command 'java''. Working directory: /build/libsis-jhdf5-java-18.09.0-pre1+dfsg Command: java -cp /usr/share/java/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main -nowarn @/build/libsis-jhd
Successfully started process 'command 'java''
----------
1. ERROR in /build/libsis-jhdf5-java-18.09.0-pre1+dfsg/source/java/ch/systemsx/cisd/hdf5/hdf5lib/HDFHelper.java (at line 35)
import com.sun.xml.bind.v2.runtime.Name;
^^^^^^^^^^^^^^^^
The import com.sun.xml.bind cannot be resolved
----------
1 problem (1 error)
:compileJava FAILED
:compileJava (Thread[Task worker for ':',5,main]) completed. Took 5.328 secs.
Seems I did not fully implemented your suggestion.
Thanks a lot for your help and patience
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list