When I compile my webapp with JspC from tomcat 4.1.7b it sores all the files
in the directory specified by -d option regardless of the application
directory structure.
I have to mention that the directories are created correctly but they are
empty and the files that belong to them are stored in the root directory.
As a result if there are JSP files with the same name in different
subdirectories they'll override each other.
One more thing - since all resulting java files are under package
org.apache.jsp the produced web.xml is not correct and have duplicated
elements.
Note that the JspC from tomcat 4.0.3 was placing the files under correct
packages and subdirectories.

JspC parameters used: 
java -ms128m -mx128m \
-Djava.endorsed.dirs=... \
-classpath ... \
-Djasper.home=... org.apache.jasper.JspC \
-v6 -d ../jspc -webinc ../jspc/web.xml -webapp .

Note the -d option (it is not started with -dd)!
Also it looks like the usage of -v option doesn't change anything.

Regards,
Rossen

---
Rossen Raykov
COGNICASE U.S.A. Inc.
(908) 860-1100 Ext. 1140
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to