On Tue, Nov 24, 2009 at 8:27 PM, Damien Raude-Morvan <dam...@raude-morvan.com> wrote: > On Tue, 24 Nov 2009 00:09:13 +0530, Onkar Shinde <onkarshi...@ubuntu.com> > wrote: > > Hi Onkar, > >> Please add the dependencies of this package to the classpath so that >> (build)rdepends don't have to specifically take into consideration those >> depedencies. > > Nice idea, I'll try to do that on Spring Framework JARs (12). > > BTW, did someone already used tools out there to automate this ? > - build 'Class-Path' entry from CDBS DEB_JARS variable (with excluding > capabilities - junit, antlr, ant-*) > - or use 'Class-Path' entry from JAR to generate Depends field in > debian/control > - or use Maven pom.xml "dependencies" to generate Depends field AND > 'Class-Path' entry > > I've found java-propose-classpath on Debian wiki > (http://wiki.debian.org/Java/Packaging) but I've never used it. > And it seems only > > Without some tooling, maintaining all this (POM/Depends field/Class-Path > entry) in sync by hand seems very error-prone.
jh_depends and jh_classpath from javahelper may be useful. I have never used those tools personally. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org