On Sun, May 08, 2005, Matthias KURZ wrote: > Some packages are expecting the ant jars under $ANT_HOME/lib and not > elsewhere. And they are also not looking for $ANT_LIB. That the jars can > be found under $ANT_HOME/lib is also described in the ant manual. > I changed the packaging of ant in this regard and i also included the docs. > Thanks for your changes, most of which are integrated into today's ant package:
ftp://ftp.openpkg.org/current/SRC/ant-1.6.3-20050509.src.rpm To build: $ openpkg rpm --rebuild --define 'with_docs yes' \ ftp://ftp.openpkg.org/current/SRC/ant-1.6.3-20050509.src.rpm I left the ant jars in libexec, to match the package structure of the other Java (j2se and j2ee) packages. I made the docs a conditional option for the same reason. Marking files with %docdir is going to be a one shot operation across all packages that include documentation. Looking at the %{l_prefix}/bin/ant program (as delivered by apache): # set ANT_LIB location ANT_LIB="${ANT_HOME}/lib" ...it seems that the ant launcher jar expects ANT_LIB to point to the jar lib directory and ANT_HOME to point to the parent ant directory. This is documented as well in the vendor WHATSNEW and welcome.html files. If you have some negative experience with this, it would be useful to know the details. Maybe some third party software is not using these variables correctly, or another defacto standard is beginning to form? Regards, Michael -- Michael Schloh von Bennewitz <[EMAIL PROTECTED]> Development Team, Operations Northern Europe Cable & Wireless Telecommunications Services Tel +49-89-92699-227, Fax +49-89-92699-808
pgpIZKs52NmgL.pgp
Description: PGP signature