Victoria Vitaver wrote:
.. my problem now is that I'm trying to compile it but cant seem to get
the -classpath quite right (tried having a look at ant .. but can't
follow it fully).
oh, one more thing. there is a ant target in 1.4 to precompile xsp:
<!-- The XSP compilation target -->
<target name="compile-xsp" depends="tests.prepare"
description="Compile the XSP sources">
<mkdir dir="${build.dir}/work"/>
<java classname="org.apache.cocoon.bean.XSPPrecompileWrapper">
<arg value="-c${build.webapp}"/>
<arg value="-w${build.dir}/work"/>
<classpath>
<pathelement path="${build.webapp}/WEB-INF/classes"/>
<fileset dir="${build.webapp}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="tools/jetty/lib">
<include name="servlet-2.3.jar"/>
</fileset>
</classpath>
</java>
</target>
you might want to use that (just get the necessary classes from 1.4). i
added that to catch XSP errors at compile time, not runtime.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]