RE: concat task WAS: RE: copy task with merge mapper bug?

2001-12-20 Thread thomas . cherel
I am not sure to understand the "you are forced to externalize something". When each file to concat are explicitly named (not through a search pattern), we can enforce the order. When a patternset is used, it can behave like a DOS or Unix shell will do (like what an "ls ./*/*" will do, by width and

RE: [PATCH] Improvement 5299 - Add append and timeout option to t he java task

2001-12-06 Thread thomas . cherel
I did not know about the patch submission through bugzilla. I will look at that. I will try to add some tests/examples over the weekend. Thomas -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2001 1:26 AM To: Ant Developers List Subject: Re:

RE: copy task with merge mapper bug?

2001-12-06 Thread thomas . cherel
Ok. Thanks for the information. Thomas -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 2:26 AM To: [EMAIL PROTECTED] Subject: Re: copy task with merge mapper bug? On Mon, 3 Dec 2001, thomas cherel <[EMAIL PROTECTED]> wrote: &

[PATCH] Improvement 5299 - Add append and timeout option to the j ava task

2001-12-06 Thread thomas . cherel
I just created the improvement in Apache Bug Database. There is the proposed patch to fix it. Add an append attribute and timeout attribute to the java command. append to add to output file if specified. timeout to stop the command if running for too long. Java.java modified as well as java.html

copy task with merge mapper bug?

2001-12-03 Thread thomas . cherel
I did not find any reports in the apache bug database, I was going to submit one, but I'd like to check with you guys to make sure that this is really a bug or if I misunderstood the way it is working. A copy task with a fileset and a merge mapper is not producing a concatenated file of all the so

RE: Perl5 substitution task

2001-12-03 Thread thomas . cherel
I did the same kind of thing recently (I sent a couple of emails to this mailing list). I was currently trying to implement it as a FilteredOutputStream as suggested by Peter Donald. I did not extend the MatchingTask (I missed it, I will look at it as well as looking at replaceregexp). I inspired m

RE: Perl filter task vs. filter/filterset/copy task

2001-11-27 Thread thomas . cherel
I can imagine having some kind of PerlFilterOutputStream. The only issue I have with that is the fact that the filter make sense if it works line by line. What I mean, like with awk for example, each filter is applied for each line one after another. The PerlFilterOutputStream will have to put in a

RE: XML include in build.xml files

2001-11-26 Thread thomas . cherel
Agree with all your comments. As I said in a previous reply, for the moment my catalog is a very simple Java property file. I did that only to validate the idea. Seems that those catalogs are not going to be as simple as what I thought, but I still think it is worth trying. Agree that the relative

RE: Diff task

2001-11-26 Thread thomas . cherel
Sorry, I did not know about this incompatibility. I will talk to the author. Thomas. -Original Message- From: Peter Donald [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2001 5:52 PM To: Ant Developers List Cc: [EMAIL PROTECTED] Subject: Re: Diff task On Tue, 27 Nov 2001 05:08, [E

RE: XML include in build.xml files

2001-11-26 Thread thomas . cherel
For my current implementation the catalog is just a Java property file (I was just trying to validate the idea). Definitely not enough to support a minimal catalog. I started looking at XML spec without finding anything on the syntax of such catalog and I am 100% open to suggestions. I am not famil

Perl filter task vs. filter/filterset/copy task

2001-11-26 Thread thomas . cherel
I must admit this work motivated by trying to create some build.xml files to run some automatic tests (instead of building a product), which might not be the primary purpose of Ant. I looked at Junit and extensions, the only problem I have with those environments is the way the test is marked as f

Diff task

2001-11-26 Thread thomas . cherel
What about adding a Diff task to do the same thing as a regular diff. I wrote one based on the Gnu Diff for Java that can be found at http://www.bmsi.com/java/#diff (under GPL). I am not sure where is the line between custom specific task and task that can be submitted and added to Ant (either cor

append and timeout to the Java task

2001-11-26 Thread thomas . cherel
Some modification propositions to the Java task. What do you guys think? Add append attribute, so the output is append to the output file when specified. Add timeout attribute to kill the java program if taking too long (only when fork is enabled). Some of those needs came from some build.xml th

XML include in build.xml files

2001-11-26 Thread thomas . cherel
I am kind-of new to the Ant world but I already start to like it. I am currently experimenting with ant1.4.1 to replace our current build environment (MKSToolkit + gmake). I end up looking at ant source code, and started to modify it to push my experiments. I will send multiple emails on the modifi