David, I suspected the same thing, so I double checked my download. It's the *.zip (39,184,340 12-16-03 10:59p cocoon-latest-src.zip). Still, I had to correct the batch files. I don't know why that hit me and not others. Maybe other versions of Windows deal with it better. There are two other strange things I needed to do to make cocoon work in my Windows 98 installation: Building the compile (default) target didn't create the webapps directory. I built the war target and that did it. Also, if I run "cocoon servlet" twice in the same DOS window, it hangs the second time. Turning on echo in the batch file showed that it jumps to the wrong label on subesquent runs of the batch file in the same window (batch file code and output shown below). The work around is to run from a new shell window each time I want to restart cocoon.
Windows 98 is weird. Thanks to all, John +++++++++++++++++++++++++++++++++++++ fragment of altered cocoon.bat: +++++++++++++++++++++++++++++++echo 1 if not "%JETTY_PORT%" == "" goto gotJettyPort echo 2 set JETTY_PORT=8888 :gotJettyPort echo 3 if not "%JETTY_ADMIN_PORT%" == "" goto gotJettyAdminPort echo 4 set JETTY_ADMIN_PORT=8889 :gotJettyAdminPort echo 5 +++++++++++++++++++++++++++++++++++++ output: ++++++++++++++++++++++ C:\cocoon-2.1.3>echo 1 1 C:\cocoon-2.1.3>if not "8888" == "" goto gotJettyPort C:\cocoon-2.1.3>echo 3 3 C:\cocoon-2.1.3> C:\cocoon-2.1.3>if not "8889" == "" goto gotJettyAdminPort C:\cocoon-2.1.3>echo 3 3 C:\cocoon-2.1.3> C:\cocoon-2.1.3>if not "8889" == "" goto gotJettyAdminPort C:\cocoon-2.1.3>echo 3 +++++++++++++++++++++++++++++++++++++++++++++++++++ It repeats going to gotJettyPort when it should go to gotJettyAdminPort forever. But only if I've run and halted (with <ctrl>c) "cocoon servlet" in that window before. John > Regarding the line-endings issue, it sounds like you have > mistakenly downloaded the UNIX distribution (*.tar.gz) rather > than the Win dist (*.zip). > > --David > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
