cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-04-08 Thread bruce
bruce 2005/04/07 16:42:46 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Why not fix the comment while we are at it? Revision ChangesPath 1.93 +1 -1 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-04-07 Thread bruce
bruce 2005/04/06 16:14:00 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Improved heuristics on file timestamp granularity by adding an NTFS category and checking for it Revision ChangesPath 1.91 +18 -4

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-04-07 Thread Martijn Kruithof
+/** + * The granularity of timestamps under the NT File System. + * NTFS has a granularity of 100 nanoseconds, which is less + * than 1 millisecond, so we set this to 0. + */ +public static final long NTFS_FILE_TIMESTAMP_GRANULARITY = 0; Shouldn't this be 1,

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-04-07 Thread Bruce Atherton
Ok, I'll make this change. Martijn Kruithof wrote: +/** + * The granularity of timestamps under the NT File System. + * NTFS has a granularity of 100 nanoseconds, which is less + * than 1 millisecond, so we set this to 0. + */ +public static final long

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-04-07 Thread bruce
bruce 2005/04/07 12:59:35 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Round NTFS Granularity up rather than down Revision ChangesPath 1.92 +1 -1 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-02-04 Thread mbenson
mbenson 2005/02/04 08:12:47 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Personal taste Revision ChangesPath 1.87 +5 -6 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-02-04 Thread mbenson
mbenson 2005/02/04 08:18:10 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Javadoc (okay DD? ;) ) Revision ChangesPath 1.88 +4 -4 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-02-04 Thread mbenson
mbenson 2005/02/04 08:21:15 Modified:src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH FileUtils.java Log: Sync with HEAD Revision ChangesPath No revision No revision 1.56.2.10 +8 -9

RE: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-02-04 Thread Dominique Devienne
Javadoc (okay DD? ;) ) Perfect! Thanks for agreeing to split code changes from Javadoc changes into separate commits Matt ;-) It helps to better see the code changes amongst the sometimes numerous Javadoc changes. --DD - To

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-31 Thread mbenson
mbenson 2005/01/31 14:35:56 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Fixed isSymbolicLink logic for null parent file; made isAbsolutePath() public. Revision ChangesPath 1.86 +8 -4 ant/src/main/org/apache/tools/ant/util/FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-31 Thread mbenson
mbenson 2005/01/31 15:50:48 Modified:src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH FileUtils.java Log: Merge Revision ChangesPath No revision No revision 1.56.2.9 +8 -4

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-26 Thread mbenson
mbenson 2005/01/26 09:26:33 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Prepare to merge to 1.6 branch. Revision ChangesPath 1.85 +7 -7 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-26 Thread mbenson
mbenson 2005/01/26 09:31:04 Modified:src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH FileUtils.java Log: Sync with HEAD, minus two deprecation warnings. Revision ChangesPath No revision No revision

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-25 Thread mbenson
mbenson 2005/01/25 11:46:43 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Various aesthetic changes + isSymbolicLink() works when parent arg is null. Revision ChangesPath 1.84 +132 -170 ant/src/main/org/apache/tools/ant/util/FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2005-01-07 Thread jkf
jkf 2005/01/06 16:14:06 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: PR: 32979 Modification to FileUtils to only accept : on the second position as absolute path for dos-like os. Revision ChangesPath 1.82 +38 -38

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-12-10 Thread jglick
jglick 2004/12/10 15:18:22 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: If we can use File.getParentFile, there is presumably no reason to use FileUtils.getParentFile, right? Revision ChangesPath 1.76 +4 -3

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-12-07 Thread mbenson
mbenson 2004/12/07 15:32:32 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Various changes = fewer LOC Revision ChangesPath 1.75 +9 -32 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-12-03 Thread peterreilly
peterreilly2004/12/03 08:33:26 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: use the FileUtils#close method Revision ChangesPath 1.74 +7 -19 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-11-22 Thread peterreilly
peterreilly2004/11/22 10:18:42 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: checkstyle changes Obtained from: Kevin Jackson Revision ChangesPath 1.73 +3 -3 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java JavaEnvUtils.java

2004-10-08 Thread Steve Loughran
That reminds me, the forking rmic is broken. On Thu, 07 Oct 2004 10:48:21 +0200, Stefan Bodewig [EMAIL PROTECTED] wrote: On Thu, 07 Oct 2004, Steve Loughran [EMAIL PROTECTED] wrote: 0. I don't have access to a VAX myself I'd probably prefer an Alpha for the tests anyway 8-) 2. See

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java JavaEnvUtils.java

2004-10-07 Thread Steve Loughran
0. I don't have access to a VAX myself (unless I grab the source and try cross compiling to x86 and hosting in a vmware window :) 1. I think because java has a special -v option, it doesn't need the launcher script. But in that case, it doesn't make any difference and could be left consistent

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java JavaEnvUtils.java

