Fwd: Correct way to detect JAR dependencies

2016-12-01 Thread Jose Gutierrez de la Concha
Hi, I trying to figure what is the correct way to declare dependencies of JAR files from other packages, I first asked this in debian-debel, but have been forwarded to this list, see forwarded message below. -- Forwarded message -- From: Jose Gutierrez de la Concha Date: Thu, De

Re: Fwd: Correct way to detect JAR dependencies

2016-12-01 Thread Emmanuel Bourg
Hi Jose, For ${java:Depends} to be properly populated with the package dependencies you have to ensure the jar files in your package have a Class-Path attribute in their MANIFEST.MF file. But if you don't want to mess with the manifests you can simply put the dependencies manually in debian/contro

Re: Java version

2016-12-01 Thread Emmanuel Bourg
Le 26/11/2016 à 21:45, Hannu R a écrit : > The default jre is old, version 7. Can it be updated to 8? Hi Hannu, You can install Java 8 from the jessie-backports repository if you need a more recent version. Emmanuel Bourg

Re: Fwd: Correct way to detect JAR dependencies

2016-12-01 Thread Jose Gutierrez de la Concha
Hi Emmanuel, My JAR has already a Class-Path entry in MANIFEST.MF Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.7 Created-By: 1.8.0_102-8u102-b14.1-2-b14 (Oracle Corporation) Main-Class: IceGridGUI.Main Class-Path: file:///usr/share/java/ice-3.6.3.jar file:///usr/share/java/icelocatordiscove

Re: mh_resolve_dependencies (was Re: Configuring Jersey Client in tomcat8)

2016-12-01 Thread Emmanuel Bourg
Le 29/11/2016 à 13:22, Thorsten Glaser a écrit : > Now, to the other real problem: how to tell mh_resolve_dependencies > to ignore some? (Case in point, multi-module project with parent POM > and several module POMs which depend on each other; the maven helper > stuff tries to find a Debian packag

Re: Fwd: Correct way to detect JAR dependencies

2016-12-01 Thread Emmanuel Bourg
Le 2/12/2016 à 00:24, Jose Gutierrez de la Concha a écrit : > Do I need to pass any params to dh maybe --with javahelper? Yes you'll need "--with javahelper", and probably a different format for the Class-Path elements. I'm not sure file:// URLs are supported, try absolute paths to the versionle

RE: Version failures creating a package with mh_make on Sid

2016-12-01 Thread Ingo Bauersachs
> I'm trying to package dnssecjava (ITP 845371). I used mh_make on Jessie to > do this and succeeded to upload a version to mentors. Emmanuel asked me to > do the packaging on Sid instead, where I'm now failing. > > What I did so far: > - apt install'ed maven-debian-helper and the required (Maven-

Re: Solr-jetty in testing

2016-12-01 Thread Emmanuel Bourg
Hi TheSin, Thank you for reporting this issue. You may want to get a look into the Jetty log files and see if there is a relevant error message, but I don't think it's worth investing too much time on this 4 years old version of Solr. I still plan to update it but I doubt it'll be ready for Stretc