Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 13454 invoked from network); 15 Feb 2007 10:19:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 10:19:26 -0000 Received: (qmail 73394 invoked by uid 500); 15 Feb 2007 10:19:33 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 73355 invoked by uid 500); 15 Feb 2007 10:19:33 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 73337 invoked by uid 99); 15 Feb 2007 10:19:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 02:19:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [81.169.146.189] (HELO mo-p07-ob.rzone.de) (81.169.146.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 02:19:21 -0800 Received: from [192.168.1.35] (43.Red-83-58-69.dynamicIP.rima-tde.net [83.58.69.43]) by post.webmailer.de (mrclete mo41) (RZmta 4.6) with ESMTP id B03e78j1F8biVA for ; Thu, 15 Feb 2007 11:18:59 +0100 (MET) Subject: Re: Building WAR fails From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <10F25AB1-35B3-4B6D-B885-936938FEE0DA@mac.com> References: <4AD70092-EDBA-443C-88C6-7EA4F4CC5FEA@mac.com> <1171490185.7995.7.camel@cartman> <10F25AB1-35B3-4B6D-B885-936938FEE0DA@mac.com> Content-Type: text/plain Date: Thu, 15 Feb 2007 11:18:47 +0100 Message-Id: <1171534727.7995.23.camel@cartman> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-RZG-AUTH: z4gQVF2k7G33NuSb/nSa7nbL X-RZG-CLASS-ID: mo07 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2007-02-15 at 09:59 +0200, Sjur Moshagen wrote: > Den 14. feb. 2007 kl. 23.56 skrev Thorsten Scherler: > > > On Mon, 2007-02-12 at 16:53 +0200, Sjur Moshagen wrote: > >> ... here: > >> > >> load-project-props: > >> Processing /Users/sjur/Documents/termdb/src/documentation/ > >> skinconf.xml to /Users/sjur/Documents/termdb/build/tmp/no-doctype- > >> project-skinconf.xml > >> Loading stylesheet /usr/local/forrest/main/webapp/resources/ > >> stylesheets/strip-doctype.xsl > >> usr/local/forrest/main/webapp/resources/stylesheets/strip- > >> doctype.xsl: > >> 30:92: Fatal Error! java.lang.ArrayIndexOutOfBoundsException: -1 > >> Cause: java.lang.ArrayIndexOutOfBoundsException: -1 > >> Failed to process /Users/sjur/Documents/termdb/src/documentation/ > >> skinconf.xml > >> > >> BUILD FAILED > >> /usr/local/forrest/main/forrest.build.xml:278: Fatal error during > >> transformation > >> > >> skinconf.xml validates just fine. > >> > >> This is with the latest svn sources. Anyone any clue? > > > > Hmm, I just tried with the dipatcher plugin: > > org.apache.forrest.plugin.internal.dispatcher/build/my-project.war > > BUILD SUCCESSFUL > > > > Are you sure that strip-doctype.xsl is valid xsl? > > I just checked - it is untouched locally, ie it is the same as in the > svn repository, which probably is the same as you have. I am trying to locate the ant target where the error happens. Did you try to turn off validating? usr/local/forrest/main/webapp/resources/stylesheets/strip- > >> doctype.xsl: > >> 30:92: Fatal Error! java.lang.ArrayIndexOutOfBoundsException: -1 > >> Cause: java.lang.ArrayIndexOutOfBoundsException: -1 That looks like a target that is processing the xsl is missing some values which is causing ArrayIndexOutOfBoundsException. We need to find out where exactly the error happens in the ant build files to debug why. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java & XML consulting, training and solutions