ant-user mailing list archives

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

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="${test.war.expanded.java}"/>
	<mkdir dir="${test.war.expanded.dir.classes}"/>
	<unzip src="${war.warfile}" dest="${test.war.expanded.dir}"/>
	<jspc srcdir="${test.war.expanded.dir}"
destdir="${test.war.expanded.java}">
		<include name="**/*.jsp"/>
		<classpath>
	 		<path refid="path.classpath"/>
			<path refid="path.jasper"/>
		</classpath>
	</jspc>
	
	
 </target>


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

     [jspc] Compiling 2 source
files/home/josevnz/sourceforge/cvebrowser/test/war/java
  [jasperc] error:org.apache.jasper.JasperException: Unrecognized
option: -v0.  Use -help for help.
  [jasperc]     at org.apache.jasper.JspC.setArgs(JspC.java:282)
  [jasperc]     at org.apache.jasper.JspC.main(JspC.java:210)

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

Thanks in advance,

JV
-- 
Jose Vicente Nunez Zuleta <josevnz@newbreak.com>
Newbreak LLC


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message