From user-return-69095-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Oct 07 15:20:57 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 85683 invoked from network); 7 Oct 2009 15:20:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 15:20:57 -0000 Received: (qmail 45685 invoked by uid 500); 7 Oct 2009 15:20:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45612 invoked by uid 500); 7 Oct 2009 15:20:56 -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 45602 invoked by uid 99); 7 Oct 2009 15:20:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 15:20:56 +0000 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=FUZZY_XPILL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.154.176.138] (HELO icon040.icongmbh.de) (62.154.176.138) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 15:20:47 +0000 Received: from icsrv02.icongmbh.de (unknown [192.168.195.2]) by icon040.icongmbh.de (Postfix) with ESMTP id 99525100AE for ; Wed, 7 Oct 2009 17:20:04 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Xalan hinders saxon Date: Wed, 7 Oct 2009 17:20:04 +0200 Message-ID: <06080D44730F41428BAF2168FA8BDD8003D39DDE@icsrv02.icongmbh.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Xalan hinders saxon Thread-Index: AcpGf6ZbVvB1x+iXQDirBFdh9oQSYQA3wrZg References: <06080D44730F41428BAF2168FA8BDD8003D39C60@icsrv02.icongmbh.de> <87pr913rld.fsf@v35516.1blu.de> <06080D44730F41428BAF2168FA8BDD8003D39CAC@icsrv02.icongmbh.de> <4ACB238A.3030705@apache.org> <06080D44730F41428BAF2168FA8BDD8003D39CDE@icsrv02.icongmbh.de> <4ACB363F.6010201@apache.org> From: "Knuplesch, Juergen" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hello, After taking xalan 2.7.1 into Ants lib path, my XSLT using saxon dont = work anymore: dsf.comparedsffiles: [xslt] Processing ... [xslt] Loading stylesheet = D:\DopeBuildBase\Build\DopeBuildServer\XSLT\compare-dsf.xsl [xslt] compare-dsf.xsl:113:104: Fatal Error! = java.lang.ClassCastException: org.apache.xpath.objects.XRTreeFrag Cause: = java.lang.ClassCastException: org.apache.xpath.objects.XRTreeFrag [xslt] Failed to process .... This worked beforehand.=20 So saxon can't cope with the new jars. What I did was: =20 Any idea? Juergen -----Urspr=FCngliche Nachricht----- Von: Steve Loughran [mailto:stevel@apache.org]=20 Gesendet: Dienstag, 6. Oktober 2009 14:21 An: Ant Users List Betreff: Re: AW: AW: Out of memory Knuplesch, Juergen wrote: > Hello Steve, >=20 > I had my problems with junitreport before.... >=20 > This time the PermGenSpace error happens with saxon. > For this XSLT I had to use saxon. > In my build I use Saxon and for junitreport the standard VM xsl=20 > processor, >=20 > How do I tell junitreport to use Saxon or Xalan? > I did not find an option (in your book for ANT 1.6.5) as in XSLT. > I thought xalan is the standard xsl processor in ANT? If Xalan is on the classpath, it gets picked up, otherwise on java1.5+ = the default XSL engine is the variant of xalan that comes in the JVM, = and it is very memory hungry. If you run ant -diagnostics you will see which engine you get; if it is = the one in the JVM, stick a xalan-2.7.x into your ANT_HOME/lib PermGen heapspace is a separate problem. On the BEA/Oracle JRockit JVM, = it never occurs, they just have one big heap, instead of a separate heap = for class information. But you can't download that for free any more. Try the 64 bit jvm with compressed pointers; its got a big heap with = small pointers, not as good as JRockit, but a good second best. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org