On Tue, May 10, 2005, Matthias Kurz wrote: > On Mon, May 09, 2005, Michael Schloh wrote: >> On Sun, May 08, 2005, Matthias KURZ wrote: > [...] > word to the installation. I used the tar|tar thing, because i was not sure > that all supported platforms support a mv across filesystem boundaries. I'd > be much happier if i could do this. All platforms i use are supporting the > mv across filesystem boundaries. > Good point. Do you know of any modern (<5 years old) OSs whose mv(1) cannot cross a filesystem boundary? If this is found to be a problem we have a few hundred cases in the spec files which need consideration.
>> 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.
>
> Well, that's a matter of interpretation. I'd say the launcher expects the
> jars in $(ANT_HOME)/lib.
>
The ant package sets by default:
ANT_HOME=%{l_prefix}/libexec/ant
The OpenPKG launcher %{l_prefix}/bin/ant sets:
ANT_LIB=%{l_prefix}/libexec/ant/lib
The vendor ant package structure (which is reflected by the packaging) is:
<untarred_ant>/bin/<ant_launcher>
<untarred_ant>/lib/<jars_here>
<untarred_ant>/doc/<html_docs_here>
Is there a mistake here or something to improve (other than
lib/libexec/share possibilities)?
> I'm still waiting for someone looking for $(ANT_HOME)/etc/*xsl. But
> it's not packaged, anyway, until now.
>
Interesting. I'm also not sure why this was left out. Since today, the ant
package contains the .xsl files and ant-bootstrap.jar is copied to ant's lib
subdirectory as suggested in apache docs. The .xsl files are not tagged as
config files, however. I just hope no additional substitutions are needed to
allow ant to find the .xsl files.
URL: ftp://ftp.openpkg.org/current/SRC/ant-1.6.3-20050510.src.rpm
$ openpkg rpm --rebuild
ftp://ftp.openpkg.org/current/SRC/ant-1.6.3-20050510.src.rpm
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
pgpgpKcaA2tST.pgp
Description: PGP signature
