ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Vicente Nunez Zuleta <>
Subject How to use the <jspc> task with Sun jwsdp-1.2
Date Tue, 18 Nov 2003 03:31:18 GMT

I'm trying to use the jspc using the following definition:

<target name="compile-jsp" depends="war" description="Compiles the JSP
pages to catch compilation errors earlier">
  	<mkdir dir="${test.war.expanded.dir}"/>
 	<mkdir dir="${}"/>
	<mkdir dir="${test.war.expanded.dir.classes}"/>
	<unzip src="${war.warfile}" dest="${test.war.expanded.dir}"/>
	<jspc srcdir="${test.war.expanded.dir}"
		<include name="**/*.jsp"/>
	 		<path refid="path.classpath"/>
			<path refid="path.jasper"/>

But then, when i try to compile my JSP y got the following error:

     [jspc] Compiling 2 source
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized
option: -v0.  Use -help for help.
  [jasperc]     at org.apache.jasper.JspC.setArgs(
  [jasperc]     at org.apache.jasper.JspC.main(

Any ideas, like if I should use an specific jasper version?

Thanks in advance,

Jose Vicente Nunez Zuleta <>
Newbreak LLC

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message