svn commit: r518894 - /ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java

2007-03-16 Thread kevj
Author: kevj Date: Fri Mar 16 02:08:12 2007 New Revision: 518894 URL: http://svn.apache.org/viewvc?view=rev&rev=518894 Log: -added simple respondsTo method Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/util

svn commit: r518895 - /ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java

2007-03-16 Thread kevj
Author: kevj Date: Fri Mar 16 02:11:27 2007 New Revision: 518895 URL: http://svn.apache.org/viewvc?view=rev&rev=518895 Log: -typo (jeez) Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ReflectUtil.java U

svn commit: r518896 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread kevj
Author: kevj Date: Fri Mar 16 02:14:06 2007 New Revision: 518896 URL: http://svn.apache.org/viewvc?view=rev&rev=518896 Log: -use reflection to avoid duplicated code for close (various things that can be closed) Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java Modif

svn commit: r518897 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread kevj
Author: kevj Date: Fri Mar 16 02:17:02 2007 New Revision: 518897 URL: http://svn.apache.org/viewvc?view=rev&rev=518897 Log: -sorry prevent NullPointerException Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/ut

Re: svn commit: r518896 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread Peter Reilly
Please rollback this change. It is a misuse of reflection. Peter On 3/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: kevj Date: Fri Mar 16 02:14:06 2007 New Revision: 518896 URL: http://svn.apache.org/viewvc?view=rev&rev=518896 Log: -use reflection to avoid duplicated code for clo

Re: Enhance move, copy with @overwrite-if-filesmatch = false

2007-03-16 Thread Steve Loughran
Guntis Ozols wrote: Hi! I think move and copy tasks should be enhanced with overwrite-if-filesmatch boolean attribute. If set to false and source and target files match, target file modification time should be left unchanged. This way, long rebuilds triggered by small files can be avoided. What

Re: svn commit: r518896 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread Kevin Jackson
Hi Peter, Please rollback this change. It is a misuse of reflection. Why do you say it's a mis-use of reflection - the code was duplicated and using reflection we can remove the duplication, keep the interface the same and have the same behaviour as before. There may be a small amount of met

svn commit: r518941 - in /ant/core/trunk: CONTRIBUTORS contributors.xml docs/manual/CoreTasks/delete.html

2007-03-16 Thread jhm
Author: jhm Date: Fri Mar 16 04:32:29 2007 New Revision: 518941 URL: http://svn.apache.org/viewvc?view=rev&rev=518941 Log: Bug 41677: wrong example with .svn Modified: ant/core/trunk/CONTRIBUTORS ant/core/trunk/contributors.xml ant/core/trunk/docs/manual/CoreTasks/delete.html Modifie

DO NOT REPLY [Bug 41677] - Wrong example in the description of delete-task

2007-03-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: svn commit: r518896 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread Steve Loughran
Kevin Jackson wrote: Hi Peter, Please rollback this change. It is a misuse of reflection. Why do you say it's a mis-use of reflection - the code was duplicated and using reflection we can remove the duplication, keep the interface the same and have the same behaviour as before. There may be

svn commit: r518946 - in /ant/core/trunk/docs/manual/CoreTasks: loadfile.html loadresource.html

2007-03-16 Thread jhm
Author: jhm Date: Fri Mar 16 04:49:05 2007 New Revision: 518946 URL: http://svn.apache.org/viewvc?view=rev&rev=518946 Log: Bug 41642: document not-setting of the property on empty strings. (LoadResource.java:184) Modified: ant/core/trunk/docs/manual/CoreTasks/loadfile.html ant/core/trunk

DO NOT REPLY [Bug 41642] - loadfile does not set property if resulting value is an empty string

2007-03-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

svn commit: r518952 - /ant/core/trunk/docs/manual/CoreTasks/checksum.html

2007-03-16 Thread jhm
Author: jhm Date: Fri Mar 16 05:13:18 2007 New Revision: 518952 URL: http://svn.apache.org/viewvc?view=rev&rev=518952 Log: Show the used pattern. Modified: ant/core/trunk/docs/manual/CoreTasks/checksum.html Modified: ant/core/trunk/docs/manual/CoreTasks/checksum.html URL: http://svn.apache.

Re: Enhance move, copy with @overwrite-if-filesmatch = false

2007-03-16 Thread Guntis Ozols
Guntis Ozols wrote: > > I think move and copy tasks should be enhanced with > > overwrite-if-filesmatch boolean attribute. > > If set to false and source and target files match, > > target file modification time should be left unchanged. > > This way, long rebuilds triggered by small files can be a

Re: Enhance move, copy with @overwrite-if-filesmatch = false

2007-03-16 Thread Steve Loughran
Guntis Ozols wrote: Guntis Ozols wrote: I think move and copy tasks should be enhanced with overwrite-if-filesmatch boolean attribute. If set to false and source and target files match, target file modification time should be left unchanged. This way, long rebuilds triggered by small files can b

Re: Enhance move, copy with @overwrite-if-filesmatch = false

2007-03-16 Thread Guntis Ozols
Steve Loughran wrote: > > Guntis Ozols wrote: > >>> I think move and copy tasks should be enhanced with > >>> overwrite-if-filesmatch boolean attribute. > >>> If set to false and source and target files match, > >>> target file modification time should be left unchanged. > >>> This way, long rebuil

DO NOT REPLY [Bug 41871] New: - the file ant.bat in the package is wrong

2007-03-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: svn commit: r518896 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

2007-03-16 Thread Kevin Jackson
1. In Java5, all these things implement Closeable so you only need one method. I wish Java supported open classes - then this sort of trickery wouldn't be necessary - and yes I did consider adding a QuietlyClosable interface - but the amount of additional effort required to refactor everything w

[EMAIL PROTECTED]: Project antunit-test (in module ant-antlibs) failed

2007-03-16 Thread Gump Integration Build
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project antunit-test has an issue affecting its community integration. This issue affects

Wolfgang Häfelinger is out of the office.

2007-03-16 Thread Wolfgang Häfelinger
I will be out of the office starting 17-03-2007 and will not return until 26-03-2007. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[EMAIL PROTECTED]: Project test-ant (in module ant) failed

2007-03-16 Thread Gump Integration Build
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project test-ant has an issue affecting its community integration. This issue affects 1 p

[EMAIL PROTECTED]: Project test-ant-no-xerces (in module ant) failed

2007-03-16 Thread Gump Integration Build
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project test-ant-no-xerces has an issue affecting its community integration. This issue a