ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: Tomcat JSPC Precompile using Ant - unique jsp name problem
Date Thu, 03 Apr 2003 17:54:18 GMT
johannes.fiala@fwd.at wrote:
> hi there,
> 
> I've searched the whole forum but haven't found any definitive answer on 
> this issue;
> 
> If somebody runs JSPC using ANT to precompile all the JSPs, the precompile 
> fails if any of the JSPs in  different directories has the same name. 
> 
> /jsp/mydir1/index.jsp
> /jsp/mydir2/index.jsp
> ==> JSPC fails with a quite confusing error message, which boils down to 
> not having unique JSP names.
> 
> Uniquely naming all JSPs is probably not an option because index.jsp is 
> quite convenient.
> ==> I've also scanned the Tomcat 4.1.24 release notes, but haven't found a 
> fix there.
> 
> Does anybody know how to fix this JSP naming problem??
> 
> Thx alot
> Johannes

As it stands, this is a known and outstanding defect. Jasper is 
compiling everything in to one directory, and we'll probably have to do 
something in <jspc> to circumvent it.

If you have ant1.5.2, try building the jsps using the webapp option.


Mime
View raw message