This is the process to upgrade Forrest libraries. See also forrest/etc/cocoon_upgrade/README.txt
1) Get stable repositories for Cocoon + others.
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r RELEASE_2_1_5 cocoon-2.1
wget http://www.apache.org/~andyc/neko/nekodtd-latest.zip; unzip nekodtd-latest.zip;
wget http://www.apache.org/~andyc/neko/nekostyle-latest.zip; unzip nekostyle-latest.zip;
2) Select some Cocoon Blocks:
in the top-level of Cocoon:
- cp blocks.properties local.blocks.properties
Make sure that these blocks (and their dependencies) are available: asciiart, batik, chaperon, fop, html, linkrewriter, lucene, profiler, xsp
3) Edit local.build.properties
in the top-level of Cocoon:
- cp build.properties local.build.properties
Exclude the documentation, javadocs, webapp samples
4) Build Cocoon
- cd ../cocoon-2.1/; build.sh
5) Modify upgrade_cocoon_jars.sh
Be sure that COCOON_VERSION, NEKODTD_VERSION, NEKOPULL_VERSION, JARSUFFIX and UPGRADE_TYPE are correct.
6) FOP and Batik We are using batik.jar from Fop 0.20.5 so remove cocoon's:
- rm batik-all-1.5.jar
7) Jing Download from: http://www.thaiopensource.com/relaxng/jing.html use bin/jing.jar
8) JTidy Download from: http://jtidy.sourceforge.net/index.html
9) Jetty Download from: http://jetty.mortbay.org/jetty/ Use the version under extra/jdk1.2 so it works with jdk 1.3 Modify classes/org/mortbay/jetty/servlet/webdefault.xml removing the jsp references.
Interesting links: http://cocoon.apache.org/2.1/installing/jars.html