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

Re: java dependency substvars and native compilation



* Michael Koch:

> On Thu, May 03, 2007 at 03:51:11AM +0200, Florian Weimer wrote:
>> * Matthew Johnson:
>> 
>> > Two subjects to this mail. Firstly, I had a go at writing a dh_javadeps
>> > which will search for jar files, find the classes they reference and
>> > find the packages they are in. This can be found at
>> > http://mjj29.matthew.ath.cx/dh_javadeps It updates $package.substvars so
>> > you can use ${java:Depends} in control files.
>> 
>> I assume that nowadays, you want to set the Classpath: attribute in
>> JARs, so that you don't have to list all dependencies recursively in
>> wrapper scripts.  This means that the dependency information is
>> already needed when building the JAR file.
>
> This is no replacement for package dependencies. And its not very
> optimal.

What I meant is that you need to determine the dependencies earlier in
the process, not just when writing the control file.



Reply to: