Once you have the reference point, you compare the elements. As
already
noted, comparing jars won't work. You have to compare their contents,
but
you're only interested in a boolean or bivalent Yes/No answer to the
question of whether there's a difference or not.
I'm curious as to why you say that comparing jars won't work. If the
jars have the same contents, they will produce different hashes or
checksums. If they have the same contents, they'll produce the same
checksum. If you're trying to make sure that people have exactly the
same jars installed that you are distributing, this seems sufficient to
me.
As far as your Lemon.class example is concerned, it seems to me easier
and safer to make sure that what's available is what you're
distributing, rather than depending on a different set up to produce
the same results.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden