ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bleasdale, Bruce" <>
Subject Ant <jspc> compilation and multiple directories
Date Mon, 07 Apr 2003 16:06:36 GMT
Hey all, 

I have been using the jspc ant task and the script to compile jsps
into class files. However I have run into an issue that many others seem to
as well. If I have jsps such as: 


They both get turned into and both have the same class name
and are in the same package. 

This is not the behavior of tomcat. Obviously tomcat must feed jasper/jspc
with a class name as its requests come in and it compiles jsps, but both the
jspc ant task and the script seem to be pretty useless if you have
anything other than a really simple single directory of jsp files. 

Surly I am missing something, since it seems that either this is a problem
that so many others would have run into before or jspc is just not the tool
to use for pre-compiling jsps in a production environment. 

If I am not missing something, what work arounds do people typically
implement to allow multiple directories of jsps to be compiled correctly?


Bruce Bleasdale

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message