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.

Just want to clarify, do you mean I should add this inside the
'./jakarta-tomcat-5.0.28/bin/catalina.xml' file yes?

Also, I'd need to change the fileset include since I'm using tomcat right?

Thank you :)

Vica


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to