ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Ferguson" <willi...@mincom.com>
Subject RE: [Bug} jar Task
Date Wed, 06 Sep 2000 07:02:05 GMT
But it also means that you can never add a file to an existing jar, if
the file happens to a have timestamp earlier than that of the jar.
%JAVA_HOME%/bin/jar doesn't work this way.

William Ferguson

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this E-mail are the
opinion of the writer only and are not endorsed by Mincom Limited unless
expressly stated otherwise.


> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@bost.de]
> Sent: Wednesday, 6 September 2000 16:55
> To: ant-dev@jakarta.apache.org
> Subject: Re: [Bug} jar Task
>
>
> >>>>> "WF" == William Ferguson <williamf@mincom.com> writes:
>
>  WF> It seems that the jar task doesn't like adding a new file to an
>  WF> existing jar.
>
> The <zip>, <tar> and <jar> task all try to determine whether they need
> to do anything based on the timestamps of the archive to create and
> the timestamps of the files to add.
>
> If your archive already exists, you won't be able to add a file (by
> means of Ant) that is older than the archive. This is intended
> behavior because everything else would mean you'd have to look into
> the archive to retrieve the timestamps of the files within - which is
> rather costly.
>
> Stefan
>


Mime
View raw message