I wish I could send you a nice ant task to do it automagically - I haven't got one.
I can send you this though. I have just fixed up the JBoss website to precompile JSPs. This is a diff showing the code I added to the build.xml http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website/content/build.xml.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h and this is a diff showing what I added to the web.xml http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website/content/src/resources/content-war/WEB-INF/web.xml.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h The comment line in the web.xml MUST be after the last <servlet/> and before the first <servlet-mapping/> directive. JspC will generate some xml <servlet/> and <servlet-mapping/> elements which I substitute in at this comment. The rest you will have to figure out for yourself - it is well commented. You will probably not need some of the workarounds I have had to retrofit..... This took me quite a while to work out, but now that it is there for everyone to see, it should be relatively easy to figure out what is going on. Good luck, come back to me if you have no joy. Jules Jonathan.O'[EMAIL PROTECTED] wrote: > > Jules, > Your answer is truly socratic! What we really want to do is to > pre-compile the JSPs before deployment and check for syntax errors. Our > build-deploy-test cycle is slow enough as it is without adding syntax > errors in our JSP to the pot. > > We are moving over from netbeans to Eclipse, so any IDE support/plugin > would be great. Or even better, an ant task would be just perfect! > Ciao, > Jonathan O'Connor > Ph: +353 1 872 3305 > Mob: +353 86 824 9736 > Fax: +353 1 873 3612 > > > *Jules Gosnell <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 02.07.2002 18:17 > Please respond to jboss-user > > > To: [EMAIL PROTECTED] > cc: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Where does Jetty store its > compiled JSPs? > > > > > This would go better on [EMAIL PROTECTED] > > I'd have to counter with a question... > > Why do you want know ? > > > Wherever it stores them is proprietary implementation and not defined by > the spec. Therefore the implementation probably reserves the right to > change this. > > If you want to write JSPs into a deployed dir, deploy your war unpacked > into JBoss' deploy/ dir (e.g. my.war/...). > > If you really want to see what Jasper (Jetty's JSP engine) is doing, > look in /tmp for directories that begin "Jetty". > > If you want to know how to precompile your JSPs, so you can check all > this in your development iteration, let me know and I will tell you how. > > Does that cover it ? > > Jules > > > > Jonathan.O'[EMAIL PROTECTED] wrote: > > > > Folks, > > I have a feeling that the answer to this is "It doesn't", but if anyone > > knows better please let me know. > > Thanks, > > Jonathan O'Connor > > Ph: +353 1 872 3305 > > Mob: +353 86 824 9736 > > Fax: +353 1 873 3612 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
