Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-23 Thread Kev Jackson
On 23 Aug 2006, at 11:38, Stefan Bodewig wrote: On Wed, 23 Aug 2006, Kev Jackson <[EMAIL PROTECTED]> wrote: I want to run this by people here to see what people think of this. Basically DirectoryScanner has some duplicated code [ accountForIncludedFile, accountForIncludedDir ], I think I have

Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-23 Thread Kev Jackson
Hi Stefan, (and other interested devs) For additional testing I've created a directory/file structure like 1/ 1 2/ 2 3/ 3 4/ ie a single file under a directory, the tree is 1038+ layers deep and there is no difference between the original time taken by the DirectoryScanner code and

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

2006-08-23 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 svn-antlib-test has an issue affecting its community integration. This issue affe

DO NOT REPLY [Bug 40291] - classpath uses colon, ":", as path separator under windows

2006-08-23 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

DO NOT REPLY [Bug 40300] - Message not helpful

2006-08-23 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

DO NOT REPLY [Bug 40152] - rmic: Ant 1.7 adds -vcompat when building iiop stubs

2006-08-23 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: classloader for 1.7

2006-08-23 Thread Peter Reilly
The one in 1.6 does not work. The proposed one is totally different. see http://enitsys.sourceforge.net/ant-classloadertask/ Peter On 8/23/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote: On Tue, 22 Aug 2006, Peter Reilly <[EMAIL PROTECTED]> wrote: > If it is not a little too late, I would like

Re: classloader for 1.7

2006-08-23 Thread Peter Reilly
Yes, classloader issues do give me headaches. I see a number of use cases for the classloader task; 1) stop the need to do add third-party jars to ~/.ant/lib for the ant optional tasks. This could be avoided if all the optional task are converted a la junit, but that would be a big job.

DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0

2006-08-23 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: classloader for 1.7

2006-08-23 Thread Antoine Levy-Lambert
Hello Peter, I have just had a look at the link provided. It looks powerful. Cool that it already has documentation. Regards, Antoine On Aug 23, 2006, at 2:26 PM, Peter Reilly wrote: The one in 1.6 does not work. The proposed one is totally different. see http://enitsys.sourceforge.net/ant-c

Re: [site] Separate svn directoy for WebSite?

2006-08-23 Thread Antoine Levy-Lambert
On Aug 23, 2006, at 7:44 AM, Stefan Bodewig wrote: Hi, ... What it doesn't contain right now are the static files that are directly inside of the ./docs directory. The easiest solution would be to move them to ./xdocs in core and copy them to ./docs in core and ./generated in site. this s

Re: [Vote promote ant-vss antlib to antlibs proper] result/summary

2006-08-23 Thread Antoine Levy-Lambert
On Aug 23, 2006, at 7:42 AM, Kev Jackson wrote: On 23 Aug 2006, at 10:57, Stefan Bodewig wrote: On Wed, 23 Aug 2006, Kev Jackson <[EMAIL PROTECTED]> wrote: With the 1.7.0 beta scheduled for the next few days, I'd like to resolve some of the peripheral issues, and if the consensus is to dro

svn commit: r434029 - in /ant/core/trunk: ./ docs/manual/CoreTasks/ src/etc/testcases/taskdefs/rmic/ src/main/org/apache/tools/ant/taskdefs/rmic/ src/testcases/org/apache/tools/ant/taskdefs/

2006-08-23 Thread stevel
Author: stevel Date: Wed Aug 23 05:36:25 2006 New Revision: 434029 URL: http://svn.apache.org/viewvc?rev=434029&view=rev Log: bug ID#38732 , rmic task doesn't work with -Xnew and JDK 6.0 Fixed by writing a new adapter, xnew, that extends the forking adapter and sets the -Xnew argument. Tests sup

svn commit: r434030 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/XNewRmic.java

2006-08-23 Thread stevel
Author: stevel Date: Wed Aug 23 05:36:46 2006 New Revision: 434030 URL: http://svn.apache.org/viewvc?rev=434030&view=rev Log: bug ID#38732 , rmic task doesn't work with -Xnew and JDK 6.0 Fixed by writing a new adapter, xnew, that extends the forking adapter and sets the -Xnew argument. Tests sup

DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0

2006-08-23 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

DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0

2006-08-23 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

DO NOT REPLY [Bug 15567] - weblogic deploy

2006-08-23 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: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-23 Thread Antoine Levy-Lambert
On Aug 23, 2006, at 7:26 AM, Kev Jackson wrote: Hi, I want to run this by people here to see what people think of this. Basically DirectoryScanner has some duplicated code [ accountForIncludedFile, accountForIncludedDir ], I think I have a refactored processIncluded method that can repl

DO NOT REPLY [Bug 16604] - Java task classpath problems on JDK 1.2 and Windows 9x

2006-08-23 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

DO NOT REPLY [Bug 37618] - APT task fails with too many files

2006-08-23 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

DO NOT REPLY [Bug 35887] - ExitException exitcode is lost

2006-08-23 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

DO NOT REPLY [Bug 34936] - java.io.IOException: cvs: not found when calling ant from crontab

2006-08-23 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

DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0

2006-08-23 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

DO NOT REPLY [Bug 28514] - Ant 1.6.1 and weblogic 8.1 ant tasks

2006-08-23 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: Can DefaultLogger record the time on each target transition?

2006-08-23 Thread Paul Hammant
Jeffrey, In addition to backwards compatibility, there are other issues to consider: 1) Granularity: why limit timing data to targets? why not extend it to tasks as well? Personally, I'm not interested in timing tasks. Perhaps that could be debated another time. 2) Filtering: do yo

svn commit: r434055 - /ant/core/trunk/lib/libraries.properties

2006-08-23 Thread stevel
Author: stevel Date: Wed Aug 23 07:47:45 2006 New Revision: 434055 URL: http://svn.apache.org/viewvc?rev=434055&view=rev Log: move up to maven 2.0.4 Modified: ant/core/trunk/lib/libraries.properties Modified: ant/core/trunk/lib/libraries.properties URL: http://svn.apache.org/viewvc/ant/core

svn commit: r434056 - in /ant/core/trunk: fetch.xml lib/libraries.properties

2006-08-23 Thread stevel
Author: stevel Date: Wed Aug 23 07:52:58 2006 New Revision: 434056 URL: http://svn.apache.org/viewvc?rev=434056&view=rev Log: update jsch version. I'd move to xerces 2.8.0 if there was a consistent release of the api and impl artifacts, as it is 2.6.2 is the one to use. Modified: ant/core/t

DO NOT REPLY [Bug 40300] - Message not helpful

2006-08-23 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

DO NOT REPLY [Bug 40300] - Message not helpful

2006-08-23 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

DO NOT REPLY [Bug 40300] - Copying with filterset a file containing non ascii characters brings strange error message

2006-08-23 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

release message for the beta

2006-08-23 Thread Antoine Levy-Lambert
Hi, in the past I have always improvised the text of the release messages. Does anyone have suggestions about what to say about ant 1.7. I would write : Ant 1.7 introduces a resource framework. Some of the core ant tasks such as are now able to process not only file system resources but also

DO NOT REPLY [Bug 38732] - rmic task doesn't work with -Xnew and JDK 6.0

2006-08-23 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

DO NOT REPLY [Bug 40300] - Copying with filterset a file containing non ascii characters brings strange error message

2006-08-23 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: FileSet inside MacroDef causing ClassCastException

2006-08-23 Thread Hari Krishna Dara
From: Mathieu Champlon <[EMAIL PROTECTED]> To: Ant Developers List Date: Wed, 23 Aug 2006 14:50:20 +0900 Subject: Re: FileSet inside MacroDef causing ClassCastException Hello ! Hari Krishna Dara a écrit : > Can anyone provide any help in working around or fixing this problem? It looks like the

Re: FileSet inside MacroDef causing ClassCastException

2006-08-23 Thread Hari Krishna Dara
Here is a simpler test case, that removes some ambiguities. As you can see the content of the script task doesn't matter.

Re: FileSet inside MacroDef causing ClassCastException

2006-08-23 Thread Peter Reilly
This is a different problem to MATs. This problem is due to the resolution of references. The build script can be reduced to: When the script task is executed, it converts all ant references to script variables (yuck). Ant references are set at parse time (double y

svn commit: r434226 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

2006-08-23 Thread peterreilly
Author: peterreilly Date: Wed Aug 23 15:32:36 2006 New Revision: 434226 URL: http://svn.apache.org/viewvc?rev=434226&view=rev Log: [PATCH] bugzilla 40238 - nested macrodef Modified: ant/core/trunk/CONTRIBUTORS ant/core/trunk/WHATSNEW ant/core/trunk/src/main/org/apache/tools/ant/taskd

DO NOT REPLY [Bug 40238] - Nested generate class cast exception

2006-08-23 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: FileSet inside MacroDef causing ClassCastException

2006-08-23 Thread Hari Krishna Dara
-- Forwarded message -- From: "Peter Reilly" <[EMAIL PROTECTED]> To: "Ant Developers List" Date: Wed, 23 Aug 2006 23:26:09 +0100 Subject: Re: FileSet inside MacroDef causing ClassCastException This is a different problem to MATs. This problem is due to the resolution of references

Re: Can DefaultLogger record the time on each target transition?

2006-08-23 Thread Steve Loughran
Jeffrey E Care wrote: In addition to backwards compatibility, there are other issues to consider: 1) Granularity: why limit timing data to targets? why not extend it to tasks as well? 2) Filtering: do you want timing data for every target? every task? and the big one 3) Multithreading:

Re: svn commit: r433519 - /ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/XMLAntUnitListener.java

2006-08-23 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Author: bodewig Date: Mon Aug 21 22:00:55 2006 New Revision: 433519 URL: http://svn.apache.org/viewvc?rev=433519&view=rev Log: make XML report a bit prettier For the smartfrog xml junit reporting, I can stick out XHTML content instead of dumb XML. That means that the

Re: classloader for 1.7

2006-08-23 Thread Steve Loughran
Peter Reilly wrote: If it is not a little too late, I would like to get a vote on including classloader into ant 1.7. (http://issues.apache.org/bugzilla/show_bug.cgi?id=28228) I have been playing with it the last week or so. It really makes working with antlibs, and scripting different languages

Re: [PROPOSAL] Release Plan .NET Antlib

2006-08-23 Thread Steve Loughran
Stefan Bodewig wrote: Hi all, I propose the following plan, please comment. * copy all classes from Ant core's /taskdefs/optional/dotnet to the .NET Antlib, in particular put into .../ant/dotnet/compile +1 I'm not 100% sure that "compile" is the right place for and . yeah, sti

Re: classloader for 1.7

2006-08-23 Thread Stefan Bodewig
On Wed, 23 Aug 2006, Peter Reilly <[EMAIL PROTECTED]> wrote: > The one in 1.6 does not work. Didn't know that. > The proposed one is totally different. But its intention is the same and so my opinion is the same, add a warning to the docs and it's OK. The only thing I'd be concerned about is t

Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-23 Thread Stefan Bodewig
On Wed, 23 Aug 2006, Kev Jackson <[EMAIL PROTECTED]> wrote: > Hi Stefan, (and other interested devs) > > For additional testing I've created a directory/file structure like > > 1/ >1 2/ > 2 3/ > 3 4/ so much effort ... > ie a single file under a directory, the tree is 1038+ layers

Re: svn commit: r433519 - /ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/listener/XMLAntUnitListener.java

2006-08-23 Thread Stefan Bodewig
On Wed, 23 Aug 2006, Steve Loughran <[EMAIL PROTECTED]> wrote: >> make XML report a bit prettier > > For the smartfrog xml junit reporting, I can stick out XHTML content > instead of dumb XML. That means that the results are ready-to-read, > without any XSL operation. I intend to add new stylesh

Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-23 Thread Kev Jackson
> > > > For additional testing I've created a directory/file structure like > > > > 1/ > >1 2/ > > 2 3/ > > 3 4/ > > so much effort ... > nah, 5 lines of script - I wasn't going to do it manually :) > I assume you tried some combinations of include/excludes. Dominique > used to

Re: classloader for 1.7

2006-08-23 Thread Kev Jackson
On Wed, 2006-08-23 at 10:33 +0100, Steve Loughran wrote: > Peter Reilly wrote: > > If it is not a little too late, I would like to get a vote > > on including classloader into ant 1.7. > > (http://issues.apache.org/bugzilla/show_bug.cgi?id=28228) > > I have been playing with it the last week or so.

DO NOT REPLY [Bug 40291] - classpath uses colon, ":", as path separator under windows

2006-08-23 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