tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Gryszkalis ...@fork.pl>
Subject jasper ignoring jsp timestamp
Date Sun, 13 Jul 2003 22:00:52 GMT
Hi

I have small problem with jsp precompilation, it seems
that jsp compiler ignores timestamps (generated .java are
newer than .jsp) and always process all the .jsp. I found
one message in archive saying that it's expected behavior.
Is that true? And if so - why?

I use ant task to do the job:

<target name="compile-jsp" depends="init">
  <mkdir dir="${build.jsp.dir}"/>
  <mkdir dir="${build.jspc.dir}"/>
  <jspc
   destdir="${build.jsp.dir}"
   srcdir="${src.web.dir}"
   classpathref="jspc.path"
   mapped="false"
   uriroot="${basedir}"
   package="org.apache.jsp"
   verbose="0"
  >
   <include name="**/*.jsp" />
   <exclude name="**/_*.jsp" />
  </jspc>

  <javac
   destdir="${build.jspc.dir}"
   srcdir="${build.jsp.dir}"
  >
   <include name="**/*.java" />
  </javac>
</target>


and


     <path id="jspc.path">
         <path refid="jc.path"/>
         <fileset dir="${tomcat.home}/common/lib/" includes="*.jar" />
     </path>

-- 
Marcin Gryszkalis
http://fork.pl
<><


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