Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.java Subject: Re: Help getting missing classes found by prottest Date: Sat, 17 Oct 2015 09:00:02 +0200 Message-ID: References: X-Original-To: Debian Java List , Debian Med Packaging Team X-Mailbox-Line: From debian-java-request@lists.debian.org Sat Oct 17 06:59:25 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-3.89 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, LDO_WHITELIST=-5, MEDS2=2, MURPHY_DRUGS_REL8=0.02, T_RP_MATCHES_RCVD=-0.01] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: archive/latest/18793 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20151017065911.GF14042@an3as.eu Approved: robomod@news.nic.it Lines: 115 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 17 Oct 2015 08:59:11 +0200 X-Original-Message-ID: <20151017065911.GF14042@an3as.eu> X-Original-References: <20151016202647.GD14042@an3as.eu> <56216B78.9010800@gambaru.de> <56216CE2.9030108@apache.org> <20151016222103.GE14042@an3as.eu> Xref: csiph.com linux.debian.maint.java:8478 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi again, I simply removed -init-macrodef-copylibs from the build target which was probably a bit to dumb as a solution. Now the classes ar built but it seems copylibs is the part of netbeans that creates the JAR. I'm sure some Java programmer will give a hint how to replace it for the Debian package ... Thanks a lot Andreas. On Sat, Oct 17, 2015 at 12:21:03AM +0200, Andreas Tille wrote: > Hi > > On Fri, Oct 16, 2015 at 11:32:18PM +0200, Emmanuel Bourg wrote: > > Le 16/10/2015 23:26, Markus Koschany a écrit : > > > > > P.S.: Please note that the swing-worker.jar is still imported from the > > > libs directory. I don't know if this one is already packaged for Debian. > > > > I don't think we have it, but SwingWorker is a standard class of the JDK > > since Java 6, it should be easy to adapt the code to use it. > > Thanks to Markus's patch I was able to build the package. However, > after now removing all *.jar files I have a new problem: > > ... > -do-jar-with-libraries: > > BUILD FAILED > /build/prottest-3.4+dfsg/buildconf/build-impl.xml:595: The following error occurred while executing this line: > /build/prottest-3.4+dfsg/buildconf/build-impl.xml:429: taskdef class org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs cannot be found > using the classloader AntClassLoader[] > > Total time: 4 seconds > dh_auto_build: ant returned exit code 1 > ... > > > How can I resolve this netbeans dependency? > > Moreover I have no idea how to tweak > > src/main/resources/runProtTestHPC.sh > > which I copied to debian/bin to properly use mpj. It is referencing a > mpjrun.sh script that was part of the (now also removed code copy of mpj) > which in turn uses a starter.jar that is not part of the libmpj-java > package: > > java -jar $MPJ_HOME/lib/starter.jar "$@" > > I wonder how to easily use prottest mpi features (once the build problem > might be solved). > > Thanks for any help > > Andreas. > > -- > http://fam-tille.de > > _______________________________________________ > Debian-med-packaging mailing list > Debian-med-packaging@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging > -- http://fam-tille.de --3V7upXqbjpZ4EhLz Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="suppress_copylibs.patch" --- a/buildconf/build-impl.xml +++ b/buildconf/build-impl.xml @@ -577,26 +577,15 @@ is divided into following sections: java -cp "${run.classpath.with.dist.jar}" ${main.class} - + - - - - - - To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" - - - - - - + To run this application from the command line without Ant, try: java -jar "${dist.jar.resolved}" --3V7upXqbjpZ4EhLz--