2004-10-07 Thread Stefan Bodewig
On Thu, 07 Oct 2004, Steve Loughran [EMAIL PROTECTED] wrote: 0. I don't have access to a VAX myself I'd probably prefer an Alpha for the tests anyway 8-) 2. See #1. As forking rmic uses java, it will get this for free. But you changed code for forking javac and I think the code for forking

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java JavaEnvUtils.java

2004-10-06 Thread stevel
stevel 2004/10/06 15:41:52 Modified:src/main/org/apache/tools/ant/taskdefs/compilers DefaultCompilerAdapter.java JavacExternal.java src/main/org/apache/tools/ant/taskdefs Execute.java Java.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-08-04 Thread stevel
stevel 2004/08/03 16:18:35 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: 1. some factoring out of the timestamp checks for even more reuse. That way the granularity logic can all go in one place. 2. a refactoring of close() to ignore exceptions. I made this

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-04-21 Thread bodewig
bodewig 2004/04/21 00:12:29 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: One not too much Revision ChangesPath 1.67 +2 -2 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-04-20 Thread stevel
stevel 2004/04/20 08:02:38 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: move to the Java1.2 implementation. Revision ChangesPath 1.66 +14 -22ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-04-20 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: +/** + * get the granularity of file timestamps. + * The choice is made on OS, which is incorrect -it should really be + * by filesystem. We do not have an easy way to probe for file systems, + * however. Funny you should mention

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2004-04-20 Thread Steve Loughran
Matt Benson wrote: --- [EMAIL PROTECTED] wrote: +/** + * get the granularity of file timestamps. + * The choice is made on OS, which is incorrect -it should really be + * by filesystem. We do not have an easy way to probe for file systems, + * however. Funny you should

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-11-20 Thread peterreilly
peterreilly2003/11/20 04:08:17 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Check if parent file is not null before using it Revision ChangesPath 1.59 +3 -3 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-11-20 Thread peterreilly
peterreilly2003/11/20 05:34:13 Modified:src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH FileUtils.java Log: Sync with head Revision ChangesPath No revision No revision 1.56.2.2 +3 -3

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-10-24 Thread stevel
stevel 2003/10/23 22:44:03 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: comment Revision ChangesPath 1.58 +7 -4 ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-09-25 Thread bodewig
bodewig 2003/09/25 05:36:20 Modified:docs/manual/CoreTasks exec.html src/main/org/apache/tools/ant DirectoryScanner.java src/main/org/apache/tools/ant/taskdefs Execute.java src/main/org/apache/tools/ant/util FileUtils.java Log: improved

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-09-25 Thread bodewig
bodewig 2003/09/25 05:36:31 Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH exec.html src/main/org/apache/tools/ant Tag: ANT_16_BRANCH DirectoryScanner.java src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-07-22 Thread bodewig
bodewig 2003/07/22 07:53:55 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: removeLeadingPath doesn't work if leading is a filesystem root - found by Antoine Revision ChangesPath 1.51 +7 -5 ant/src/main/org/apache/tools/ant/util/FileUtils.java

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-07-22 Thread Antoine Levy-Lambert
Test of the new version done, needed one correction. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 4:58 PM Subject: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java antoine 2003/07/22 07:58:48 Modified:src

Re: cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-07-22 Thread Stefan Bodewig
On 22 Jul 2003, [EMAIL PROTECTED] wrote: there was still a little bone :) Argh, thanks! Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java TimeoutObserver.java

2003-07-05 Thread conor
conor 2003/07/05 07:34:14 Modified:src/etc/checkstyle checkstyle-config checkstyle-frames.xsl checkstyle-xdoc.xsl src/main/org/apache/tools/ant PropertyHelper.java src/main/org/apache/tools/ant/listener

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-07-04 Thread conor
conor 2003/07/04 06:22:43 Modified:src/main/org/apache/tools/ant/util FileUtils.java Log: Remove double-check pattern. Revision ChangesPath 1.46 +29 -24ant/src/main/org/apache/tools/ant/util/FileUtils.java Index: FileUtils.java

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-06-26 Thread antoine
antoine 2003/06/26 08:21:13 Modified:.WHATSNEW src/main/org/apache/tools/ant/util FileUtils.java Log: Make filtersets preserve line endings Revision ChangesPath 1.448 +2 -0 ant/WHATSNEW Index: WHATSNEW

cvs commit: ant/src/main/org/apache/tools/ant/util FileUtils.java

2003-06-25 Thread bodewig
bodewig 2003/06/25 03:31:45 Modified:src/main/org/apache/tools/ant/taskdefs FixCRLF.java src/main/org/apache/tools/ant/util FileUtils.java Log: Make fixcrlf work even with /tmp on a separate filesystem Revision ChangesPath 1.48 +8 -34