You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Arvind Gudipati <Ar...@PANACYA.com> on 2002/05/15 17:39:10 UTC

JSPC bug with pacakge option

Seems like im hitting a bug in the class
org.apache.jasper.JspC

When i run the jspc without any package specified it works fine.
However when i specify the package with option "-p jsp" i get .java files
for each .jsp files created with package specified as "package jsp.;", and
this fails to compile as it is not valid java file.

Im using tocmat 4.0.3 release build and following is the command im using to
precompile my jsp files

c:\jdk1.3.1\bin\java -classpath
..\lib\catalina.jar;..\lib\jasper-runtime.jar;..\lib\jasper-compiler.jar;..\
lib\xerces.jar;..\lib\tomcat-util.jar;..\lib\servlet.jar;..\lib\servlets-com
mon.jar;..\lib\bootstrap.jar;..\build\dist\common.jar;..\build\dist\baware.j
ar org.apache.jasper.JspC -d .\temp -p jsp -webxml
./java/webapps/dpserver/WEB-INF/web.xml -webapp ./java/webapps/dpserver
****************************************************************************
*************                                 This E-mail is from PANACYA
Inc. The E-mail and any files transmitted with it are confidential and may
also be privileged and intended solely for the use of the individual or
entity to whom they are addressed. Any unauthorized direct or indirect
dissemination, distribution or copying of this message and any attachments
is strictly prohibited. If you have received the E-mail in error please
notify administrator@panacya.com or telephone (410) 910-3300.
****************************************************************************
************