You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eric Wood <ew...@llbean.com> on 2003/12/19 18:45:32 UTC

Jscp error

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


Re: Jscp error

Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
Hi Eric,

I am not sure whether you are going to find much help on thelist.
It is also unclear whether it is an ant or a tomcat problem.

You might want to download both ant and tomcat source code and debug. 
Sorry, this does not sound very helpful but this is realistic.

On the tomcat-user lists there might be someone around who knows about 
this type of problems.

Cheers,
Antoine

Eric Wood wrote:

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



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