You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/01/18 15:18:56 UTC
DO NOT REPLY [Bug 25345] -
jspc tag broken with new version of jasper
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345
jspc tag broken with new version of jasper
------- Additional Comments From josevnz@newbreak.com 2004-01-18 14:18 -------
I got the same problem when using it with Sun jwsdp-1.3, Sun Java (build
1.4.2-b28 and ant 1.5:
validate-xml:
[xmlvalidate] 1 file(s) have been successfully validated.
compile-jsp:
[jspc] Compiling 2 source files/home/josevnz/sourceforge/cvebrowser/test/jsp
[jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v0.
Use -help for help.
[jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:306)
[jasperc] at org.apache.jasper.JspC.main(JspC.java:230)
My jspc task:
<target name="compile-jsp" description="Precompiles the JSP pages in order to
catch errors early, before deploying the XXXX web app." depends="validate-xml">
<jspc srcdir="${web}" destdir="${test}/jsp" classpath="${path.classpath}"
compiler="jasper41">
<exclude name="**/CVS"/>
<include name="**/*.jsp" />
</jspc>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org