At 09:12 13/4/01 -0700, Craig R. McClanahan wrote:
>
>
>On Thu, 12 Apr 2001, Scott Sanders wrote:
>
>> > Another thing we have to consider is dependencies between jars. ie if
jar1
>> > depends on jar2, which depends on jar3 version 1.0 etc. First things
first
>> > though ;)
>> >
>> Baby steps ;-)
>>
>>
>
>The JDK 1.3 docs includes information on how JAR files can declare (in the
>manifest) their dependence on specific versions of specific packages. If
>you're running a webapp inside Tomcat 4, Tomcat will even check this for
>you to make sure that the required pacakges are available.
>
>I suggest we utilize the same techniques rather than re-inventing
>anything.
Thats fine for use but then you end up a setup like RPMs ... *shudder* ...
where every time you update a RPM you find another dependency ... only to
have it require another thing etc. It is much better to store this sorta
thing in meta info about the package and let the retriever crawl
edependency list *without* downloading jars.
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*