Jon Stevens wrote:
>
> There is nothing wrong with putting the version number on
> the .jar file and it help WAY to many people to do so.

I'm sure that putting the version number in a conspiquous place has helped
innumerable people.

However, as Craig pointed out:
>
> 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

Reply via email to