Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 18570 invoked from network); 27 Jan 2003 11:45:37 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 27 Jan 2003 11:45:37 -0000 Received: (qmail 15628 invoked by uid 97); 27 Jan 2003 11:46:52 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15612 invoked by uid 97); 27 Jan 2003 11:46:51 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 15577 invoked by uid 98); 27 Jan 2003 11:46:51 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Armenio Pinto To: 'Ant Users List' Subject: RE: jspc errors... Date: Mon, 27 Jan 2003 11:44:46 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ol=E1 Pedro! It seems this has something to do with the version of Jasper = shipped with Tomcat 1.8.14. You might want to take a look at "Ant's jspc task - doesn't work on Tomcat 4.1.18": http://www.mail-archive.com/ant-user@jakarta.apache.org/msg22973.html. = Boa sorte colega! Arm=E9nio Pinto -----Original Message----- From: Pedro Salazar [mailto:pedro-b-salazar@ptinovacao.pt] Sent: segunda-feira, 27 de Janeiro de 2003 11:04 To: ant-user@jakarta.apache.org Subject: jspc errors... Greetings, I'm trying to compile my jsp files but I'm blocked in jspc task! When I run my target (jsp-compile) I got the exception below my ant task: exception: " jsp-compile: [jspc] Compiling 17 source files/home/psalazar/work/proj/ngincare_ws/v2.1/web/build/jsp/PT/ptinovac= ao/n gincare/jsp [jasperc] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 23 [jasperc] at org.apache.jasper.JspC.locateUriRoot(JspC.java:616) [jasperc] at org.apache.jasper.JspC.execute(JspC.java:747) [jasperc] at org.apache.jasper.JspC.main(JspC.java:810) BUILD FAILED " But, if I add a "uriroot" attribute pointing to ".", I got another exception! It goes a little further in processing: it generates in my ${build.jsp.dir} directory [destdir attribute], a tree structure equals the ${src.web.dir} [srcdir attribute], with a styles_jsp.java well generated and the error_jsp.java empty causing this exception: " jsp-compile: [jspc] Compiling 17 source files/home/psalazar/work/proj/ngincare_ws/v2.1/web/build/jsp/PT/ptinovac= ao/n gincare/jsp [jasperc] 2003-01-27 10:51:33 - ERROR-the file '/src/main/web/errorpage.jsp' generated the following general = exception: org.apache.jasper.JasperException: /src/main/web/errorpage.jsp(6,0) = File "/styles.jsp" not found [jasperc] error:/src/main/web/errorpage.jsp(6,0) File "/styles.jsp" not found BUILD FAILED " What is wrong here? I'm confused with the tree directory generated in = my build directory equals my path to my sources jsp files... Is it the right behavior?=20 I use ant-1.5.1 (compiled on October 2 2002), SUN's jdk1.4.1, tomcat 1.4.18 (jasper files) and a linux box. thanks, Pedro Salazar. -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: