Re: Java libraries and proposal.
On Fri, Apr 06, 2001 at 04:32:17AM -0700, Seth Arnold wrote:
> * Ola Lundqvist <opal@debian.org> [010406 04:09]:
> > Build:
> > Is it possible to create a script that generates this automaticly?
> > Like a dh_javadeps... It should also generate the dependencies
> > in the control file...
>
> I like this idea. It *ought* to be fairly straightforward (famous last
> words) to implement this because Java programs declare all the classes
> they depend upon in the first few lines of their source programs, except
> for java.lang. (I don't know the Java spec well enough to know if the
> dependency information is used only at compile time or if the
> information is also available in the compiled .class files -- I bet it
> is available in the compiled .class files too.)
Well. Often it just includes foo.* and maybe just uses foo.bar.gax.gaz.
And maybe all .java files are not used in compilation.
But if it is in the .class files (with some simple script that can output
it) this is solved. :)
> Nice overview, BTW.
Thanks.
Regards,
// Ola
--
--------------------- Ola Lundqvist ---------------------------
/ opal@debian.org Björnkärrsgatan 5 A.11 \
| opal@lysator.liu.se 584 36 LINKÖPING |
| +46 (0)13-17 69 83 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
Reply to: