ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: [GUMP@vmgump]: Project test-ant-no-xerces (in module ant) failed
Date Fri, 23 Feb 2007 09:27:46 GMT
On 2/23/07, Antoine Levy-Lambert <antoine@gmx.de> 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


Mime
View raw message