Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 47611 invoked from network); 25 Apr 2006 01:49:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 01:49:14 -0000 Received: (qmail 6304 invoked by uid 500); 25 Apr 2006 01:49:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6262 invoked by uid 500); 25 Apr 2006 01:49:10 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6251 invoked by uid 99); 25 Apr 2006 01:49:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 18:49:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.39.76.245] (HELO msa.dundee.net) (69.39.76.245) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 18:49:09 -0700 Received: from msa.dundee.net (localhost.dundee.net [127.0.0.1]) by msa.dundee.net (Postfix) with ESMTP id ADF0962AF for ; Mon, 24 Apr 2006 21:48:39 -0400 (EDT) Received: from TOUCHE (24-236-135-6.dhcp.bycy.mi.charter.com [24.236.135.6]) by msa.dundee.net (Postfix) with ESMTP id 5BAD762AD for ; Mon, 24 Apr 2006 21:48:39 -0400 (EDT) Date: Mon, 24 Apr 2006 21:48:34 -0400 From: Ron Jeffries X-Mailer: The Bat! (v3.71.03) Home Reply-To: Ron Jeffries X-Priority: 3 (Normal) Message-ID: <1967748514.20060424214834@acm.org> To: "Ant Users List" Subject: Re: Exception in Style In-Reply-To: <444C9FBA.7060200@apache.org> References: <1119141044.20060422075944@acm.org> <444A60EC.1010107@gmx.de> <1452046606.20060422171108@acm.org> <444BB567.4060504@apache.org> <173048645.20060423141440@acm.org> <444C9FBA.7060200@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Monday, April 24, 2006, at 5:51:54 AM, Steve Loughran wrote: >> A better man would take the hour or two it would require to do all >> that. My learning, teaching, and proselytizing go in other >> directions, and I think that's where my energy needs to be put. >> Right now, I think I'll stop where I am, with running code. > what, you dont test your build process? What about regression tests? In fact I don't, which is no doubt terribly damning given what I supposedly stand for. But I've never seen anything on how one tests an Ant script other than by running it. Musing ... I suppose I could build up a small fake web site containing just a few example files to be converted ... then clean all the output to make it a worst-case build ... though it always mostly is except for article generation ... all the indexes are always rebuilt ... then I could have the last thing in the test target compare all the output files to a canonical list ... could be done. My experience with the process is that while that would be the religiously correct thing to do, it wouldn't pay off, since the process now either explodes, or builds something that doesn't look right, and does the latter only when I'm changing things, which would mean that the regression tests wouldn't work in that case anyway ... What's known "out there" about how to test and regression test an Ant script? > If you can tease out the problem we could always add it as part of Ant's > unit tests for ; that way we know which runtimes are more trouble... I'll add it to my list, but think it'll be a low priority story unless I decide to write an article about how it's harder to submit a problem report on Xalan than it is to submit one to Microsoft. Ron Jeffries www.XProgramming.com If not now, when? -- The Talmud --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org