ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <ew...@llbean.com>
Subject Jscp error
Date Fri, 19 Dec 2003 17:45:32 GMT
I'm using the jasper jar files from tomcat-4.1.27 and ant.1.5.4. Any help would be greatly
appreciated. I'm trying to use the < jspc> task to check the validity of our JSPs that
have been checked into my project's clearcase integration stream as part of a continuous integration
process.

I'm getting the following error:

     [jspc] Compiling 1 source ./LLB_CMDs/build/jspc/java
  [jasperc] error:org.apache.jasper.JasperException: Error compiling /jsps/Activity.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)
  [jasperc] Java Result: 9

The snippet of my build.xml file is:

    <target name="validate_jsps" depends="init" >

        <mkdir dir="${build.jspc.java.dir}" />
        <mkdir dir="${build.jspc.classes.dir}" />

        <jspc
            srcdir="./jsps"
            destdir="${build.jspc.java.dir}"
            failonerror="false"
            uriroot="."
            compiler="jasper41" >


            <include name="**/*.jsp" />

            <classpath>
                <fileset dir="./lib" >
                    <include name="**/*.jar" />
                </fileset>
                <fileset dir="./LLB_SUPPORT">
                    <include name="**/*.jar"/>
                </fileset>
                <pathelement path="/usr/apache-ant-1.5.4/lib/ant.jar" />
            </classpath>

        </jspc>

    </target>


Eric Wood
ewood@llbean.com
207.552.2306


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


Mime
View raw message