Re: java dependency substvars and native compilation
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.
Been there, done that.
Cheers,
Michael
--
.''`. | Michael Koch <konqueror@gmx.de>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B
Reply to: