tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@lexmark.com
Subject JASPER always recompiles
Date Wed, 12 Nov 2003 18:06:14 GMT

Hi,

I have an ANT script which builds my webapp.

Before changing to the new JASPER, we could run the rebuild target, and it
would only precompile the JSPs that had changed.  However, since then, it
always re-precompiles ALL JSPs no matter what.

Does anyone have any ideas why, and how to fix it?

cheers,

David


ANT snippet:

  <target name="jspc">
    <jspc srcdir="${src}\jsp\user"
          destdir="${build.home}\java"
          package="user"
          verbose="3">
      <include name="**/*.jsp" />
      <classpath>
        <pathelement location="${tomcat.home}\common\lib\jasper-runtime.jar"/>
        <pathelement location="${tomcat.home}\common\lib\naming-factory.jar"/>
        <pathelement location="${tomcat.home}\common\lib\jasper-compiler.jar"/>
        <pathelement location="${tomcat.home}\common\endorsed\xercesImpl.jar"/>
        <pathelement location="${tomcat.home}\common\endorsed\xmlParserAPIs.jar"/>
        <pathelement location="${tomcat.home}\common\lib\servlet.jar"/>
        <pathelement location="${tools.home}\ant\ant.jar"/>
        <pathelement location="${src}\jsp\WEB-INF\lib\struts.jar"/>
        <pathelement location="${build.home}\classes"/>
      </classpath>
    </jspc>
</target>



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


Mime
View raw message