Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 33305 invoked from network); 24 Aug 2007 02:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 02:10:37 -0000 Received: (qmail 49856 invoked by uid 500); 24 Aug 2007 02:10:27 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 49804 invoked by uid 500); 24 Aug 2007 02:10:27 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 49793 invoked by uid 99); 24 Aug 2007 02:10:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 19:10:27 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.208.196.171] (HELO outbound.mailhop.org) (63.208.196.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 02:10:15 +0000 Received: from misstaff81.its.hawaii.edu ([128.171.45.81]) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IOOcQ-000IoT-O4 for dev@ant.apache.org; Thu, 23 Aug 2007 22:09:51 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 128.171.45.81 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+HE85ep8DhSG/U7GU0dsvIlCgzmvZ5y/4= Message-ID: <46CE3DED.7010006@getsu.com> Date: Thu, 23 Aug 2007 16:09:49 -1000 From: "J. David Beutel" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Ant Developers List Subject: timezone for junitreport, and antlib Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The timestamps displayed by the 1.7.0 junitreport are in the GMT timezone. It looks like that's determined by DateUtils.createDateFormat() via the junit task's XMLJUnitResultFormatter.startTestSuite(). I'd like to display them in my local timezone, or at least in the timezone in which the junit task was run. Does anyone know how to do this? It looks like I'd need to change Ant. I could try adding an attribute to the junit formatter element for using the local (or an arbitrary) timezone, altho I don't know if it would apply to the other types of formatter. Or I could try to convert the timezone in the junitreport (junit-frames.xsl and junit-noframes.xsl), but I'm not sure how do-able that would be in XSLT. Which approach would be acceptable to a committer? By the way, is anyone working on externalizing the junit support to an antlib? JUnit 4 works well enough on Ant 1.7.0, but the report still doesn't support some features as well as it could, such as @Ignore. Cheers, 11011011 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org