ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edson Alves Pereira <>
Subject jspc task error
Date Mon, 08 Dec 2003 14:43:56 GMT
  Hello folks, i´ve just create this snapshot:

	<target name="compilarPaginasJSP"
		<jspc	srcdir		="${src}/jsp"
			destdir		="${webapp}/jsp"
			verbose		="9"
			package	="org.apache.jsp"
			classpathref	="base-path">
			<webapp basedir="${src}"/>

  And the code above produces this error:

     [jspc] Compiling 26 source filesD:\tmp\osctrl-app\jsp\org\apache\jsp
  [jasperc] 2003-12-08 11:35:15 - uriRoot implicitly set to
  [jasperc] 2003-12-08 11:35:16 - ERROR-the file
 generated the following general exception: java.lang.NullPointerException
  [jasperc] error:org.apache.jasper.JasperException: Error compiling
  [jasperc]     at org.apache.jasper.JspC.processFile(
  [jasperc]     at org.apache.jasper.JspC.execute(
  [jasperc]     at org.apache.jasper.JspC.main(

  If i write this in my terminal, every thing goes right.

$java org.apache.jasper.JspC -dd /tmp/osctrl-app/jsp -p org.apache.jsp
-webapp /usr/local/apachegroup/tomcat4.1.24/webapps/osctrl-app -compile

  Any idea? Is this a bug? Should I take its code and fixed?

  Best regards,

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