ant-dev mailing list archives

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

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

  And the code above produces this error:

compilarPaginasJSP:
     [jspc] Compiling 26 source filesD:\tmp\osctrl-app\jsp\org\apache\jsp
  [jasperc] 2003-12-08 11:35:15 - uriRoot implicitly set to
"D:\desenv\osctrl\sr
c"
  [jasperc] 2003-12-08 11:35:16 - ERROR-the file
'\jsp\alteracaoUsuarioNovo.jsp'
 generated the following general exception: java.lang.NullPointerException
  [jasperc] error:org.apache.jasper.JasperException: Error compiling
\jsp\altera
caoUsuarioNovo.jsp
  [jasperc]     at org.apache.jasper.JspC.processFile(JspC.java:596)
  [jasperc]     at org.apache.jasper.JspC.execute(JspC.java:801)
  [jasperc]     at org.apache.jasper.JspC.main(JspC.java:823)


  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,
  Edson

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