Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 67521 invoked from network); 21 Aug 2002 10:28:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Aug 2002 10:28:03 -0000 Received: (qmail 12044 invoked by uid 97); 21 Aug 2002 10:28:39 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 12028 invoked by uid 97); 21 Aug 2002 10:28:38 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 12017 invoked by uid 50); 21 Aug 2002 10:28:38 -0000 Date: 21 Aug 2002 10:28:38 -0000 Message-ID: <20020821102838.12016.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 11891] New: - JspC does not work for webapps X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11891 JspC does not work for webapps Summary: JspC does not work for webapps Product: Tomcat 4 Version: 4.1.9 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper 2 AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: gregw@mortbay.org I have tried this for jasper2 from the 4_1_9 tag and from cvs head (2002/08/21). For a simple webapp with JSPs in subdirectories, a command like: java org.apache.jasper.JspC -d gensrc -webapp webapp creates all the java files in the top directory of gensrc. Any subdirectories in the webapp are created - but they are all empty. If you have index.jsp in each subdirectory - then you only get a single index.jsp in the top level of gensrc. For a more complex webapp, the name mungling gets totally confused. I have not been able to reproduce this on a small simple webapp - so these reports are for my real webapp. Using the same JspC command line about I get the following error message: 2002-08-21 11:24:38 - The file argument '/home/gregw/Clients/Cisco/vob/ssd.icotton-GRWILKIN/nwsp/webapp/wap/pages/accountLogon.jsp' does not exist error:/home/gregw/Clients/Cisco/vob/ssd.icotton-GRWILKIN/nwsp/webapp/wap/pages/accountLogon.jsp However that file does exist. More over if I look in the gensrc directory it has created an empty directory called: gensrc/home/gregw/Clients/Cisco/vob/ssd.icotton-GRWILKIN/nwsp/webapp/wap/pages Somehow it has got the absolute file path of the webapp /home/gregw/Clients/Cisco/vob/ssd.icotton-GRWILKIN/nwsp/webapp into the package path? I have tried running JspC with default paths and absolute paths. Same results. -- To unsubscribe, e-mail: For additional commands, e-mail: