RE: ant jspc task and tomcat-4.1.24
Yes it is possible. I am currently using it, there was some discussion on this : http://www.mail-archive.com/[EMAIL PROTECTED]/msg100350.html I think your problem may be that you haven't set the compiler=jasper41 attribute in the jspc element, as in : jspc srcdir=${rootdir} destdir=${webapp.workdir} failonerror=false classpathref=jspc_parse.classpath package=org.apache.jsp compiler=jasper41 -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 2:53 PM To: 'Tomcat-User List' Subject: ant jspc task and tomcat-4.1.24 Does Tomcat-4.1.24 is compatible with Ant-1.5.4´s jspc task? I´m trying to compile some JSP pages but i´m getting this error: D:\desenv\osctrl\buildant Buildfile: build.xml compilar-jsp: [jspc] Compiling 3 source filesD:\tmp\classes-jsp\com\panamericano\osctrl\j sp [jasperc] 2003-11-07 04:51:08 - ERROR-the file '\frmMenu_.jsp' generated the f ollowing general exception: java.lang.NullPointerException [jasperc] error:org.apache.jasper.JasperException: Error compiling \frmMenu_.j sp [jasperc] at org.apache.jasper.JspC.processFile(JspC.java:596) [jasperc] at org.apache.jasper.JspC.execute(JspC.java:801) [jasperc] at org.apache.jasper.JspC.main(JspC.java:823) BUILD FAILED file:D:/desenv/osctrl/build/build.xml:50: Java returned: 9 Total time: 5 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ant jspc task and tomcat-4.1.24
you are way better off compiling into the work dir, that way you can still change JSPs on the fly http://cvs.apache.org/~fhanik/precompile.html and benefit from precompilation Filip - Original Message - From: Steph Richardson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 07, 2003 11:06 AM Subject: RE: ant jspc task and tomcat-4.1.24 Yes it is possible. I am currently using it, there was some discussion on this : http://www.mail-archive.com/[EMAIL PROTECTED]/msg100350.html I think your problem may be that you haven't set the compiler=jasper41 attribute in the jspc element, as in : jspc srcdir=${rootdir} destdir=${webapp.workdir} failonerror=false classpathref=jspc_parse.classpath package=org.apache.jsp compiler=jasper41 -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 2:53 PM To: 'Tomcat-User List' Subject: ant jspc task and tomcat-4.1.24 Does Tomcat-4.1.24 is compatible with Ant-1.5.4´s jspc task? I´m trying to compile some JSP pages but i´m getting this error: D:\desenv\osctrl\buildant Buildfile: build.xml compilar-jsp: [jspc] Compiling 3 source filesD:\tmp\classes-jsp\com\panamericano\osctrl\j sp [jasperc] 2003-11-07 04:51:08 - ERROR-the file '\frmMenu_.jsp' generated the f ollowing general exception: java.lang.NullPointerException [jasperc] error:org.apache.jasper.JasperException: Error compiling \frmMenu_.j sp [jasperc] at org.apache.jasper.JspC.processFile(JspC.java:596) [jasperc] at org.apache.jasper.JspC.execute(JspC.java:801) [jasperc] at org.apache.jasper.JspC.main(JspC.java:823) BUILD FAILED file:D:/desenv/osctrl/build/build.xml:50: Java returned: 9 Total time: 5 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ant jspc task and tomcat-4.1.24
That´s right, but i must put those JSP files in Oracle9iAS ( production server ) and i really must compile them to bring it ready. -- De: Filip Hanik[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 7 de novembro de 2003 16:08 Para: Tomcat Users List Assunto: Re: ant jspc task and tomcat-4.1.24 you are way better off compiling into the work dir, that way you can still change JSPs on the fly http://cvs.apache.org/~fhanik/precompile.html and benefit from precompilation Filip - Original Message - From: Steph Richardson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, November 07, 2003 11:06 AM Subject: RE: ant jspc task and tomcat-4.1.24 Yes it is possible. I am currently using it, there was some discussion on this : http://www.mail-archive.com/[EMAIL PROTECTED]/msg100350.html I think your problem may be that you haven't set the compiler=jasper41 attribute in the jspc element, as in : jspc srcdir=${rootdir} destdir=${webapp.workdir} failonerror=false classpathref=jspc_parse.classpath package=org.apache.jsp compiler=jasper41 -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 2:53 PM To: 'Tomcat-User List' Subject: ant jspc task and tomcat-4.1.24 Does Tomcat-4.1.24 is compatible with Ant-1.5.4´s jspc task? I´m trying to compile some JSP pages but i´m getting this error: D:\desenv\osctrl\buildant Buildfile: build.xml compilar-jsp: [jspc] Compiling 3 source filesD:\tmp\classes-jsp\com\panamericano\osctrl\j sp [jasperc] 2003-11-07 04:51:08 - ERROR-the file '\frmMenu_.jsp' generated the f ollowing general exception: java.lang.NullPointerException [jasperc] error:org.apache.jasper.JasperException: Error compiling \frmMenu_.j sp [jasperc] at org.apache.jasper.JspC.processFile(JspC.java:596) [jasperc] at org.apache.jasper.JspC.execute(JspC.java:801) [jasperc] at org.apache.jasper.JspC.main(JspC.java:823) BUILD FAILED file:D:/desenv/osctrl/build/build.xml:50: Java returned: 9 Total time: 5 seconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]