I downloaded and compiled the jspc task. It worked just fine, *except* it put all the .java files derived from the .jsp files in a single directory.
Now suppose you use the same name for different .jsp files, i.e. you have many index.jsp files in various directories within the srcdir path. This means that only the last index.java will be left in the destdir (all others being silently overwritten). Can jspc be instructed to create sub-directories, or to rename duplicated files? Is there a work-around for this other than ensuring that every jsp has an unique name? Steve Loughran wrote: ><jspc> ; in CVS and nightly builds as it was added after ant 1.4.1 > >----- Original Message ----- >From: "Guillermo Labatte" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, January 14, 2002 06:23 >Subject: Is there a task to precompile JSPs with tomcat? > >>I would like to compile all my JSPs using tomcat. >> >>I have found an optional ant task (wljspc), but it seems to work with >>the weblogic jsp compiler only. >> >>Does anyone know of a similar ant task that uses the Tomcat compiler? >> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
