----- Original Message ----- From: "Guillermo Labatte" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 06:48 Subject: Re: Is there a task to precompile JSPs with tomcat?
> 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). I know. see the bug I filed on that very problem. Also it doesnt understand about name conversions; jasperc has to rename things so you can create files with names that are not valid as java class names. (like "class.jsp" or "space text.jsp") > 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? I should check in some changes I have made to it which dont fix this problem per se, but let you hand the entire webapp off to jasper and let it do with it what it wants. I'll do this before the weekend; remind me if it hasnt happened by then -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
