Does anyone recognize why the JspC task will fail like this?

Z:\MyProject\config>build jsps
Buildfile: build.xml

jsps:
     [jspc] Compiling 361 source files Z:\MyProject\binaries\jsps\src
     [java] java.lang.NullPointerException
     [java]     at java.io.File.<init>(File.java:194)
     [java]     at org.apache.jasper.JspC.parseFiles(JspC.java:487)
     [java]     at org.apache.jasper.JspC.main(JspC.java:649)
     [java] Exception in thread "main"

BUILD FAILED
file:Z:/MyProject/config/build.xml:97: Java returned: 1

My jspc task looks like this:

  <jspc 
        srcdir="${web.dir}"
        destdir="${build.jsps.src}"
        verbose="1"
        package="">
    <include name="**/*.jsp" />
    <classpath refid="build.classpath"/>
  </jspc>

where classpath includes the jsp.jar from the IBM WebSphere 4.0.4 packaging
of Jasper.

Sten Rosendahl ([EMAIL PROTECTED])
IMI Industri-Matematik International - THE ORDER COMPANY
 

Reply via email to