[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#557685: libspring-web-2.5-java: Add dependencies to classpath



On Tue, 24 Nov 2009 00:09:13 +0530, Onkar Shinde <onkarshinde@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.

Cheers,
-- 
Damien


Reply to: