cvs commit: ant/src/etc/testcases/taskdefs/optional replaceregexp.xml

2003-08-21 Thread antoine
antoine 2003/08/21 12:42:15 Modified:.WHATSNEW src/main/org/apache/tools/ant/taskdefs/optional ReplaceRegExp.java src/testcases/org/apache/tools/ant/taskdefs/optional ReplaceRegExpTest.java

RE: javac-task and mapper

2003-08-21 Thread Ulf Caspers
On Mon, 18 Aug 2003, "didge" <[EMAIL PROTECTED]> wrote: > How about this? > > > > > > > > > Hm, looks good! Please give me some more time to investigate... (f

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Steve Loughran
Martijn Kruithof wrote: Antoine Levy-Lambert wrote: Isn't there a danger in using a non-synchronized class ? Otherwise I can gladly switch to ArrayList. Antoine There are wrappers for that (Collections.synchronizedXXX(XXX xxx) XXX = Collection , List, Map, Set, SortedMap or SortedSet. So that shou

DO NOT REPLY [Bug 22549] - [PATCH] Test code not building / running on JDK 1.2.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22569] - PL/SQL Extensions to SQL task to be included in standard release

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Martijn Kruithof
Antoine Levy-Lambert wrote: Isn't there a danger in using a non-synchronized class ? Otherwise I can gladly switch to ArrayList. Antoine There are wrappers for that (Collections.synchronizedXXX(XXX xxx) XXX = Collection , List, Map, Set, SortedMap or SortedSet. So that should not be an issue. (That

DO NOT REPLY [Bug 22088] - Patch for MailMessage.java

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22560] - Touch doesn't work on Debian unstable & Java1.4.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22549] - [PATCH] Test code not building / running on JDK 1.2.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22551] - fileset - includesfile uses wrong path

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Antoine Levy-Lambert
Isn't there a danger in using a non-synchronized class ? Otherwise I can gladly switch to ArrayList. Antoine - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 8:40 PM Subject: RE: cvs commit: a

DO NOT REPLY [Bug 22549] - [PATCH] Test code not building / running on JDK 1.2.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22560] - Touch doesn't work on Debian unstable & Java1.4.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22541] - ReplaceRegExp task updates modified time of directory

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

cvs commit: ant/src/etc/testcases/taskdefs unzip.xml

2003-08-21 Thread antoine
antoine 2003/08/21 10:45:12 Modified:src/etc/testcases/taskdefs unzip.xml Log: Let the unzip testEncoding testcase use UnicodeBig instead of UTF16 UnicodeBig is supported by rt.jar of 1.2.2 as opposed to UTF16. UTF16 is not even listed on http://java.sun.com/products/jdk/1.2/do

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

2003-08-21 Thread antoine
antoine 2003/08/21 09:56:12 Modified:src/main/org/apache/tools/ant DirectoryScanner.java Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the include patterns look like some/very/long/

RE: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessa geTest.java

2003-08-21 Thread Dominique Devienne
Allows you to use any List implementation (Vector, ArrayList, LinkedList) first of all, and thus use a non-synchronized list implementation like ArrayList. Vector is just a JDK 1.1'ism to me... We must keep Vector anywhere it appears in the API of a class, but anywhere else we should prefer Java2

Re: [PATCH] Image scaling

2003-08-21 Thread Antoine Levy-Lambert
Rob : can you please create a bugzilla report with your patch ? I could not read you attachment anyway. Also include in your patch the docu if possible. Thanks in advance. Antoine - Original Message - From: "Rob Oxspring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 21

DO NOT REPLY [Bug 22560] - Touch doesn't work on Debian unstable & Java1.4.2

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs JavaTest.java

2003-08-21 Thread antoine
antoine 2003/08/21 11:00:41 Modified:src/etc/testcases/taskdefs java.xml src/testcases/org/apache/tools/ant/taskdefs JavaTest.java Log: Make JavaTest pass under JDK 1.2 (and 1.3) under linux The same problem was seen on JDK 1.3 on FreeBSD PR: 22549 Submitted by:

Re: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread Antoine Levy-Lambert
What is the advantage of List compared to Vector ? Antoine - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 6:46 PM Subject: RE: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessage

RE: cvs commit: ant/src/testcases/org/apache/tools/mail MailMessa geTest.java

2003-08-21 Thread Dominique Devienne
Too bad you can't use LinkedHashMap. OTOH, you could use List instead of Vector, now that Java 1.2 is OK... --DD > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 11:16 AM > To: [EMAIL PROTECTED] > Subject: cvs commit: ant/src/test

[PATCH] Image scaling

2003-08-21 Thread Rob Oxspring
First up, sorry for no unit tests - just doing enough to get by for now :) Anyway, I was using the image task to create thumbnails and couldn't figure out how to keep proportions of an image but keep it within a fixed size. My solution was to change the keepproportions attribute to be a little

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/email PlainMailer.java

2003-08-21 Thread antoine
antoine 2003/08/21 08:26:46 Modified:.WHATSNEW src/main/org/apache/tools/ant/taskdefs/email PlainMailer.java Log: Make PlainMailer also work with foreign character sets. PR: 15434 Revision ChangesPath 1.486 +1 -1 a

Re: [new tasks] presetdef and macrodef

2003-08-21 Thread Gus Heck
I'm not sure I buy your 3 things argument. In my mind there are 2 things in what is previously proposed... properties and parameters Templates appear to be something new, though I don't think I like them (see below) (1) --> ${xyz} (2) --> ${macroattr:xyz} (3) --> ${macrotemplate:xyz} So for

cvs commit: ant WHATSNEW

2003-08-21 Thread antoine
antoine 2003/08/21 09:56:12 Modified:.WHATSNEW Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the include patterns look like some/very/long/path - the remote file system is

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java

2003-08-21 Thread antoine
antoine 2003/08/21 09:56:12 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java

2003-08-21 Thread antoine
antoine 2003/08/21 09:56:12 Modified:src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the include patterns look like some/v

cvs commit: ant/src/testcases/org/apache/tools/mail MailMessageTest.java

2003-08-21 Thread antoine
antoine 2003/08/21 09:15:56 Modified:.WHATSNEW src/main/org/apache/tools/mail MailMessage.java Added: src/testcases/org/apache/tools/mail MailMessageTest.java Log: Prevent empty headers from being sent in plain mail messages. Make the order of the hea

cvs commit: ant/src/testcases/org/apache/tools/mail - New directory

2003-08-21 Thread antoine
antoine 2003/08/21 09:13:45 ant/src/testcases/org/apache/tools/mail - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [new tasks] presetdef and macrodef

2003-08-21 Thread Dominique Devienne
> -Original Message- > From: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 5:56 AM > To: Ant Developers List > Subject: RE: [new tasks] presetdef and macrodef > > I have no big issue on which syntax is used on each case, but I just > would like to poi

Re: Nested elements

2003-08-21 Thread Erik Hatcher
Also, in addition to the information Jan has sent, have a look at the Feb. issue of JavaPro magazine (its online). I wrote an article that describes exactly what you are asking about. Erik On Thursday, August 21, 2003, at 02:12 AM, Andrei wrote: Dear Antoine, the problem is tha

DO NOT REPLY [Bug 20103] - FileSet horrible performance when dir has huge number of subdirs

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 20103] - FileSet horrible performance when dir has huge number of subdirs

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

RE: [new tasks] presetdef and macrodef

2003-08-21 Thread Jose Alberto Fernandez
> From: Gus Heck [mailto:[EMAIL PROTECTED] > > Jose Alberto Fernandez wrote: > > >Dominique, > > > >As its name indicates is a MACRO. And macros are > macros are > >macros and they are suppose to be textually replaces at the point on > >invocation. > > > > > Of course the parameters need to

RE: Nested elements

2003-08-21 Thread Jan . Materne
And the link to Eriks article http://www.fawcette.com/javapro/2003_02/magazine/features/ehatcher/default_p f.asp Jan > -Original Message- > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 10:34 AM > To: Ant Developers List > Subject: Re: Nested elements >

Re: Nested elements

2003-08-21 Thread Erik Hatcher
Also, in addition to the information Jan has sent, have a look at the Feb. issue of JavaPro magazine (its online). I wrote an article that describes exactly what you are asking about. Erik On Thursday, August 21, 2003, at 02:12 AM, Andrei wrote: Dear Antoine, the problem is tha

Re: [new tasks] presetdef and macrodef

2003-08-21 Thread Knut Wannheden
Different people understand different things under MACRO. But I'd say to anybody who's familiar with Lisp, this is certainly has MACRO like semantics. The difference would be that in Lisp you explicitly (using "quote") have to tell the evalutor not to evaluate an expression in a macro definition.

Re: Nested elements

2003-08-21 Thread Andrei
Dear Antoine, the problem is that i have to write the code for the uni-d task i have to support that sintax. I understand that i have to write some functions add, or addConfigured but i don,t know how to write the functions. I have problems with the function body, i don't know what to wri

DO NOT REPLY [Bug 13655] - proper retrncode for ant.bat

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

RE: Nested elements

2003-08-21 Thread Jan . Materne
(I hate cross-postings ...) http://marc.theaimsgroup.com/?l=ant-dev&m=106139453324476&w=2 http://marc.theaimsgroup.com/?l=ant-user&m=106139721928000&w=2 So much work to keep the two threads in sync ... Jan > -Original Message- > From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] > S

DO NOT REPLY [Bug 22601] New: - StreamPumper class is extraordinarily slow

2003-08-21 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://nagoya.apache.org/bugzilla/show_bu

cvs commit: ant/docs/manual/CoreTypes assertions.html

2003-08-21 Thread stevel
stevel 2003/08/20 17:34:27 Added: docs/manual/CoreTypes assertions.html Log: Documented assertions..still need the tests Revision ChangesPath 1.1 ant/docs/manual/CoreTypes/assertions.html Index: assertions.html ==