I am trying the JspC with ANT 1.5 beta 3. Some feedback, then the latest problem.
1) I downloaded Tomcat 4.0.4 'cos that seemed best version '4' given the comment in the jspc page: By default the task uses the Jasper JSP compiler. This means the task needs jasper.jar and jasper-runtime.jar, which come with builds of Tomcat 4/Catalina from the Jakarta Tomcat project <http://jakarta.apache.org/tomcat/> 1.1) Nothing in the "Library Dependencies" seems to mention Tomcat, let along versions. 1.2) I could find a jasper-runtime.jar but not jasper.jar. I eventually added jasper-compiler.jar. 2) I was hoping for some consistency w/ <javac> so I copied that to start. I failed to give an internal <include> and the task crashed with NullPointer exception in the file scanning area. 3) I shouldn't waste folks time on the fast I tried <JspC not <jspc and it didn't work, 'cos I guess most Ant folks know better than use the task "title" as the name, just not me... 4) Things started to work, sorta. <jspc srcdir="${src}" destdir="${build}/${openbiz.part}" package="com.openbiz.jsp" verbose="9" classpathref="project.class.path" > <include name="**/*.jsp" /> </jspc> and got. [java] java.lang.NullPointerException [java] at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml (TldLocationsCache.java:169) [java] at org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocati onsCache.java:145) [java] at org.apache.jasper.JspC.parseFiles(JspC.java:712) [java] at org.apache.jasper.JspC.main(JspC.java:742) [java] Exception in thread "main" BUILD FAILED E:\data\OpenBiz\wwwroot\build.xml:237: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110) at org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execute( JasperC.java:126) at org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.ja va:458) at org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:422 ) at org.apache.tools.ant.Task.perform(Task.java:317) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:334) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.Main.runBuild(Main.java:606) at org.apache.tools.ant.Main.start(Main.java:195) at org.apache.tools.ant.Main.main(Main.java:234) Could this be 'cos my pages use taglibs? [I am not sure which one it is trying, so I can't hack it out.] I tried adding a uriroot, but same result. Thanks in advance for any help. regards Adam -- Open Business Interchange: <http://www.openbiz.biz> The Revolutionary B2Bi Web Service ... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>