On Thu, 2005-01-06 at 13:42 -0800, Doug Cutting wrote: > Did you run 'ant war' to re-generate the war file with the new html? > You'll then need to restart your servlet container with the new war > file. With Tomcat, at least, you also need to remove the old unpacked > copy of the war file contents in the webapps directory each time you > update the war file in order to force it to unpack the new version.
Here's the 'rebuild' script I use for this: #!/bin/sh set -e date trap 'date' 0 ant war sudo rm -rf /var/lib/tomcat4/webapps/ROOT /var/lib/tomcat4/webapps/ROOT.war sudo cp build/nutch-0.6-dev.war /var/lib/tomcat4/webapps/ROOT.war cd censored-crawl-directory sudo /etc/init.d/tomcat4 restart ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers
