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: 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: 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