From: Michael S. <sta...@us...> - 2005-10-19 23:59:32
|
Update of /cvsroot/archive-access/archive-access/projects/wera/src/webapps/arcretriever/WEB-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2257/src/webapps/arcretriever/WEB-INF Modified Files: web.xml Log Message: Implementation of '[ 1246834 ] Move arc path to retreiver (WAS Path...lib/seal/nutch.inc)' * project.xml Up the version number to be 0.4.0. * src/java/no/nb/nwa/retriever/AID.java Formatting. Make it so it adds '.arc.gz' if not present on passed arc file. * src/java/no/nb/nwa/retriever/ARCRetriever.java Read arcdir from servlet init-parameters. Formatting. * src/webapps/arcretriever/index.jsp Updated desription of this webapp. * src/webapps/arcretriever/WEB-INF/web.xml Added init-param arcdir. * src/webapps/wera/lib/config.inc * src/webapps/wera/lib/config.inc.template Moved arc dir out to arcretriever. Index: web.xml =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/webapps/arcretriever/WEB-INF/web.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** web.xml 5 Oct 2005 21:22:52 -0000 1.2 --- web.xml 19 Oct 2005 23:59:22 -0000 1.3 *************** *** 7,18 **** <description>ArcRetriever module for wera</description> - <context-param> - <param-name>ArcRetrieverConfig</param-name> - <param-value>WEB-INF/arcretriever.properties</param-value> - <description>The location of the ARCRetriever properties file</description> - </context-param> <servlet> <servlet-name>arcretriever</servlet-name> <servlet-class>no.nb.nwa.retriever.ARCRetriever</servlet-class> </servlet> <servlet-mapping> --- 7,27 ---- <description>ArcRetriever module for wera</description> <servlet> <servlet-name>arcretriever</servlet-name> <servlet-class>no.nb.nwa.retriever.ARCRetriever</servlet-class> + <init-param> + <param-name>arcdir</param-name> + <param-value>arcs</param-value> + <description>Full path to directory of ARC files. + Be aware that changing this value in the web.xml of an + arcretriever sitting under a containers webapp directory + can prove frustrating. The container usually notices your + change then re-undoes the original WAR file overwriting your + edits. If you remove the WAR file version, the container will + subsequently 'cleanup' the lone webapp directory. + Best to unjar outside of the container webapp directory and + copy the unjarred WAR into the webapp dir. + </description> + </init-param> </servlet> <servlet-mapping> |