Cocoon wrote:

If I then use the -classpath:
javac -classpath .;C:\jakarta-tomcat-4.1.24\webapps\cocoon\WEB-INF\lib\cocoon-xmlform-block.jar HowtoWizardAction.java
I get several messages sarting with:
cannot access org.apache.avalon.excalibur.pool.Poolable
file org\apache\avalon\excalibur\pool\Poolable.class not found

You need more than only the xmlform block in your classpath, but all Cocoon libs. Using Ant, this might be easier than the commandline:


  <property name="build.classes" value="${build}/classes" />
  <property name="cocoon.lib" value="${cocoon.webapp}/WEB-INF/lib" />

  <path id="build.cp">
    <pathelement path="${build.classes}" />
    <path>
      <fileset dir="${cocoon.lib}" includes="**.jar" />
    </path>
  </path>

  <target name="compile" depends="init">
    <javac srcdir="${src.java}" destdir="${build.classes}"
           debug="true" classpathref="build.cp" />
  </target>

You might take a look at http://wiki.cocoondev.org/Wiki.jsp?page=YourCocoonBasedProject which describes how you can set up a Cocoon-based project.

HTH,

</Steven>
--
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at            http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org                stevenn at apache.org


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



Reply via email to