Am 17.10.2015 um 08:59 schrieb Andreas Tille: > 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 ...
Hi, you can safely remove copylibs.jar because it is only used when you build your projects with the Netbeans IDE. However the build still expects copylibs.jar in the lib directory, so you have to comment out libs.CopyLibs.classpath=lib/copylibs.jar in your projects.properties file. Updated patch is attached. P.S.: Should you ever really need this jar, you can find it in libnb-java5-java /usr/share/netbeans/java5/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar Regards, Markus
From: Markus Koschany <a...@gambaru.de> Date: Fri, 16 Oct 2015 23:05:52 +0200 Subject: build using Debian packaged jars --- buildconf/project.properties | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildconf/project.properties b/buildconf/project.properties index 1434886..308fabf 100755 --- a/buildconf/project.properties +++ b/buildconf/project.properties @@ -19,11 +19,11 @@ dist.dir=dist dist.jar=${dist.dir}/prottest-3.4.jar dist.javadoc.dir=${dist.dir}/javadoc excludes= -file.reference.AbsoluteLayout.jar=lib/AbsoluteLayout.jar -file.reference.appframework-1.0.3.jar=lib/appframework-1.0.3.jar -file.reference.alter.jar=lib/alter.jar -file.reference.mpj.jar=lib/mpj.jar -file.reference.pal.jar=lib/pal.jar +file.reference.AbsoluteLayout.jar=/usr/share/java/AbsoluteLayout.jar +file.reference.appframework-1.0.3.jar=/usr/share/java/bsaf.jar +file.reference.alter.jar=/usr/share/java/alter.jar +file.reference.mpj.jar=/usr/share/java/mpj.jar +file.reference.pal.jar=/usr/share/java/pal-cvs.jar file.reference.ProtTest-HPC-src=src file.reference.swing-worker-1.1.jar=lib/swing-worker-1.1.jar includes=** @@ -59,7 +59,7 @@ javadoc.windowtitle= # The library definition has always preference over this property. libs.absolutelayout.classpath=lib/AbsoluteLayout.jar #libs.CopyLibs.classpath=lib/org-netbeans-modules-java-j2seproject-copylibstask.jar -libs.CopyLibs.classpath=lib/copylibs.jar +#libs.CopyLibs.classpath=lib/copylibs.jar main.class=es.uvigo.darwin.prottest.ProtTest manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF
signature.asc
Description: OpenPGP digital signature