I don't know if the official build for 4.1.22/23 is done - but it would be nice if we could include this fix for jspc.
I don't know any other way to compile an app using struts. Remy - were you able to precompile /admin for 4.1.23 ? Do you plan to include it precompiled, or the old way ? Costin [EMAIL PROTECTED] wrote: > costin 2003/03/17 12:53:40 > > Modified: jasper2/src/share/org/apache/jasper Tag: tomcat_4_branch > JspC.java > Log: > I don't know if this can make it into the release - but I can't get jspc > to work as an ant task without this. > The problem is that struts is using the thread class loader to locate > some classes at compile time ( which is correct ), and we don't have it > set. > > Feel free to revert if it causes any problem or if you have a better > solution. > > Revision Changes Path > No revision > > > No revision > > > 1.12.2.6 +4 -3 > jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java > > Index: JspC.java > =================================================================== > RCS file: > /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v > retrieving revision 1.12.2.5 retrieving revision 1.12.2.6 > diff -u -r1.12.2.5 -r1.12.2.6 > --- JspC.java 7 Mar 2003 09:09:37 -0000 1.12.2.5 > +++ JspC.java 17 Mar 2003 20:53:39 -0000 1.12.2.6 > @@ -773,6 +773,7 @@ > initServletContext(); > > initWebXml(); > + Thread.currentThread().setContextClassLoader( > this.getClass().getClassLoader() ); > > Enumeration e = pages.elements(); > while (e.hasMoreElements()) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]