Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 72051 invoked from network); 23 Feb 2007 09:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 09:28:12 -0000 Received: (qmail 83998 invoked by uid 500); 23 Feb 2007 09:28:19 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 83949 invoked by uid 500); 23 Feb 2007 09:28:18 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 83938 invoked by uid 99); 23 Feb 2007 09:28:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 01:28:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of peter.kitt.reilly@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Feb 2007 01:28:07 -0800 Received: by nf-out-0910.google.com with SMTP id o63so752167nfa for ; Fri, 23 Feb 2007 01:27:46 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ri489Zi6KDfYz4uJq1Za6sRwEWY3X0xlBNRJ1H1x9BMHz6eSwfFz+8tjdAPDXpczhMpg9Ke74Nc2OiIqLvxV6L9vDsC24Q8fQbOxKfOtBzD/sSwg74WLWIAcFJgDjZnj17xp68eCAucZOGRGd1swUEI9X57daVVHXW7tLqQAW7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cgFIl3asq/rrsyg/mPpPIvUCmi4clCzo4DkQoDirk1xBbq2dO+Hv6qN4fW87BalCcXkX+4MymP+gMn6C84TwhrWpvhOGx7YBtSVQKEahSxkfufyvKCn7Y6tSyr/xLe8Nx7hXgG3wHFKxJ9slwMpdWDM/MdrYuMjcowVp5jBr/UI= Received: by 10.82.136.4 with SMTP id j4mr376006bud.1172222866152; Fri, 23 Feb 2007 01:27:46 -0800 (PST) Received: by 10.82.153.18 with HTTP; Fri, 23 Feb 2007 01:27:46 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2007 09:27:46 +0000 From: "Peter Reilly" To: "Ant Developers List" Subject: Re: [GUMP@vmgump]: Project test-ant-no-xerces (in module ant) failed In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45d1e28d.2425b089.601e.ffffaa70SMTPIN_ADDED@mx.google.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/23/07, Antoine Levy-Lambert wrote: > Hello Peter, > > I am having a look at that by running : > > ant -f src/etc/testcases/taskdefs/get.xml testUseTimestamp > > [touch] Creating /Users/antoine/dev/asf/ant-core/src/etc/ > testcases/taskdefs/get.tmp > [get] Getting: http://www.apache.org/ > [get] To: /Users/antoine/dev/asf/ant-core/src/etc/testcases/ > taskdefs/get.tmp > [get] local file date : Thu Feb 22 19:18:00 EST 2007 > [get] ........... > [get] last modified = Wed Dec 31 19:00:00 EST 1969 - using That looks like the start of the unix epoch - i.e. timestamp = 0. Peter > current time instead > > This seems to mean that http://ant.apache.org/index.html does not > give back a valid modification date any more to HttpURLConnection. > > I have tried with a JDK 1.5.x and 1.4.2 on my Mac, in both cases the > result is the same. > > Next thing is to see whether I can get an intelligent last modified > date from other web sites. > > Regards, > > Antoine > > > On Feb 13, 2007, at 12:15 PM, Peter Reilly wrote: > > > this is due to: > > > > [junit] Testcase: > > testUseTimestamp(org.apache.tools.ant.taskdefs.GetTest): Caused an > > ERROR > > [junit] get w/ timestamp should have failed. > > [junit] /x1/gump/public/workspace/ant/src/etc/testcases/taskdefs/ > > get.xml:72: > > get w/ timestamp should have failed. > > [junit] at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java: > > 142) > > > > Peter > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org