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