ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rosendahl Sten - stro <s...@im.se>
Subject JspC errors
Date Wed, 21 Aug 2002 17:53:02 GMT
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 (stro@im.se)
IMI Industri-Matematik International - THE ORDER COMPANY
 

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