Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 81005 invoked from network); 27 Jun 2006 23:28:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 23:28:20 -0000 Received: (qmail 66856 invoked by uid 500); 27 Jun 2006 23:28:20 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 66824 invoked by uid 500); 27 Jun 2006 23:28:19 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 66815 invoked by uid 99); 27 Jun 2006 23:28:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 16:28:19 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jasnell@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 16:28:18 -0700 Received: by py-out-1112.google.com with SMTP id c30so2084499pyc for ; Tue, 27 Jun 2006 16:27:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=O32UJU/LP2ghyb1573tlB4hE1JOyPV9bi3/+GGmQTqzHrOZrg8h5XFSfggh5xxgwSgWgpWhCziCuaXLNOfKCM77qwTl1Po3p1jAvXVcj16+DqwVlbSxRClU4wREqs5Q+YKFxQEp8DSgiSn0RhmjnURqNjchuoL31CZNKBbzd8FM= Received: by 10.35.99.14 with SMTP id b14mr142137pym; Tue, 27 Jun 2006 16:27:58 -0700 (PDT) Received: from ?172.30.1.26? ( [66.100.255.7]) by mx.gmail.com with ESMTP id z52sm2012151pyg.2006.06.27.16.27.57; Tue, 27 Jun 2006 16:27:58 -0700 (PDT) Message-ID: <44A1BEFC.5060405@gmail.com> Date: Tue, 27 Jun 2006 16:27:56 -0700 From: James M Snell User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: [PATCH] make xslt tests work via ant References: <7edfeeef0606240706y2b1bfa94l5b2ecb6bcfaa038d@mail.gmail.com> In-Reply-To: <7edfeeef0606240706y2b1bfa94l5b2ecb6bcfaa038d@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Patched Garrett Rooney wrote: > I've been having some trouble running the XSLT tests via ant, and a > little googling around implies that it has something to do with ant > and xalan.jar not being in the classpath, resulting in a > NullPointerException when you try and instantiate the xslt engine. > > See > http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200501.mbox/%3C41FD07AE.9090905@cs.rutgers.edu%3E > > for an example of the error. > > I have no clue what the "right" way to fix this is, or what the real > root cause is, but the work around appears to be adding fork="yes" to > the java tasks that run the tests. Here's a patch that does that. > > -garrett > > [[[ > Make xslt test work by forking off our test runs. > > * build/build.xml > (test): add fork="yes" to our java runs. > ]]] > > > ------------------------------------------------------------------------ > > Index: build/build.xml > =================================================================== > --- build/build.xml (revision 416918) > +++ build/build.xml (working copy) > @@ -149,12 +149,14 @@ > Running Core Tests... > classpath="${core.work}:${parser.work}:${server.work}:${test}" > - classname="org.apache.abdera.test.core.TestSuite" /> > + classname="org.apache.abdera.test.core.TestSuite" > + fork="yes" /> > > Running Stax Parser Tests... > classpath="${core.work}:${parser.work}:${server.work}:${test}" > - classname="org.apache.abdera.test.parser.stax.TestSuite" /> > + classname="org.apache.abdera.test.parser.stax.TestSuite" > + fork="yes" /> > > >