In a command shell window, type the commands:
c: cd \ jar xf c:\install\cocoon-2.1.7-src.zipThis should create a directory called c:\cocoon-2.1.7
cd \cocoon-2.1.7 dir
The instructions for installation are in the file install.txt. So read this file.
You will see that you will need the JAVA_HOME variable to be set. Check that this is the case using:
echo %JAVA_HOME%
c:\Program Files\Java\jdk1.5.0_01
The instructions in the file install.txt suggest you now issue the commands:
cd \cocoon-2.1.7 build
After about a minute it starts to report things to the command shell window. It is creating a lot of files. You will see lines like:
Compiling 279 source files to C:\cocoon-2.1.7\build\cocoon-2.1.7\blocks\forms\destThis is making use of the Java compiler. It seems only to create files in subdirectories (of c:\cocoon-2.1.7) called tools and build. At another point it said:
Copying 5947 files to C:\cocoon-2.1.7\build\webapp\api\javaThat took a long time to execute!
I ignored the error messages that it produced as they didn't look too important.
When it finishes it says something like:
BUILD SUCCESSFUL Total time: 21 minutes 42 seconds