Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 72050 invoked by uid 500); 13 Sep 2001 16:04:37 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 72033 invoked from network); 13 Sep 2001 16:04:37 -0000 X-Server-Uuid: 3522b0b4-89a9-11d4-b7bc-00104bcfa600 Message-ID: <87EE6B21C624D511B72400104BCF1EB01F6368@exch> From: "Jason Rogers" To: "'ant-user@jakarta.apache.org'" Subject: RE: Problems with the get task on Windows 2000 Date: Thu, 13 Sep 2001 12:03:33 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) X-WSS-ID: 17BE075C17680-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Someone did have problems with this before... I believe that the answer was that the server's clock was fast in relation to the client's clock. Do you get the same behavior after waiting a significant amount of time (say a day or so)? Is the server in the same time zone? -Jason > -----Original Message----- > From: Per Thomas Jahr [mailto:perja@newmad.no] > Sent: Thursday, September 13, 2001 11:00 AM > To: ant-user@jakarta.apache.org > Subject: Problems with the get task on Windows 2000 > > > Hi > > I'm using the task to install third party jar files > from a web > server (using the HTTP protocol) like this: > > > > > > dest="${lib}/file1.jar" > usetimestamp="true" > verbose="yes"/> > > > > According to the ant documentation the file should only > be downloaded if > the timestamp on the server is newer than the local copy. > This works > very well on Linux and ant reports "Not modified - so not > downloaded". > > But on Windows 2000 it downloads the file every time... > > I can't figure out whats wrong. Has anyone else had > problems with this? > > > My specifications: > > Web server: Apache > > Windows 2000: > > - Java 2 (1.3.1-b24, mixed mode) > - ant 1.3 (and I've also tested ant 1.4) > > Linux (Debian): > - Java 2 (Blackdown-1.3.1-FCS) > - ant 1.3 > > > > Thanks > Per Thomas Jahr > > > >