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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
