I've compiled Cocoon using Java 1.5 on Windows Xp Sp1 it wasn't an
easy task but I did it and these are the steps I took to do it.

-checkout the current release of cocoon 2.2 dev

-I applied the patch @ http://issues.apache.org/bugzilla/show_bug.cgi?id=33189

-then I did a search and replace for all the keyword enum to
enumeration in all the cocoon files including the blocks.

-one of the common jar files that came with cocoon,
commons-lang-2.0.jar.lang had a package that contained the keyword
enum so I had to recompile that package using jdk 1.5 and change the
file ./src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java
the line that says import org.apache.commons.lang.enums.ValuedEnum;
change to import org.apache.commons.lang.enumeration.ValuedEnum;

-if you would like to download the jar that I complied for the
commons-lang-2.0.jar I have made available on my ftp @
ftp://24.69.55.133/commons-lang-2.0.jar replace the one in
src/lib/core/commons-lan-2.0.jar with this one

-I could not get the slide block to work because I couldn't find the
package org.cocoon.slide.*

hope this helps.

Now I can deploy my webapps on Tomcat 5.5 yay

Thanks, Dominique

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

Reply via email to