cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 14:59:44 Modified:.WHATSNEW src/main/org/apache/tools/ant/util FileUtils.java src/testcases/org/apache/tools/ant ProjectTest.java src/testcases/org/apache/tools/ant/taskdefs DirnameTest.java src/testca

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2005-02-04 Thread bodewig
bodewig 2005/02/03 23:57:00 Modified:src/testcases/org/apache/tools/ant Tag: ANT_16_BRANCH ProjectTest.java src/testcases/org/apache/tools/ant/types Tag: ANT_16_BRANCH CommandlineJavaTest.java src/testcases/org

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2004-08-08 Thread stevel
stevel 2004/08/08 14:03:21 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: fixed the test failure, added a proper self contained test. I have commented out the test that asserts that sourceTime==destTime implies up-to-dateness. This is an interesting p

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2004-08-04 Thread stevel
stevel 2004/08/04 12:54:21 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: sneak in an explicit test of the new file utils timestamp comparison stuff Revision ChangesPath 1.28 +2 -0 ant/src/testcases/org/apache/tools/ant/util/FileUtils

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-22 Thread Stefan Bodewig
it would be nice if anybody could run this test on Windows with the patched version. Thanks Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-22 Thread bodewig
bodewig 2003/07/22 07:52:45 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: removeLeadingPath doesn't work if leading is a filesystem root - found by Antoine Revision ChangesPath 1.22 +9 -0 ant/src/testcases/org/apache/tools/ant/util/F

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-16 Thread bodewig
bodewig 2003/07/16 03:43:15 Modified:src/main/org/apache/tools/ant/launch Locator.java src/main/org/apache/tools/ant/util FileUtils.java src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: Make toURI and fromURI work correctly on Netware.

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-12 Thread Antoine Levy-Lambert
ay, July 12, 2003 12:33 AM Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java > What about network shares that are not mapped to a > drive letter? Don't they begin with \\MachineName ? > > Cheers, > Magesh > > - Original Messag

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-12 Thread Steve Loughran
Antoine Levy-Lambert wrote: - Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 4:59 PM Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java is user.dir guarantee

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread Magesh Umasankar
What about network shares that are not mapped to a drive letter? Don't they begin with \\MachineName ? Cheers, Magesh - Original Message - From: "Antoine Levy-Lambert" <[EMAIL PROTECTED]> > - Original Message - > From: "Stefan Bodewig" <[EMAIL PROTECTED]> > > > > is user.dir

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread J.Pietschmann
Antoine Levy-Lambert wrote: On Windows AFAIK a path always begins with a drive letter. Let me know if Microsoft makes a revolution. Users can manually edit most stuff, for example they can set %systemdrive% to "", or start java with -Duser.home=foo, or do similar unpleasant stuff which will not nec

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread Antoine Levy-Lambert
- Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 4:59 PM Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java > is user.dir guaranteed to contain the drive lett

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread Stefan Bodewig
On 11 Jul 2003, <[EMAIL PROTECTED]> wrote: > + dosRoot = System.getProperty("user.dir").charAt(0) + ":/"; is user.dir guaranteed to contain the drive letter on Windows? I guess it's not guaranteed to do but always does. Stefan -

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-07-11 Thread antoine
antoine 2003/07/11 07:53:05 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: Allow FileUtilsTest to run on DOS/Windows when current drive letter is not C: PR: 21383 Submitted by: Brad Clarke ( bclarke at booksys dot com) Revision ChangesPath 1.

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-28 Thread antoine
antoine 2003/06/28 07:18:40 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: Make FileUtilsTest pass under cygwin I found doing this how to tell whether one is running under cygwin if the first letter (drive letter) of System.getProperty("user.dir") is l

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-24 Thread antoine
antoine 2003/06/24 09:07:27 Modified:.WHATSNEW src/main/org/apache/tools/ant/util FileUtils.java src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: Use java.io.tmpdir as location for temporary files in FileUtils#createTempFile (whe

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-24 Thread Steve Loughran
Martin Gainty wrote: Alright I'll ask the dumb question What happened on Jan 1 1601??? -Martin probably lots of things relevant to the people at the time. Of most interest to clocks is that by that day, the start of the seventeenth century, most of the western world had updated their calendars t

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-24 Thread Stefan Bodewig
On Mon, 23 Jun 2003, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > I am in the CET (Central European) Timezone. It has a difference of > 1 hour with GMT AFAIK. Remember Daylight Saving that's currently in effect, which means GMT+2 right now. Stefan --

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-24 Thread Martin Gainty
Alright I'll ask the dumb question What happened on Jan 1 1601??? -Martin - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Developers List" <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 9:15 PM Subject: Re: cvs commit: ant/sr

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-24 Thread Steve Loughran
Antoine Levy-Lambert wrote: Hi Steve, I am in the CET (Central European) Timezone. It has a difference of 1 hour with GMT AFAIK. I have taken this hour of difference already into account. Anyway the point is : trying to set the last modified time of a file to 123456 millis after the epoch does not

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-23 Thread Antoine Levy-Lambert
"Ant Developers List" <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 6:38 PM Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java > [EMAIL PROTECTED] wrote: > > > Note : > > I observed an error in the date/time returned b

Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-23 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Note : I observed an error in the date/time returned by java and what I would expect theoretically under Win 2000 and JDK 1.4.1_02 of 16,344,000 (16 millions of milliseconds), slightly more than 4 and a half hours. really? what TZ are you in? Big deltas are usuall

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-06-23 Thread antoine
antoine 2003/06/23 09:18:00 Modified:src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: Make FileUtilsTest pass on my machine (Windows 2000, JDK 1.4.1_02) 2 changes : - there was no luck with setting the date/time of a file to 123456 milliseconds since the epoch

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2003-05-19 Thread bodewig
bodewig 2003/05/19 08:55:23 Modified:src/main/org/apache/tools/ant/util FileUtils.java src/testcases/org/apache/tools/ant/util FileUtilsTest.java Log: removeLeadingPath didn't work as expected when trying to remove a path from itself. PR: 19979 Revision Chang