Re: Solution for CLASSPATH
Hello
On Sat, Apr 19, 2003 at 02:51:17PM -0700, Nicos Panayides wrote:
> On Sat, 2003-04-19 at 09:15, Mark Howard wrote:
> > On Sat, 2003-04-19 at 12:40, Nicos Panayides wrote:
> > > What do you think?
> >
> > sounds good
> >
> > What happens if a class is in multiple jar files? which will be used?
>
> It is arbitrary (the ordering depends on the order java.Files.getFiles()
> returns filenames. That is why classes should have a unique name (this
> is the case for most packages, if not all) and it has the same effect as
> adding everything in the classpath.
That will be a problem. I have been hit by it several times when
packaging bigger applications. The idea is good though. I just want
it extended with the possibility of it using the package
dependencies or a similar dep-tree. See one of the wishlist bugs against
java-common.
> > Does this has any performance impact? (i.e. does it take a while to
> > search through the jar files).
> Well, I didn't notice any slowdown, but unless more testing is made I
> can't tell you for sure.
Regards,
// Ola
> Nicos
>
>
> --
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
--------------------- Ola Lundqvist ---------------------------
/ opal@debian.org Annebergsslingan 37 \
| opal@lysator.liu.se 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +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: