On Thursday 09 September 2004 21:17, Yann Cebron wrote:
> Hi,
>
> I deployed my applications on TC5.5.1 and can't get any *.tag-files
> working anymore.
> My applications run fine on 5.0.28, tried w/ nightly build 20040908 -
> still no luck.
I'm having the same problem with 5.5.1 on Linux (see Subject: "JSP
on-server compilation: classpath problem?", no replies, unfortunately).
I don't have a solution, only a workaround. For me it works to
precompile JSP documents before deploying. See the excerpt from my
build.xml below
Michael
<path id="jasper.classpath">
<fileset dir="${tomcat.home}/bin">
<include name="*.jar"/>
</fileset>
<fileset dir="${tomcat.home}/server/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${tomcat.home}/common/endorsed">
<include name="*.jar"/>
</fileset>
<fileset dir="${tomcat.home}/common/lib">
<include name="*.jar"/>
</fileset>
</path>
<taskdef name="jasper2" classname="org.apache.jasper.JspC">
<classpath refid="jasper.classpath"/>
</taskdef>
<target name="compile.jsp" depends="compile,jspc">
<javac destdir="${classes.home}"
encoding="UTF-8"
optimize="${compile.optimize}"
debug="${compile.debug}"
failonerror="true"
srcdir="${build.home}/WEB-INF/src"
excludes="**/*.smap">
<classpath>
<pathelement location="${classes.home}"/>
<path refid="compile.classpath"/>
<path refid="jasper.classpath"/>
</classpath>
<include name="**"/>
<exclude name="tags/**"/>
</javac>
</target>
<target name="jspc" depends="prepare">
<mkdir dir="${build.home}/WEB-INF/src"/>
<jasper2
validateXml="false"
compile="false"
uriroot="${build.home}"
webXmlFragment="${build.home}/WEB-INF/generated_web.xml"
addwebxmlmappings="true"
outputDir="${build.home}/WEB-INF/src" />
</target>
--
Michael Schuerig Nothing is as brilliantly adaptive
mailto:[EMAIL PROTECTED] as selective stupidity.
http://www.schuerig.de/michael/ --A.O. Rorty, The Deceptive Self
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]