I don't claim to be an Ant master but from first look, Ant appears doing exactly what you have told it to do. You may want to look at the jspC task documentation in the Ant manual. Additionally, I believe destdir attribute is required, even if you specify uribase attribute.
See: http://ant.apache.org/manual/OptionalTasks/jspc.html --- Massimo Ferrari <[EMAIL PROTECTED]> wrote: > Hello, > I'm trying to precompile my jsps with the JspC ant task. > The problem ist that jspc ignores my jsps directory structure when it > generates the servlet files: the files are flattened. > > <taskdef classname="org.apache.jasper.JspC" name="jasper2" > classpathref="jspc.classpath"> > </taskdef> > > <jasper2 > package="jsps" > validateXml="false" > uriroot="${app.home}/web" > webXmlFragment="${app.home}/generated_web.xml" > outputDir="${app.home}/jsps" /> > > All the jsps are generated to ${app.home}/jsps. Jsps with the same > name > but originally in different folders are overwritten. > Thank you for any help! > Massimo > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]