on 12/15/2000 10:50 AM, "Sam Ruby" <[EMAIL PROTECTED]> wrote:
>>
>> That makes building scripts dependent on these packages
>> much more painful than it needs to be -- it's not enough
>> to know what directory you've got these packages in, you
>> have to specify the version number as well.
>
> In concrete terms, to build jakarta tomcat 4.0 with the latest regexp, one
> needs to do the following:
>
> -Dregexp.home=D:\jakarta-regexp\jakarta-regexp-1.2
> -Dregexp.jar=D:\jakarta-regexp\jakarta-regexp-1.2\jakarta-regexp-1.2.jar
>
> To me, the last like seems to be kinda over doing it a bit ;-)
>
> What I would prefer, and would be much more consistent with the
> overwhelming majority of existing jakarta projects is "build dist" produced
> the following jar file:
>
> D:\dist\jakarta-regexp-1.2\regexp.jar
>
> Additionally, I would be in favor of standardizing - even if it is only
> across jakarta projects - a mechanism for embedding the version number in a
> standard location inside the jar file itself.
>
> - Sam Ruby
Actually, it doesn't. Ant 1.2 has features to deal with these issues now.
I have also discovered neat little tricks to deal with it as well. I'm going
to be repairing the broken things in Tomcat's build system.
Again, Sam, you keep trying to solve the wrong problems. The problem is in
the build system not dealing with things properly, not in the fact that
there are version numbers in the .jar files.
thanks,
-jon
--
Honk if you love peace and quiet.