No dude, after org.apache JspC task will include "jsp" also, so the result is org.apache.jsp
> ---------- > De: Hans Steinraht[SMTP:[EMAIL PROTECTED] > Responder: Tomcat Users List > Enviada: segunda-feira, 15 de dezembro de 2003 11:52 > Para: Tomcat Users List > Assunto: Re: precompile jsp > > > Doing it this way your using ants jspc task giving the classes a > packagename > "org.apache" > I have checked tomcats work directory and see that tomcat compiles the jsp > in a package "org.apache.jsp". > > Thats why I like to use tomcats jspc task (org.apache.jasper.JspC), to > avoid > that there are differences in the way tomcat compiles or when I do it > myself. > > Anyhow thanks for the answer, I try to play with it and see what happends > > Hans > > > > > > On Mon, Dec 15, 2003 at 09:35:46AM -0300, Edson Alves Pereira wrote: > > There are a big problem with JspC ant?s tag, its error messages. > > Someone must analyse JspC code and improve all messages within. But i > hope > > that this exemple would help you: > > > > <!--///////////////////////////////////////////////////////--> > > <target name="compilePaginasJSP" > > depends="copiarArquivosEstaticos"> > > <jspc srcdir ="${webapp}/jsp" > > destdir ="${webapp}" > > verbose ="9" > > package > > ="org.apache" > > webxml > > ="${webapp}/WEB-INF/jsp.xml" > > classpathref="base-path"> > > <webapp basedir="${webapp}"/> > > </jspc> > > > > <javac srcdir="${webapp}/jsp" > > debug="${use.debug}" > > classpathref="base-path" > > destdir="${webapp}/bin"/> > > > > <jar destfile="${webapp}/WEB-INF/lib/libjsp.jar" > > basedir="${webapp}/bin"/> > > > > <delete dir="${webapp}/jsp"/> > > <delete dir="${webapp}/bin"/> > > </target> > > <!--///////////////////////////////////////////////////////--> > > > > > > > ---------- > > > De: Hans Steinraht[SMTP:[EMAIL PROTECTED] > > > Responder: Tomcat Users List > > > Enviada: domingo, 14 de dezembro de 2003 14:03 > > > Para: [EMAIL PROTECTED] > > > Assunto: precompile jsp > > > > > > hi all, > > > > > > just a question, I'm trying to precompile my jsp with the ant build > > > script from the apache site ( jasper-howto). > > > I don.t now what is going wrong but when I execute it with: > > > ant -Dtomcat.home=/opt/jakarta-tomcat-4.1.24 > > > -Dwebapp.path=/opt/jakarta-tomcat-4.1.24/webapps/mywebapp > > > the message I receive is: > > > jspc: > > > No public no-arg constructor in class org.apache.jasper.JspC > > > BUILD FAILED > > > file:/jspc/build.xml:11: No public no-arg constructor in class > > > org.apache.jasper.JspC > > > > > > Ant idea what I'm doing wrong? > > > > > > Maybe interesting, I get the same error when I try to precompile with > > > the script from: > > > http://cvs.apache.org/~fhanik/precompile.html > > > > > > Any help is apreciated > > > Hans > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- > -------------------- > Hans Steinraht > Artofakt Internet Solutions > Binnenkadijk 120 > 1018 ZH Amsterdam > The Netherlands > [EMAIL PROTECTED] > Phone: +3120 638 4667 > Mobile: +316 45 202 302 > Fax: +3120 638 4667 > www.artofakt.com > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >