ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Anant Joshi" <amitanant_jo...@infosys.com>
Subject problem in precompilation of jsps
Date Mon, 30 Aug 2004 03:43:52 GMT
Hi,
 
            I am trying to precompile jsps using ant tool. I am facing
the following problem for the same.
            
Regards,
Amit                                                                 
 
Portion of Build xml for ant: : 
 
            <target name="jspcompile" description="To compile the
jsps.">
                        <jspc srcdir="C:\Build\screens" verbose="1"
destdir="C:\Build\Output\" classpathref="classpath" compiler="jasper"/> 
                        <include name="**/*.jsp" />
                        <echo message="Jsp compilation done." /> 
            </target>
 
Error::
 
java.lang.NullPointerException
            at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.isCompileNeeded(JspC.jav
a:535)
            at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.scanDir(JspC.java:509)
            at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:424)
            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:610)
            at org.apache.tools.ant.Main.start(Main.java:196)          
            at org.apache.tools.ant.Main.main(Main.java:235)
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message